Skip to content

Commit 9203933

Browse files
committed
feat(rasa): init rasa project as infrastructure
1 parent b35e88e commit 9203933

File tree

62 files changed

+3152
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+3152
-0
lines changed

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11.9

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
python = "3.10"
16 KB
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
model_checkpoint_path: "unexpected_intent_policy.tf_model"
2+
all_model_checkpoint_paths: "unexpected_intent_policy.tf_model"
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"type": "IntentMaxHistoryTrackerFeaturizer",
3+
"state_featurizer": {
4+
"action_texts": [],
5+
"entity_tag_specs": [],
6+
"feature_states": {
7+
"intent": {
8+
"affirm": 0,
9+
"back": 1,
10+
"bot_challenge": 2,
11+
"deny": 3,
12+
"goodbye": 4,
13+
"greet": 5,
14+
"mood_great": 6,
15+
"mood_unhappy": 7,
16+
"nlu_fallback": 8,
17+
"out_of_scope": 9,
18+
"restart": 10,
19+
"session_start": 11
20+
},
21+
"action_name": {
22+
"action_listen": 0,
23+
"action_restart": 1,
24+
"action_session_start": 2,
25+
"action_default_fallback": 3,
26+
"action_deactivate_loop": 4,
27+
"action_revert_fallback_events": 5,
28+
"action_default_ask_affirmation": 6,
29+
"action_default_ask_rephrase": 7,
30+
"action_two_stage_fallback": 8,
31+
"action_unlikely_intent": 9,
32+
"action_back": 10,
33+
"...": 11,
34+
"action_extract_slots": 12,
35+
"utter_cheer_up": 13,
36+
"utter_did_that_help": 14,
37+
"utter_goodbye": 15,
38+
"utter_greet": 16,
39+
"utter_happy": 17,
40+
"utter_iamabot": 18
41+
},
42+
"entities": {},
43+
"slots": {},
44+
"active_loop": {}
45+
}
46+
},
47+
"remove_duplicates": true,
48+
"max_history": 5
49+
}
Binary file not shown.
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
[
2+
{
3+
"key": "action_name",
4+
"components": [
5+
{
6+
"key": "mask",
7+
"number_of_dimensions": 3,
8+
"features": [
9+
{
10+
"type": "group",
11+
"subcomponents": [
12+
{
13+
"type": "dense",
14+
"key": "component_action_name_mask_0_0_array",
15+
"shape": [
16+
1,
17+
1
18+
]
19+
}
20+
]
21+
}
22+
]
23+
},
24+
{
25+
"key": "sentence",
26+
"number_of_dimensions": 4,
27+
"features": [
28+
{
29+
"type": "group",
30+
"subcomponents": [
31+
{
32+
"type": "group",
33+
"subcomponents": [
34+
{
35+
"type": "sparse",
36+
"key": "component_action_name_sentence_0_0_0",
37+
"shape": [
38+
0,
39+
19
40+
]
41+
}
42+
]
43+
}
44+
]
45+
}
46+
]
47+
}
48+
]
49+
},
50+
{
51+
"key": "dialogue",
52+
"components": [
53+
{
54+
"key": "length",
55+
"number_of_dimensions": 1,
56+
"features": [
57+
{
58+
"type": "list",
59+
"key": "component_dialogue_length_0_list"
60+
}
61+
]
62+
}
63+
]
64+
},
65+
{
66+
"key": "intent",
67+
"components": [
68+
{
69+
"key": "mask",
70+
"number_of_dimensions": 3,
71+
"features": [
72+
{
73+
"type": "group",
74+
"subcomponents": [
75+
{
76+
"type": "dense",
77+
"key": "component_intent_mask_0_0_array",
78+
"shape": [
79+
1,
80+
1
81+
]
82+
}
83+
]
84+
}
85+
]
86+
},
87+
{
88+
"key": "sentence",
89+
"number_of_dimensions": 4,
90+
"features": [
91+
{
92+
"type": "group",
93+
"subcomponents": [
94+
{
95+
"type": "group",
96+
"subcomponents": [
97+
{
98+
"type": "sparse",
99+
"key": "component_intent_sentence_0_0_0",
100+
"shape": [
101+
0,
102+
12
103+
]
104+
}
105+
]
106+
}
107+
]
108+
}
109+
]
110+
}
111+
]
112+
},
113+
{
114+
"key": "label",
115+
"components": [
116+
{
117+
"key": "ids",
118+
"number_of_dimensions": 3,
119+
"features": [
120+
{
121+
"type": "group",
122+
"subcomponents": [
123+
{
124+
"type": "group",
125+
"subcomponents": [
126+
{
127+
"type": "list",
128+
"key": "component_label_ids_0_0_0_list"
129+
},
130+
{
131+
"type": "list",
132+
"key": "component_label_ids_0_0_1_list"
133+
}
134+
]
135+
}
136+
]
137+
}
138+
]
139+
}
140+
]
141+
}
142+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]
Binary file not shown.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"intent": [
3+
{
4+
"data_type": "sentence",
5+
"attribute": "intent",
6+
"origin": "IntentTokenizerSingleStateFeaturizer",
7+
"is_sparse": true,
8+
"shape": [
9+
0,
10+
12
11+
],
12+
"safetensors_key": "intent_0"
13+
}
14+
],
15+
"action_name": [
16+
{
17+
"data_type": "sentence",
18+
"attribute": "action_name",
19+
"origin": "IntentTokenizerSingleStateFeaturizer",
20+
"is_sparse": true,
21+
"shape": [
22+
0,
23+
19
24+
],
25+
"safetensors_key": "action_name_0"
26+
}
27+
]
28+
}

0 commit comments

Comments
 (0)