-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add system requirements (#599)
* feat: add system requirements * feat: info about new components to README_ru.md * feat: readme update for Code AI
- Loading branch information
1 parent
0b90160
commit 414d525
Showing
6 changed files
with
59 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
### List models | ||
- [bart persona based](./bart_persona_based/) | ||
# Sequence-to-sequence Persona-based Skill | ||
|
||
## Description | ||
|
||
Sequence-to-sequence Persona-based Skill is aimed to provide generted responses taking into account | ||
system's persona description extracted by Relative Persona Extractor Annotator. | ||
|
||
This skill allows to adapt the dialog system to particular system's persona. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,7 @@ | ||
# dff_template_skill | ||
# DFF Intent Responder Skill | ||
|
||
## Description | ||
|
||
**dff_template_skill** is a skill to exit the dialogue. There are only answers here, phrases for leaving the dialogue are detected in the ** IntentCatcher ** annotator. | ||
DFF Intent Responder Skill is aimed to provide template-based responses to detected intents by Intent Catcher Annotator. | ||
|
||
## Quickstart from docker | ||
|
||
```bash | ||
# create local.yml | ||
python utils/create_local_yml.py -d assistant_dists/dream/ -s dff-template-skill | ||
# build service | ||
docker-compose -f docker-compose.yml -f assistant_dists/dream/docker-compose.override.yml -f assistant_dists/dream/local.yml up -d --build dff-template-skill | ||
# run tests | ||
docker-compose -f docker-compose.yml -f assistant_dists/dream/docker-compose.override.yml -f assistant_dists/dream/local.yml exec dff-template-skill bash test.sh | ||
# check logs | ||
docker-compose -f docker-compose.yml -f assistant_dists/dream/docker-compose.override.yml -f assistant_dists/dream/local.yml logs -f dff-template-skill | ||
# run a dialog with the agent | ||
docker-compose -f docker-compose.yml -f assistant_dists/dream/docker-compose.override.yml -f assistant_dists/dream/local.yml exec agent python -m deeppavlov_agent.run | ||
``` | ||
|
||
## Quickstart without docker | ||
|
||
```bash | ||
pip install -r requirements.txt | ||
gunicorn --workers=1 server:app -b 0.0.0.0:${SERVICE_PORT} | ||
``` | ||
|
||
## Resources | ||
|
||
* Execution time: 46 ms | ||
* Starting time: 1.5 sec | ||
* RAM: 45 MB | ||
|
||
## Change history | ||
### Jan 8, 2022 | ||
The dialogue skill **skills\dff-intent-responder-skill** was created based on **skills\IntentResponder** service to refactor old code with the usage of the new dff framework. The new service repeats the previous service logic which is based on the intention detection from the payload of the inbound HTTP request. The intention from the latest human_utterances element with "detected"=1 and the highest confidence is selected and the appropriate response is created; the confidence value is sent to output without change. If no input intention is detected, then a default response with 'dont_understand' logic is sent. | ||
### Jan 15, 2022 | ||
Tests for all input intentions including a default case are added. | ||
### Jan 21, 2022 | ||
The dialogue skill **skills\dff-intent-responder-skill** is moved to **skills\dff_template_skill**. Code review changes applied, tests are recreated in microservice environment. | ||
|
||
|
||
## Depencencies | ||
This skill allows to adapt the dialog system to particular tasks. |