SmartFAQ

Version: 1.0.0

SmartFAQ APIs allow to add frequently asked questions and answers, and consume FAQs through conversation ai.

API methods: SmartFAQ

POST /botbuilder/smartfaq/qna

add single FAQ

Add a single question, alternative questions and response for questions in a project under the specific category.

Request body

Required: true

Media types
application/json
SchemaFaq

Responses

201

Added FAQ successfully

POST /botbuilder/smartfaq/upload

upload FAQ files

Uploads PDF or Word document with a set of FAQs into a specific project.

Request body

Media types
multipart/form-data
SchemaFileUpload

Responses

200

Project deleted successfully

POST /botbuilder/smartfaq/search

search FAQ content

Post a question related to the uploaded FAQs. Based on the question, chatbot will return responses related to the uploaded FAQ content.

Request body

Required: true

Media types
application/json
SchemaSearchFAQ

Responses

200

Success

Media types
application/json
Examples
Success Response
 {
            "description": "Explain FAQ?",
            "intent": "3168cdd4-bbf5-11ed-83af-b6396ddc8e9e",
            "project": "SampleProject",
            "response": "FAQ is frequently asked questions about a particular subject.",
            "training": {
                "learn": "what is FAQ?",
                "relearn": "relearn"
            },
            "type": "en",
            "isfaq": "faq",
            "categoryName": "common",
            "score": "1.6327736"
        }

Components

Schemas

Faq

Properties
categoryName
string
examplecommon
createdate
string
description
string
examplewhat is FAQ?
intent
string
isfaq
string
examplefaq
language
string
exampleen
project
string
exampleSampleProject
recordId
string
response
string
exampleFAQ is frequently asked questions about a particular subject.
training
$refTraining
type
string
typeobject

Training

Properties
learn
string
description

Set as learn and add alternate questions using

examplelearn. what is FAQ?
relearn
string
typeobject

FileUpload

Properties
files
array
items
string(binary)
categoryName
string
examplecommon
description
string
fileArray
string
language
string
exampleen
projectName
string
exampleSampleproject
tags
string
validate
boolean
required
  • files
  • projectName
typeobject

SearchFAQ

Properties
query
string
exampleExplain FAQ?
project
string
exampleSampleproject
language
string
exampleen