What is a Classification Model: intents file containing fields with values separated by colon, difference with set_pairs

Thread Starter

zulfi100

Joined Jun 7, 2012
655
Hi,

I am trying to built a chatbot. I found following link:

refinitive



I am following the above link, its creating a intents file, It has some fields with their values separated by colons.

"intents":[

{

"tag":"greeting",

"patterns":["Hi there","How are you","Is anyone there?","Hello","Good day"],

"responses":["Hello, thanks for asking","Good to see you again","Hi there, how can I help?"],

"context":[""]},
One other link (https://www.pluralsight.com/guides/build-a-chatbot-with-python) shows set_pairs like:

set_pairs = [ [ r"my name is (.*)", ["Hello %1, How are you doing toda ], [ r"hi|hey|hello", ["Hello", "Hey there",] ],



What is the difference between intents file and set_pairs?

Zulfi.
 
Top