AI node - GPT Knowledge Base
Discover how to customize and utilize the GPT model for specific tasks within Gallabox with the GPT Knowledge Base feature. Tailor interactions, store information, and fine-tune conversations.
Last updated
Discover how to customize and utilize the GPT model for specific tasks within Gallabox with the GPT Knowledge Base feature. Tailor interactions, store information, and fine-tune conversations.
Last updated
The GPT Knowledge Base feature facilitates the customization and utilization of GPT model for specific tasks within Gallabox. Users can define input variables, create or select variables to store history, and configure various parameters to fine-tune the conversation providing flexibility in tailoring interactions and storing relevant information for future use.
The Node contains the below sections:
Input Variable: Users can choose or create variables to serve as input for interacting with the GPT model.
Select or Create Variable to Store History: This allows users to manage the history of interactions by selecting or creating variables. Variable names should adhere to specific guidelines.
Knowledge Base: Users can select the knowledge base to instruct the GPT model on specific information or context.
Prompt: Users describe their goal or the context in which they want the GPT-model to provide information. The prompt serves as input to the model.
Max Tokens: Max Tokens determine the maximum number of tokens that the GPT-model can use in its response.
Temperature: The temperature setting controls the randomness of the AI responses. A higher value, like 0.8, makes the responses more unpredictable and creative. A lower value, such as 0.2, makes the responses more focused and closely related to the prompt.
Function: Users define a function by entering a name and description. This function encapsulates the purpose or task the GPT-model is intended to perform.
Store the Parameters in the Variable (Optional): Optionally, users can create or select variables to store the parameters used in the GPT Knowledge Base configuration.
Parameter 1: Users define a specific parameter by providing a name, description (optional), and type (e.g., String).
To start with the GPT Knowledge Base Node, you have to create a Knowledge Base in your Gallabox Account.
The knowledge Base can be either a File Type (Pdf, csv, excel) or Catalog that you connected with your WhatsApp Number on Gallabox.
Use the Shortcut "Ctrl" + "K" to open the Search in Gallabox. Type Knowledge Base and click on it.
Click on "+Create Knowledge Base" and Name the Knowledge Base.
You have to choose the Type whether you would like to upload a file or use already connected catalogue with your WhatsApp Number.
If you choose the Type as File, you can upload the pdf or csv or an excel file as the Knowledge Base.
If you choose the Type as Catalog, you have to choose the WhatsApp Channel (if more than one is connected with Gallabox) and the catalog connected with the Channel. If you have more than one catalog connected with a WhatsApp Channel, you can add those by clicking on "+Add".
Click on create and your Knowledge Base will be created.
You can only add 3 Knowledge Base.
After adding the Knowledge Base you can use GPT Knowledge Base Node in your Bot flow.
Input Variable: Select or create a variable named "userQuery."
Select or Create Variable to Store History: Create a variable named "interactionHistory."
Knowledge Base: Select the company's Help Docs as the knowledge base.
Prompt: Describe your goal: "Assist users in understanding the troubleshooting steps for network connectivity issues."
Max Tokens: Set to 300.
Temperature: Set to 0.5 for a balanced response.
Function:
Name: "Network_Troubleshooting"
Description: "Generate helpful responses for network connectivity issues provided in the pdf file."
Store the Parameters in the Variable (Optional): Create or select a variable named "functionParameters."
Parameter 1:
Name: "Device_Type"
Description: "Specify the type of device experiencing issues (optional)."
Type: "String"