Skip to content

Commit

Permalink
Remove NLU-based flows and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
maksim-m committed Sep 30, 2024
1 parent d5a6e24 commit b5a281e
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 1,001 deletions.
28 changes: 0 additions & 28 deletions config/config.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
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: gpt-4
Expand All @@ -34,9 +9,6 @@ pipeline:
top_p: 0.0

policies:
- name: RulePolicy
- name: TEDPolicy
constrain_similarities: true
- name: FlowPolicy
- name: EnterpriseSearchPolicy
- name: IntentlessPolicy
Expand Down
28 changes: 0 additions & 28 deletions config/multistep-config.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
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: gpt-3.5-turbo-0125
Expand All @@ -34,9 +9,6 @@ pipeline:
top_p: 0.0

policies:
- name: RulePolicy
- name: TEDPolicy
constrain_similarities: true
- name: FlowPolicy

assistant_id: 20240418-073244-narrow-archive
35 changes: 0 additions & 35 deletions data/e2e_stories.yml

This file was deleted.

4 changes: 0 additions & 4 deletions data/flows/add_card.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@ flows:
add_card:
description: add a card to your account
name: add a card
nlu_trigger:
- intent:
name: add_card
confidence_threshold: 0.9
steps:
- action: utter_card_added
4 changes: 0 additions & 4 deletions data/flows/add_contact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ flows:
add_contact:
description: add a contact to your contact list
name: add a contact
nlu_trigger:
- intent:
name: add_contact
confidence_threshold: 0.9
steps:
- collect: add_contact_handle
description: a user handle starting with @
Expand Down
230 changes: 0 additions & 230 deletions data/flows/nlu.yml

This file was deleted.

Loading

0 comments on commit b5a281e

Please sign in to comment.