rasa-pro 3.12.26__py3-none-any.whl → 3.12.27__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rasa-pro might be problematic. Click here for more details.
- rasa/core/channels/inspector/package.json +3 -2
- rasa/core/channels/inspector/yarn.lock +8 -8
- rasa/core/policies/enterprise_search_policy.py +1 -1
- rasa/e2e_test/e2e_config.py +18 -11
- rasa/version.py +1 -1
- {rasa_pro-3.12.26.dist-info → rasa_pro-3.12.27.dist-info}/METADATA +1 -1
- {rasa_pro-3.12.26.dist-info → rasa_pro-3.12.27.dist-info}/RECORD +10 -10
- {rasa_pro-3.12.26.dist-info → rasa_pro-3.12.27.dist-info}/NOTICE +0 -0
- {rasa_pro-3.12.26.dist-info → rasa_pro-3.12.27.dist-info}/WHEEL +0 -0
- {rasa_pro-3.12.26.dist-info → rasa_pro-3.12.27.dist-info}/entry_points.txt +0 -0
|
@@ -48,13 +48,14 @@
|
|
|
48
48
|
"ts-jest": "29.1.1",
|
|
49
49
|
"ts-node": "10.9.1",
|
|
50
50
|
"typescript": "5.0.2",
|
|
51
|
-
"vite": "4.5.
|
|
51
|
+
"vite": "4.5.12"
|
|
52
52
|
},
|
|
53
53
|
"resolutions": {
|
|
54
54
|
"cross-spawn": "7.0.5",
|
|
55
55
|
"dompurify": "3.1.3",
|
|
56
56
|
"braces": "3.0.3",
|
|
57
57
|
"ws": "8.17.1",
|
|
58
|
-
"rollup": "3.29.5"
|
|
58
|
+
"rollup": "3.29.5",
|
|
59
|
+
"@adobe/css-tools": "^4.3.2"
|
|
59
60
|
}
|
|
60
61
|
}
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf"
|
|
8
8
|
integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==
|
|
9
9
|
|
|
10
|
-
"@adobe/css-tools@^4.3.1":
|
|
11
|
-
version "4.3
|
|
12
|
-
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.3.
|
|
13
|
-
integrity sha512
|
|
10
|
+
"@adobe/css-tools@^4.3.1", "@adobe/css-tools@^4.3.2":
|
|
11
|
+
version "4.4.3"
|
|
12
|
+
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.3.tgz#beebbefb0264fdeb32d3052acae0e0d94315a9a2"
|
|
13
|
+
integrity sha512-VQKMkwriZbaOgVCby1UDY/LDk5fIjhQicCvVPFqfe+69fWaPWydbWJ3wRt59/YzIwda1I81loas3oCoHxnqvdA==
|
|
14
14
|
|
|
15
15
|
"@ampproject/remapping@^2.2.0":
|
|
16
16
|
version "2.2.1"
|
|
@@ -6059,10 +6059,10 @@ v8-to-istanbul@^9.0.1:
|
|
|
6059
6059
|
"@types/istanbul-lib-coverage" "^2.0.1"
|
|
6060
6060
|
convert-source-map "^2.0.0"
|
|
6061
6061
|
|
|
6062
|
-
vite@4.5.
|
|
6063
|
-
version "4.5.
|
|
6064
|
-
resolved "https://registry.yarnpkg.com/vite/-/vite-4.5.
|
|
6065
|
-
integrity sha512-
|
|
6062
|
+
vite@4.5.12:
|
|
6063
|
+
version "4.5.12"
|
|
6064
|
+
resolved "https://registry.yarnpkg.com/vite/-/vite-4.5.12.tgz#48f48dbcf789722765e91bc32a99cb66c628eadc"
|
|
6065
|
+
integrity sha512-qrMwavANtSz91nDy3zEiUHMtL09x0mniQsSMvDkNxuCBM1W5vriJ22hEmwTth6DhLSWsZnHBT0yHFAQXt6efGA==
|
|
6066
6066
|
dependencies:
|
|
6067
6067
|
esbuild "^0.18.10"
|
|
6068
6068
|
postcss "^8.4.27"
|
|
@@ -781,7 +781,7 @@ class EnterpriseSearchPolicy(LLMHealthCheckMixin, EmbeddingsHealthCheckMixin, Po
|
|
|
781
781
|
)
|
|
782
782
|
print_error_and_exit(error_message)
|
|
783
783
|
|
|
784
|
-
docs = glob.glob(os.path.join(docs_folder, "*.txt"), recursive=True)
|
|
784
|
+
docs = glob.glob(os.path.join(docs_folder, "**", "*.txt"), recursive=True)
|
|
785
785
|
if not docs or len(docs) < 1:
|
|
786
786
|
error_message = (
|
|
787
787
|
f"Document source directory is empty: '{docs_folder}'. "
|
rasa/e2e_test/e2e_config.py
CHANGED
|
@@ -67,26 +67,33 @@ class LLMJudgeConfig(BaseModel):
|
|
|
67
67
|
@classmethod
|
|
68
68
|
def from_dict(cls, config_data: Dict[str, Any]) -> LLMJudgeConfig:
|
|
69
69
|
"""Loads the configuration from a dictionary."""
|
|
70
|
-
embeddings = config_data.pop(EMBEDDINGS_CONFIG_KEY,
|
|
70
|
+
embeddings = config_data.pop(EMBEDDINGS_CONFIG_KEY, {})
|
|
71
71
|
llm_config = config_data.pop("llm", {})
|
|
72
72
|
|
|
73
73
|
llm_config = resolve_model_client_config(llm_config)
|
|
74
|
-
llm_config,
|
|
74
|
+
llm_config, llm_extra_parameters = cls.extract_attributes(llm_config)
|
|
75
75
|
llm_config = combine_custom_and_default_config(
|
|
76
76
|
llm_config, cls.get_default_llm_config()
|
|
77
77
|
)
|
|
78
78
|
embeddings_config = resolve_model_client_config(embeddings)
|
|
79
|
+
embeddings_config, embeddings_extra_parameters = cls.extract_attributes(
|
|
80
|
+
embeddings_config
|
|
81
|
+
)
|
|
79
82
|
|
|
80
83
|
return LLMJudgeConfig(
|
|
81
|
-
llm_config=BaseModelConfig(
|
|
82
|
-
|
|
84
|
+
llm_config=BaseModelConfig(
|
|
85
|
+
extra_parameters=llm_extra_parameters, **llm_config
|
|
86
|
+
),
|
|
87
|
+
embeddings=BaseModelConfig(
|
|
88
|
+
extra_parameters=embeddings_extra_parameters, **embeddings_config
|
|
89
|
+
)
|
|
83
90
|
if embeddings_config
|
|
84
91
|
else None,
|
|
85
92
|
)
|
|
86
93
|
|
|
87
94
|
@classmethod
|
|
88
95
|
def extract_attributes(
|
|
89
|
-
cls,
|
|
96
|
+
cls, config: Dict[str, Any]
|
|
90
97
|
) -> Tuple[Dict[str, Any], Dict[str, Any]]:
|
|
91
98
|
"""Extract the expected fields from the configuration."""
|
|
92
99
|
required_config = {}
|
|
@@ -96,22 +103,22 @@ class LLMJudgeConfig(BaseModel):
|
|
|
96
103
|
MODEL_CONFIG_KEY,
|
|
97
104
|
]
|
|
98
105
|
|
|
99
|
-
if PROVIDER_CONFIG_KEY in
|
|
106
|
+
if PROVIDER_CONFIG_KEY in config:
|
|
100
107
|
required_config = {
|
|
101
|
-
expected_field:
|
|
108
|
+
expected_field: config.pop(expected_field, None)
|
|
102
109
|
for expected_field in expected_fields
|
|
103
110
|
}
|
|
104
111
|
|
|
105
|
-
elif MODELS_CONFIG_KEY in
|
|
106
|
-
|
|
112
|
+
elif MODELS_CONFIG_KEY in config:
|
|
113
|
+
config = config.pop(MODELS_CONFIG_KEY)[0]
|
|
107
114
|
|
|
108
115
|
required_config = {
|
|
109
|
-
expected_field:
|
|
116
|
+
expected_field: config.pop(expected_field, None)
|
|
110
117
|
for expected_field in expected_fields
|
|
111
118
|
}
|
|
112
119
|
|
|
113
120
|
clean_config = clean_up_config(required_config)
|
|
114
|
-
return clean_config,
|
|
121
|
+
return clean_config, config
|
|
115
122
|
|
|
116
123
|
@property
|
|
117
124
|
def llm_config_as_dict(self) -> Dict[str, Any]:
|
rasa/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: rasa-pro
|
|
3
|
-
Version: 3.12.
|
|
3
|
+
Version: 3.12.27
|
|
4
4
|
Summary: State-of-the-art open-core Conversational AI framework for Enterprises that natively leverages generative AI for effortless assistant development.
|
|
5
5
|
Keywords: nlp,machine-learning,machine-learning-library,bot,bots,botkit,rasa conversational-agents,conversational-ai,chatbot,chatbot-framework,bot-framework
|
|
6
6
|
Author: Rasa Technologies GmbH
|
|
@@ -192,7 +192,7 @@ rasa/core/channels/inspector/dist/assets/xychartDiagram-e933f94c-5d7f4e96.js,sha
|
|
|
192
192
|
rasa/core/channels/inspector/dist/index.html,sha256=3iZN0QvVNg-HvnmkgPthxk3K3KIb_33FujJQxqrD3Yg,2761
|
|
193
193
|
rasa/core/channels/inspector/index.html,sha256=98zTIw3U5XkLiibL44Rc3jXS1E6VakgocW_Bk8O8IM0,1701
|
|
194
194
|
rasa/core/channels/inspector/jest.config.ts,sha256=pDs-0q6gs0Jnm9mWKq5M1vC5wiX_Cnh4l6s--dBsskM,406
|
|
195
|
-
rasa/core/channels/inspector/package.json,sha256=
|
|
195
|
+
rasa/core/channels/inspector/package.json,sha256=VrYuIr7UX4TCpGW2cNZxWiY-GgSkWxri5vjQVecRpv4,1728
|
|
196
196
|
rasa/core/channels/inspector/setupTests.ts,sha256=JaGsnR6noIcuD5kLjb9SiOkXwJARLV_gF0dULtlWPqk,75
|
|
197
197
|
rasa/core/channels/inspector/src/App.tsx,sha256=tnrGxX90XO3sKlkF_gS2ZQTIp9JXUb5f_WEcTprqFls,7691
|
|
198
198
|
rasa/core/channels/inspector/src/components/Chat.tsx,sha256=uJL16gzBLBICuLVbezI0RaQdKU5WbwZlyjoI0tZ6PGU,3311
|
|
@@ -256,7 +256,7 @@ rasa/core/channels/inspector/tests/renderWithProviders.tsx,sha256=FvXc55YCzN6msj
|
|
|
256
256
|
rasa/core/channels/inspector/tsconfig.json,sha256=KbKb1kysO_6vnaZEHHKZtexAwr_NIJoOJMENQkEUAPQ,650
|
|
257
257
|
rasa/core/channels/inspector/tsconfig.node.json,sha256=niq7Fp6oe3GQYTodTaV8pghGOkU71CMfo67uXjCDcN0,213
|
|
258
258
|
rasa/core/channels/inspector/vite.config.ts,sha256=4PDEcd2hilx0kUkFqBLvOz997dNjDVgFWfVgbuaIDNo,180
|
|
259
|
-
rasa/core/channels/inspector/yarn.lock,sha256=
|
|
259
|
+
rasa/core/channels/inspector/yarn.lock,sha256=kP5BUog7u1DMwtud-ksjB0WGpJQ1h9TcEEXfpaQzldQ,289252
|
|
260
260
|
rasa/core/channels/mattermost.py,sha256=9d2OCw6nj0Y_f1zmzEWO4ZuTuEsicALwSInD6CosZYM,7743
|
|
261
261
|
rasa/core/channels/rasa_chat.py,sha256=pf77s4onrE5AqjdmaJFsBIzakBJ_ysevj6DDart96XQ,4814
|
|
262
262
|
rasa/core/channels/rest.py,sha256=ShKGmooXphhcDnHyV8TiQhDhj2r7hxTKNQ57FwFfyUA,7226
|
|
@@ -327,7 +327,7 @@ rasa/core/nlg/translate.py,sha256=ZXRvysqXGdtHBJ7x3YkW6zfmnb9DuEGHCMTL41v-M8M,21
|
|
|
327
327
|
rasa/core/persistor.py,sha256=7LCZHAwCM-xrUI38aaJ5dkxJvLdJXWI1TEUKsBo4_EE,21295
|
|
328
328
|
rasa/core/policies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
329
|
rasa/core/policies/ensemble.py,sha256=XoHxU0jcb_io_LBOpjJffylzqtGEB7CH9ivhRyO8pDc,12960
|
|
330
|
-
rasa/core/policies/enterprise_search_policy.py,sha256=
|
|
330
|
+
rasa/core/policies/enterprise_search_policy.py,sha256=MxhZFTM7yUZgBOw4F3XJgL_0CGOSs6C780IJDjWJ1uQ,41967
|
|
331
331
|
rasa/core/policies/enterprise_search_prompt_template.jinja2,sha256=dCS_seyBGxMQoMsOjjvPp0dd31OSzZCJSZeev1FJK5Q,1187
|
|
332
332
|
rasa/core/policies/enterprise_search_prompt_with_citation_template.jinja2,sha256=va9rpP97dN3PKoJZOVfyuISt3cPBlb10Pqyz25RwO_Q,3294
|
|
333
333
|
rasa/core/policies/flow_policy.py,sha256=597G62hrLF_CAMCvu-TPRldFnjMP2XEIkhcIaPWcQAc,7489
|
|
@@ -468,7 +468,7 @@ rasa/e2e_test/aggregate_test_stats_calculator.py,sha256=Ys2Zfc8OOPNN2KHtfKqRdyrW
|
|
|
468
468
|
rasa/e2e_test/assertions.py,sha256=yATtyCRQpuBeQF-2Vhd5IYf4rQAeKlo72HAX0x9gS4M,46928
|
|
469
469
|
rasa/e2e_test/assertions_schema.yml,sha256=NJ-3uuK2lHKKGn4GV3XsnNSvRRQFJznzknUSIBQZMws,3250
|
|
470
470
|
rasa/e2e_test/constants.py,sha256=iQVJm2kFYj9Ex1SKSZEg2evEbg73bKQpn3Jzj1pRNQs,1496
|
|
471
|
-
rasa/e2e_test/e2e_config.py,sha256=
|
|
471
|
+
rasa/e2e_test/e2e_config.py,sha256=i3D2MfoFahSq1SVNRTyJfpSjHhD4OczSvfjqunhc5h4,9399
|
|
472
472
|
rasa/e2e_test/e2e_config_schema.yml,sha256=zQectcNvmNChdPMqO4O-CufqAF90AMBbP-Dmghaig_Q,837
|
|
473
473
|
rasa/e2e_test/e2e_test_case.py,sha256=3fKan0GJOMKm-FKHjQaY9AVhI4ortQYuEsPh9GHwbio,20817
|
|
474
474
|
rasa/e2e_test/e2e_test_converter.py,sha256=bcSg-hWKPGvZBip6PKPvYAcgvSUCU5uXmC9D7UTmJYY,12570
|
|
@@ -822,9 +822,9 @@ rasa/utils/train_utils.py,sha256=ClJx-6x3-h3Vt6mskacgkcCUJTMXjFPe3zAcy_DfmaU,212
|
|
|
822
822
|
rasa/utils/url_tools.py,sha256=dZ1HGkVdWTJB7zYEdwoDIrEuyX9HE5WsxKKFVsXBLE0,1218
|
|
823
823
|
rasa/utils/yaml.py,sha256=KjbZq5C94ZP7Jdsw8bYYF7HASI6K4-C_kdHfrnPLpSI,2000
|
|
824
824
|
rasa/validator.py,sha256=524VlFTYK0B3iXYveVD6BDC3K0j1QfpzJ9O-TAWczmc,83166
|
|
825
|
-
rasa/version.py,sha256=
|
|
826
|
-
rasa_pro-3.12.
|
|
827
|
-
rasa_pro-3.12.
|
|
828
|
-
rasa_pro-3.12.
|
|
829
|
-
rasa_pro-3.12.
|
|
830
|
-
rasa_pro-3.12.
|
|
825
|
+
rasa/version.py,sha256=YhpGN8FvTd9UE1riHifUWwa92hv-SSE9TJwBCMqqSXQ,118
|
|
826
|
+
rasa_pro-3.12.27.dist-info/METADATA,sha256=Cxk5hTiE9QsN8K662WJ32upK3KpZUFeHljpWCRLWNQ0,10609
|
|
827
|
+
rasa_pro-3.12.27.dist-info/NOTICE,sha256=7HlBoMHJY9CL2GlYSfTQ-PZsVmLmVkYmMiPlTjhuCqA,218
|
|
828
|
+
rasa_pro-3.12.27.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
829
|
+
rasa_pro-3.12.27.dist-info/entry_points.txt,sha256=ckJ2SfEyTPgBqj_I6vm_tqY9dZF_LAPJZA335Xp0Q9U,43
|
|
830
|
+
rasa_pro-3.12.27.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|