Hi Denis!
Welcome to the DeepPavlov Community! Thrilled to have you here!
If you want to build a chatbot using DeepPavlov Conversational AI technology stack, and you want it to work with FAQ, here’s what you can do:
Part I. Clone and get your own copy of Deepy with FAQ up and running
- clone Deepy from https://www.github.com/deepmipt/deepy
- use the
dists/faq_dist
branch (temporary)
- copy
docker-compose.yml
from dists/deepy_faq
to the root of the repository (overwrite the existing docker-compose.yml
)
- copy
pipeline_conf.json
from dists/deepy_faq
to the /agent
directory of the repository (overwrite the existing pipeline_conf.json
)
- use
docker-compose up --build
command in the root of your repository to build and run your multiskill AI assistant
- API will run on
http://localhost:4242
. You can send your user’s utterance as the payload like this:
{
"user_id" : "rerwerw1234",
"payload" : "What is an invitation letter?"
}
Note: This example has another skill called chit-chat skill (program_y
in the configs). You can remove it if you don’t need it.
Part II. Training own model
Of course, the demo above features the pre-built config and model. You can build your own model by supplying your own FAQ data in the same form as the file used in the default demo above:
http://files.deeppavlov.ai/faq/school/faq_school_en.csv
Note: Please create your file automatically (e.g., programmatically, or by using a program like Microsoft Office Excel). We discourage crafting CSV files for FAQ Skill manually as even small mistakes will lead to hours of painful debugging.
Read the instructions in our documentation to learn how to train the model:
http://docs.deeppavlov.ai/en/master/features/skills/faq.html
The WikiData Thing
As of the WikiData thing I’m not entirely sure I’ve got what you need. Could you elaborate on that?
Thanks,
Daniel