NLU Question and Answer
Questions are automatically identified in all content (with or without proper punctuation) and evaluated to determine the proper answer. Much of the time the answer will not be known, some of the time it will be very generic (from ontology ancestry). But many of the questions will be answered simply and concisely.
The method used to get answers doesn’t need training, It just need to have the information. The easiest way is to provide the information in text to it, just as you would to a person so that they could answer the question.
Shrek is a big green ogre. He hates people and he lives in a swamp. Shrek likes eating. He once said "what are you doing in my swamp!". Is Shrek green?
Shrek is big?
What is Shrek?
What does shrek like doing?
Does Shrek like eating?
What does Shrek do in a swamp?
What did Shrek say?
Scan down to the sentence for each question, you will see ‘Answer’ button in the sentence button bar. Click this to expand for the Answer information.
This displays the Answer type, Question we are answering (composited in cases of incomplete information) and the response options. Green means is very certain of the answer, Orange is undecided, Red means no idea.
Chat Question and Answer
The same learning occurs in chat conversations, the persona learns what you say, or what it gets from external APIs. The following is the same as the above example but with the Persona giving the answers to the questions after the information is provided.
As with the first example, information is provided and Sedro is able to use it to answer questions; in this case it is just via a persona and in a chat flow.
Chat with retained knowledge
In Sedro the information from text may be saved and loaded as a knowledge set, thus allowing plain text to provide information and be loaded for a chatbot or data mining later. The knowledge can be continually extended in the same way, with text additions and the /tell API.
In Analyze the same content is given then saved to a DB name, this DB name is added to the Persona ‘Fiona’. Using RapidAPI apis this is done by adding knowledge or using tell.
Some responses may be less detailed when from memory than in conversation (just as IRL). For example Shrek will be just ‘ogre’ instead of ‘big green ogre’ as comes from the conversation.
Try it for yourself
Try it via the live demo, or via the Apis at http://api.sedro.xyz/api-current