-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate feature configurations (#42)
* Updated config to use Multistep and updated rasa-pro version. * Added e2e test multistep folder with symlinks to relevant test. * Added config folder with multistep config. * Revert "Updated config to use Multistep and updated rasa-pro version." This reverts commit 4a094ba. * Updated rasa-pro to 3.9.3. * Added seperate qdrant config and updated makefile. * Updated the readme with the changes to config and new rasa version. * Updated the poetry lock file. * Correct typo.
- Loading branch information
Showing
21 changed files
with
162 additions
and
55 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
recipe: default.v1 | ||
language: en | ||
pipeline: | ||
- name: LLMBasedRouter | ||
calm_entry: | ||
sticky: "handles everything else, including finance and pizza orders" | ||
nlu_entry: | ||
sticky: "handles everything around health advice and hotel or restaurant bookings" | ||
non_sticky: "handles chitchat" | ||
- name: WhitespaceTokenizer | ||
- name: CountVectorsFeaturizer | ||
- name: CountVectorsFeaturizer | ||
analyzer: char_wb | ||
min_ngram: 1 | ||
max_ngram: 4 | ||
- name: LogisticRegressionClassifier | ||
max_iter: 100 | ||
solver: lbfgs | ||
tol: 0.0001 | ||
random_state: 42 | ||
ranking_length: 10 | ||
- name: CRFEntityExtractor | ||
- name: DucklingEntityExtractor | ||
url: "http://localhost:8000" | ||
dimensions: [ "time", "number" ] | ||
timezone: "Europe/Berlin" | ||
timeout: 3 | ||
- name: NLUCommandAdapter | ||
- name: SingleStepLLMCommandGenerator | ||
llm: | ||
model_name: gpt-4 | ||
request_timeout: 7 | ||
temperature: 0.0 | ||
top_p: 0.0 | ||
|
||
policies: | ||
- name: RulePolicy | ||
- name: TEDPolicy | ||
constrain_similarities: true | ||
- name: FlowPolicy | ||
- name: EnterpriseSearchPolicy | ||
- name: IntentlessPolicy | ||
|
||
assistant_id: 20240418-073244-narrow-archive |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
recipe: default.v1 | ||
language: en | ||
pipeline: | ||
- name: LLMBasedRouter | ||
calm_entry: | ||
sticky: "handles everything else, including finance and pizza orders" | ||
nlu_entry: | ||
sticky: "handles everything around health advice and hotel or restaurant bookings" | ||
non_sticky: "handles chitchat" | ||
- name: WhitespaceTokenizer | ||
- name: CountVectorsFeaturizer | ||
- name: CountVectorsFeaturizer | ||
analyzer: char_wb | ||
min_ngram: 1 | ||
max_ngram: 4 | ||
- name: LogisticRegressionClassifier | ||
max_iter: 100 | ||
solver: lbfgs | ||
tol: 0.0001 | ||
random_state: 42 | ||
ranking_length: 10 | ||
- name: CRFEntityExtractor | ||
- name: DucklingEntityExtractor | ||
url: "http://localhost:8000" | ||
dimensions: [ "time", "number" ] | ||
timezone: "Europe/Berlin" | ||
timeout: 3 | ||
- name: NLUCommandAdapter | ||
- name: MultiStepLLMCommandGenerator | ||
llm: | ||
model_name: gpt-3.5-turbo-0125 | ||
request_timeout: 7 | ||
temperature: 0.0 | ||
top_p: 0.0 | ||
|
||
policies: | ||
- name: RulePolicy | ||
- name: TEDPolicy | ||
constrain_similarities: true | ||
- name: FlowPolicy | ||
|
||
assistant_id: 20240418-073244-narrow-archive |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/cancellations |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/corrections |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/disambiguation |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/flow_guards |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/happy_path |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/digressions/intermittent_flow_switch.yml |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/invalid_path |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/invalid_user_inputs |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/negations |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/potential_bugs |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/digressions/user_starts_multiple_flows.yml |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/digressions/user_starts_with_a_very_long_message.yml |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../passing/digressions/validation_too_little_money.yml |
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 |
---|---|---|
|
@@ -19,4 +19,3 @@ test_cases: | |
- slot_was_not_set: | ||
- based_in_california | ||
- utter: utter_can_do_something_else | ||
|
Oops, something went wrong.