user-simulator 0.2.4__py3-none-any.whl → 0.2.5__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.
@@ -78,10 +78,14 @@ def load_yaml_files_from_folder(folder_path, existing_keys=None):
78
78
 
79
79
 
80
80
  def configure_project(project_path):
81
+
81
82
  config.project_folder_path = project_path
82
83
  config.profiles_path = os.path.join(project_path, "profiles")
83
84
  config.custom_personalities_folder = os.path.join(project_path, "personalities")
84
85
 
86
+ config.root_path = os.path.abspath(os.path.join(current_script_dir, "../../.."))
87
+ config.src_path = os.path.abspath(os.path.join(current_script_dir, "../.."))
88
+
85
89
  custom_types_path = os.path.join(project_path, "types")
86
90
  default_types_path = os.path.join(config.src_path, "config", "types")
87
91
 
@@ -476,10 +480,12 @@ def main():
476
480
  parser.error(f"The following arguments are required when not using --run_from_yaml: {', '.join(missing_args)}")
477
481
 
478
482
  configure_project(parser_args.project_path)
479
- config.root_path = os.path.abspath(os.path.join(current_script_dir, "../../.."))
480
- config.src_path = os.path.abspath(os.path.join(current_script_dir, "../.."))
483
+ # config.root_path = os.path.abspath(os.path.join(current_script_dir, "../../.."))
484
+ # config.src_path = os.path.abspath(os.path.join(current_script_dir, "../.."))
481
485
  profile_path = os.path.join(config.profiles_path, parser_args.user_profile)
482
486
 
487
+ print(config.src_path)
488
+
483
489
 
484
490
 
485
491
  # check_keys(["OPENAI_API_KEY"])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: user-simulator
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: LLM-based user simulator for chatbot testing.
5
5
  Author: Alejandro Del Pozzo Escalera, Juan de Lara Jaramillo, Esther Guerra Sánchez
6
6
  License: MIT License
@@ -14,7 +14,7 @@ user_sim/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  user_sim/cli/cli.py,sha256=uC5aiyYD9BFx6jTKSliB_BSyZB1mkjacK3pAzhYESSY,3288
15
15
  user_sim/cli/gen_user_profile.py,sha256=PSm9wi2OhflLWHM1TNxL5W2xYFR82z2-24NhOQRye2M,1462
16
16
  user_sim/cli/init_project.py,sha256=t4z4Omfo2_uh-mNjVOpFIxnnlWdtH9VUa3mD3q14v6A,1947
17
- user_sim/cli/sensei_chat.py,sha256=XIug2BB9rAUzFuDA0jMUy07X2VFCWL3gMVbcMj1lnfw,21392
17
+ user_sim/cli/sensei_chat.py,sha256=hKtG1Ch31mdsxWxl5DyjOyx6g6XG7wzwEKjP92asNm0,21598
18
18
  user_sim/cli/sensei_check.py,sha256=l_HIAPTw621MxXJ9fwmdE8BzDABt1XdalHVaKYH_QsQ,3900
19
19
  user_sim/cli/validation_check.py,sha256=VUJlePbTfBJOgOx2sDamKD4cplvUlS7VKqr-v1rvFPE,5363
20
20
  user_sim/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -41,9 +41,9 @@ user_sim/utils/show_logs.py,sha256=pqwksfYYFZEu3pb-4KJrV4OEaiAUrfc5-G1qz8akJmo,1
41
41
  user_sim/utils/token_cost_calculator.py,sha256=4vFUh6OHgoZJcfxaRGARFUbyLkXPYUug6YJCM7luw6s,12540
42
42
  user_sim/utils/url_management.py,sha256=MeUoT-O7XCPWJJ-1r3T_n1zFjj3NyeJXRt_b9Nkpzdw,1998
43
43
  user_sim/utils/utilities.py,sha256=ixv48MMPaIaj12aBO0pIxIgwWie0oEMX2lckPm1_SeU,21568
44
- user_simulator-0.2.4.dist-info/licenses/LICENSE.txt,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
45
- user_simulator-0.2.4.dist-info/METADATA,sha256=Td-hOBCzxG7GGOQ_MQweZV6s7NjDEURXCij3P2jFYLk,31898
46
- user_simulator-0.2.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
- user_simulator-0.2.4.dist-info/entry_points.txt,sha256=kfr0rD6mglTGGzYRfUwMTGfTtTOBnLjv3R-Uy61vvDQ,283
48
- user_simulator-0.2.4.dist-info/top_level.txt,sha256=MWxB7cP3CckTVi4WWjejVAnJiPKwQSpGihrVfyPewGE,39
49
- user_simulator-0.2.4.dist-info/RECORD,,
44
+ user_simulator-0.2.5.dist-info/licenses/LICENSE.txt,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
45
+ user_simulator-0.2.5.dist-info/METADATA,sha256=3mWzqwdASlJtw-kREBM4Vp9HxqRmMLN5oV9s2SG_6RM,31898
46
+ user_simulator-0.2.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
+ user_simulator-0.2.5.dist-info/entry_points.txt,sha256=kfr0rD6mglTGGzYRfUwMTGfTtTOBnLjv3R-Uy61vvDQ,283
48
+ user_simulator-0.2.5.dist-info/top_level.txt,sha256=MWxB7cP3CckTVi4WWjejVAnJiPKwQSpGihrVfyPewGE,39
49
+ user_simulator-0.2.5.dist-info/RECORD,,