top of page
Writer's pictureaditya salvi

Training Your AI Chatbot Your Way

Using simple JSON format inputs


AI chatbots being trained using JSON inputs
Abstract colourful glass walls

With ForkedApp you can create a Chatbot template trained with specific knowledge on a particular topic. You can follow the steps below.


Look up Chat Templates and click 'Add Template'.



Next, enter the details as prompted in the chat template




Next, enter the personality details of your chatbot template. (As you choose to, there's no hard or fast rule here).




Following that, within the Chatbot Training segment, you have the option to train your chatbot using the data you provide. The data must be inputted in JSON format. To include a sample data set, simply click on the Create example input button.



On clicking the sample input option, you will get a JSON format reading as seen below. You may now redraft the conversational statements to give the chatbot specific instructions regarding its role.


[

{

"role": "system",

"content": "You are a helpful assistant."

},

{

"role": "user",

"content": "Who won the world series in 2020?"

},

{

"role": "assistant",

"content": "The Los Angeles Dodgers won the World Series in 2020."

},

{

"role": "user",

"content": "Where was it played?"

}

]


It's important to note that there are 3 distinct roles available for training your chatbot: User, Assistant, and System.


1. User: The User role involves human input or messages within the conversation. Users interact with ChatGPT by asking questions, making requests, or providing prompts. They kick off the conversation and offer context for the Assistant to generate appropriate responses.

2. Assistant: The Assistant role refers to the language model (e.g., ChatGPT) that generates responses based on user messages. It leverages its training on extensive text data to comprehend the user’s input, produce coherent and relevant responses, and sustain the conversation flow. The Assistant aims to aid, offer information, and engage in dialogue with the user.

3. System: The System role entails instructions or guidance provided to the Assistant to influence its behavior during the conversation. System messages are introduced by external systems or rules and are not reliant on user input. They are used to offer instructions, clarify context, or direct the Assistant's responses. System messages help steer the conversation or adjust the Assistant's behavior to achieve desired outcomes.


By assigning these roles, GPT enables interactive and dynamic conversations where users can effectively communicate their intentions. The Assistant generates meaningful responses, while the System seamlessly provides additional context or guidance as needed.


To access the chatbot template you generated, simply go to the page labeled AI Chat.



Things to Keep in Mind...


1. Ensure that you input training data in a valid JSON format. (When you click on the Create example input button, the data returned will be in a valid JSON format.)

When entering words like company names or group names, remember to use quotation marks. For example, ‘ForkedApp.’


Note: Avoid using double quotation marks ( ” ); instead, use single quotation marks ( ‘ ). The use of double quotation marks ( “ ) may lead to conflicts in the JSON format.



For more information or queries please reach out to us at: team@forkedapp.com


3 views0 comments

Recent Posts

See All

Comments


bottom of page