LogoLogo
LanguageHomeContact Support
  • Introduction
    • Welcome to Mampu AI 🌟
    • Finding Answer/Get Support
    • Subscribing Plan
  • Getting Started
    • Introduction
    • Define Your Objectives
    • Building Your Chatbot
    • Sustaining Success
  • CHATBOT FOR BEGINNERS
    • Introduction
    • What is a chatbot?
    • Channels
    • Benefits & Importance
    • Use Cases
  • PLATFORM
    • Signing Up (Website and App)
      • Platform Overview
      • Dashboard Interface
      • Navigation
      • Change Language
    • Connect to Social Media Channels
      • Facebook
        • FB Engagement Ads Button Setup
      • Instagram
      • Normal WhatsApp vs WhatsApp Cloud
        • WhatsApp Cloud (WhatsApp API)
        • Normal WhatsApp (WhatsApp Business/Personal APP)
          • Reconnect WhatsApp Bot (Troubleshooting QR Code & Connection Issues)
        • Finding the receipt for conversational cost for WhatsApp API
      • Telegram
    • WebChat Widget
      • Web app installation using Custom User ID method
  • FLOW BUILDER
    • Bot Page Overview
    • Field Variable
    • Basic Block of Flow Builder
      • Advanced Action - External Request (Custom integration)
    • Sub Flows
      • Sub Flow
      • Workflow
      • Function Flow
  • Artificial Intelligence
    • OpenAI | ChatGPT
      • Temporary AI key
      • Getting new/permanent OpenAI key
      • FAQ AI (Embedding)
        • Adding Information (1 by 1 / batch)
        • Updating Information
        • Uploading Media
        • Including Media
        • How to Get the Best Results from Your AI Chatbot
        • Using embedding in AI
  • Users
    • Live Chat
      • Add New User
      • How to stop automation
      • AI Reply Assist for Live Agent
      • Assign Collaborator
    • Bot User
      • Bulk Import Users
  • Bot Automation
    • Keywords
    • Triggers
  • Contents
    • Create Custom user field & Usage
    • Tagging and Labelling
      • Creating Tags for Users
  • Tools
    • Error Logs
    • Tester
    • Admins
    • Quick Reply/Shortcut Reply
  • Broadcasting
    • General broadcast / Blasting
      • Creating WhatsApp Message Template for WhatsApp Official
  • Easy Guide to Build Chatbot
    • Premium Template
      • FAQ
      • Persuasion AI
        • Insert Info (Persuasion AI)
    • Recording AI Performance and Reporting
    • Notifying Group
      • Telegram Group
    • Intent (Yes/No) AI
  • Self onboarding
    • Self-Onboarding Guide
      • 1. Getting Started
      • 2. API and Integration Setup
      • 3. Integrating External Services
      • 4. Bot Configuration and Setup
      • 5. Finalizing Setup and Support
    • Basic AI Chatbot Tutorial
      • 1. Choosing Channel
      • 2. Creating a New Bot
      • 3. Installing Template
      • 4. Edit Template
      • 5. Getting AI API Key
      • 6. Testing the AI
  • Channel-Specific Automation Guide
    • Facebook
      • Facebook Post Comment Capture
      • How to Change Conversation Starter Message in Facebook Messenger (via Chatku AI)
  • Miscellaneous
    • Mampu AI Basement Parking
    • WHATSAPP ULTIMATE GUIDE
      • How to request for review to unban their account
      • How to warm up WhatsApp account
      • How to delete WhatsApp Account
Powered by GitBook

@ 2024 Mampu AI

On this page
  • Accessing the Knowledge Base
  • Utilizing Embeddings in a Workflow
  • Using the Master AI Flow
  • Setting Up the Request
  • Testing the Request
  • Saving and Using the Response

Was this helpful?

  1. Artificial Intelligence
  2. OpenAI | ChatGPT
  3. FAQ AI (Embedding)

Using embedding in AI

In this guide, we will explain how to generate an AI response using an embedding, also known as a knowledge base, within our platform.

PreviousHow to Get the Best Results from Your AI ChatbotNextLive Chat

Last updated 4 months ago

Was this helpful?

Accessing the Knowledge Base

  1. Find the Integration: On our dashboard, locate the integration for OpenAI.

  2. Locate Embeddings: Here you can add or edit embeddings. Please refer to our previous video for detailed instructions on modifying embeddings.

Utilizing Embeddings in a Workflow

Using the Master AI Flow

  1. Add an Action: Go to the master AI flow we shared previously and add an action.

  2. Select Integration: Under "add action", choose the integration with OpenAI.

  3. Edit the Action: Select embedding match and completion as the action to perform.

Setting Up the Request

  • Input: Use an initial input, such as "hi".

  • Introduction: Provide context to the AI and instructions, for example, "You are a helpful assistant."

  • Type: Ensure it matches the type for the embeddings you've added. You may leave this empty if you have a single type.

  • Maximum Response Length: Set this according to your requirements.

Testing the Request

  • Test Request: Press the test request button to initiate the process.

  • AI Processing: The AI will use the provided input to search for relevant information within the knowledge base.

  • Generating Response: Based on the retrieved information, the AI will generate a completion as the output for the user.

Saving and Using the Response

  • Save the Output: Follow the logic used previously, save the generated completion.

  • Review Questions: Ensure that questions relate back to the AI appropriately for consistency.

Embedding Match Explanation

The embedding match function operates similarly to a query response. However, the AI strictly fetches relevant information for potential future usage. For instance, you may want to save this information for creating a custom check completion in the future.