user-simulator 0.3.2__py3-none-any.whl → 0.3.4__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.
- user_sim/cli/cli.py +1 -1
- user_sim/cli/sensei_chat.py +12 -12
- {user_simulator-0.3.2.dist-info → user_simulator-0.3.4.dist-info}/METADATA +1 -1
- {user_simulator-0.3.2.dist-info → user_simulator-0.3.4.dist-info}/RECORD +8 -8
- {user_simulator-0.3.2.dist-info → user_simulator-0.3.4.dist-info}/WHEEL +0 -0
- {user_simulator-0.3.2.dist-info → user_simulator-0.3.4.dist-info}/entry_points.txt +0 -0
- {user_simulator-0.3.2.dist-info → user_simulator-0.3.4.dist-info}/licenses/LICENSE.txt +0 -0
- {user_simulator-0.3.2.dist-info → user_simulator-0.3.4.dist-info}/top_level.txt +0 -0
user_sim/cli/cli.py
CHANGED
@@ -70,7 +70,7 @@ def parse_chat_arguments(argv=None) -> Namespace:
|
|
70
70
|
"-cp",
|
71
71
|
"--connector-params",
|
72
72
|
dest="connector_params",
|
73
|
-
type=
|
73
|
+
type=str,
|
74
74
|
help=(
|
75
75
|
'Connector parameters as JSON string or key=value pairs separated by commas. '
|
76
76
|
'Examples: \'{"base_url": "http://localhost", "port": 8080}\' or '
|
user_sim/cli/sensei_chat.py
CHANGED
@@ -51,7 +51,7 @@ def _setup_configuration() -> Namespace:
|
|
51
51
|
configure_project(args.project_path)
|
52
52
|
|
53
53
|
# check_keys(["OPENAI_API_KEY"])
|
54
|
-
config.test_cases_folder = args.
|
54
|
+
config.test_cases_folder = args.output
|
55
55
|
config.ignore_cache = args.ignore_cache
|
56
56
|
config.update_cache = args.update_cache
|
57
57
|
config.clean_cache = args.clean_cache
|
@@ -314,17 +314,17 @@ def generate_conversation(technology, connector, user,
|
|
314
314
|
|
315
315
|
def main():
|
316
316
|
args = _setup_configuration()
|
317
|
-
try:
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
except Exception as e:
|
327
|
-
|
317
|
+
# try:
|
318
|
+
generate_conversation(
|
319
|
+
technology = args.technology,
|
320
|
+
connector = args.connector_params,
|
321
|
+
user = os.path.join(config.profiles_path, args.user_profile),
|
322
|
+
personality = None, #todo: check this
|
323
|
+
output = args.output,
|
324
|
+
project_folder = args.project_path
|
325
|
+
)
|
326
|
+
# except Exception as e:
|
327
|
+
# logger.error(f"An error occurred while generating the conversation: {e}")
|
328
328
|
|
329
329
|
|
330
330
|
if __name__ == '__main__':
|
@@ -61,10 +61,10 @@ technologies/chatbots.py,sha256=apTbCU2paYLgVLAXg2h0HAigazJxIo7L9vKQpcJpqyM,3047
|
|
61
61
|
technologies/taskyto.py,sha256=d-I45hE0xKrFsV6qDkAZ0b98NAnaARAiSM5RE781CVw,5194
|
62
62
|
user_sim/__init__.py,sha256=hLzeYUaZDKIQet60JxHFB7Bhe3CL23yUmbJQPcfQFGE,479
|
63
63
|
user_sim/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
64
|
-
user_sim/cli/cli.py,sha256=
|
64
|
+
user_sim/cli/cli.py,sha256=yQBnt_C7GLZVcc9X4dXgdMfwIN1K5PWm0jOS5WnJ1j0,6581
|
65
65
|
user_sim/cli/gen_user_profile.py,sha256=PSm9wi2OhflLWHM1TNxL5W2xYFR82z2-24NhOQRye2M,1462
|
66
66
|
user_sim/cli/init_project.py,sha256=t4z4Omfo2_uh-mNjVOpFIxnnlWdtH9VUa3mD3q14v6A,1947
|
67
|
-
user_sim/cli/sensei_chat.py,sha256=
|
67
|
+
user_sim/cli/sensei_chat.py,sha256=Ud8OdYzOW9-sK9-9dKgLZabOxW4_Wf9ubgxxk-F17oY,13532
|
68
68
|
user_sim/cli/sensei_check.py,sha256=l_HIAPTw621MxXJ9fwmdE8BzDABt1XdalHVaKYH_QsQ,3900
|
69
69
|
user_sim/cli/validation_check.py,sha256=VUJlePbTfBJOgOx2sDamKD4cplvUlS7VKqr-v1rvFPE,5363
|
70
70
|
user_sim/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -91,9 +91,9 @@ user_sim/utils/show_logs.py,sha256=pqwksfYYFZEu3pb-4KJrV4OEaiAUrfc5-G1qz8akJmo,1
|
|
91
91
|
user_sim/utils/token_cost_calculator.py,sha256=4vFUh6OHgoZJcfxaRGARFUbyLkXPYUug6YJCM7luw6s,12540
|
92
92
|
user_sim/utils/url_management.py,sha256=MeUoT-O7XCPWJJ-1r3T_n1zFjj3NyeJXRt_b9Nkpzdw,1998
|
93
93
|
user_sim/utils/utilities.py,sha256=2SCGCrglHEPOzG1vBBTsnUjVt5snDnjhYV6yMGLDYM8,22189
|
94
|
-
user_simulator-0.3.
|
95
|
-
user_simulator-0.3.
|
96
|
-
user_simulator-0.3.
|
97
|
-
user_simulator-0.3.
|
98
|
-
user_simulator-0.3.
|
99
|
-
user_simulator-0.3.
|
94
|
+
user_simulator-0.3.4.dist-info/licenses/LICENSE.txt,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
|
95
|
+
user_simulator-0.3.4.dist-info/METADATA,sha256=ETnhG4zgN33jrnSBPe5W_tsEzNdFeVGxZVOedkV-Z_o,32009
|
96
|
+
user_simulator-0.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
97
|
+
user_simulator-0.3.4.dist-info/entry_points.txt,sha256=kfr0rD6mglTGGzYRfUwMTGfTtTOBnLjv3R-Uy61vvDQ,283
|
98
|
+
user_simulator-0.3.4.dist-info/top_level.txt,sha256=LrzGbvVpd3G7yTvdMS8_ehwULpNVHt7r1NBFk-ITb3A,46
|
99
|
+
user_simulator-0.3.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|