Skip to content

Refactoring of dff services

Kuznetsov Denis edited this page Dec 27, 2021 · 5 revisions

Branch feat/dff/template_v3 and a path to the template service skills/dff_template_skill

You can refactor your chosen service directly into skills/dff_template_skill directory in your forked repository and after that just push your PR in order we can review it.

# create local.yml
python utils/create_local_yml.py -s dff-template-skill -s convers-evaluation-selector
# build all services
docker-compose -f docker-compose.yml -f local.yml up -d --build
# check that all services are running
docker-compose -f docker-compose.yml -f local.yml ps
# run tests of dff-template-skill
docker-compose -f docker-compose.yml -f local.yml exec dff-template-skill bash test.sh
# run a dialog with the agent
docker-compose -f docker-compose.yml -f local.yml exec agent python -m deeppavlov_agent.run
# logs of dff-template-skill
docker-compose -f docker-compose.yml -f local.yml logs -f dff-template-skill