user-simulator 0.2.1__tar.gz → 0.2.2__tar.gz

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.
Files changed (54) hide show
  1. {user_simulator-0.2.1 → user_simulator-0.2.2}/PKG-INFO +1 -1
  2. {user_simulator-0.2.1 → user_simulator-0.2.2}/pyproject.toml +2 -2
  3. user_simulator-0.2.2/src/data/list_functions/number_list.py +24 -0
  4. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/cli/sensei_chat.py +14 -14
  5. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_simulator.egg-info/PKG-INFO +1 -1
  6. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_simulator.egg-info/SOURCES.txt +1 -0
  7. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_simulator.egg-info/top_level.txt +2 -0
  8. {user_simulator-0.2.1 → user_simulator-0.2.2}/LICENSE.txt +0 -0
  9. {user_simulator-0.2.1 → user_simulator-0.2.2}/README.md +0 -0
  10. {user_simulator-0.2.1 → user_simulator-0.2.2}/setup.cfg +0 -0
  11. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/metamorphic/__init__.py +0 -0
  12. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/metamorphic/results.py +0 -0
  13. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/metamorphic/rule_utils.py +0 -0
  14. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/metamorphic/rules.py +0 -0
  15. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/metamorphic/tests.py +0 -0
  16. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/metamorphic/text_comparison_utils.py +0 -0
  17. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/technologies/__init__.py +0 -0
  18. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/technologies/chatbot_connectors.py +0 -0
  19. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/technologies/chatbots.py +0 -0
  20. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/technologies/taskyto.py +0 -0
  21. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/__init__.py +0 -0
  22. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/cli/__init__.py +0 -0
  23. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/cli/cli.py +0 -0
  24. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/cli/gen_user_profile.py +0 -0
  25. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/cli/init_project.py +0 -0
  26. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/cli/sensei_check.py +0 -0
  27. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/cli/validation_check.py +0 -0
  28. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/core/__init__.py +0 -0
  29. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/core/ask_about.py +0 -0
  30. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/core/data_extraction.py +0 -0
  31. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/core/data_gathering.py +0 -0
  32. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/core/interaction_styles.py +0 -0
  33. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/core/role_structure.py +0 -0
  34. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/core/user_simulator.py +0 -0
  35. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/handlers/__init__.py +0 -0
  36. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/handlers/asr_module.py +0 -0
  37. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/handlers/html_parser_module.py +0 -0
  38. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/handlers/image_recognition_module.py +0 -0
  39. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/handlers/pdf_parser_module.py +0 -0
  40. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/__init__.py +0 -0
  41. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/config.py +0 -0
  42. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/cost_tracker.py +0 -0
  43. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/cost_tracker_v2.py +0 -0
  44. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/errors.py +0 -0
  45. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/exceptions.py +0 -0
  46. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/languages.py +0 -0
  47. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/register_management.py +0 -0
  48. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/show_logs.py +0 -0
  49. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/token_cost_calculator.py +0 -0
  50. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/url_management.py +0 -0
  51. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_sim/utils/utilities.py +0 -0
  52. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_simulator.egg-info/dependency_links.txt +0 -0
  53. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_simulator.egg-info/entry_points.txt +0 -0
  54. {user_simulator-0.2.1 → user_simulator-0.2.2}/src/user_simulator.egg-info/requires.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: user-simulator
3
- Version: 0.2.1
3
+ Version: 0.2.2
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "user-simulator"
3
- version = "0.2.1"
3
+ version = "0.2.2"
4
4
  description = "LLM-based user simulator for chatbot testing."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -54,4 +54,4 @@ package-dir = {"" = "src"}
54
54
 
55
55
  [tool.setuptools.packages.find]
56
56
  where = ["src"]
57
- include = ["user_sim*", "technologies*", "metamorphic*"]
57
+ include = ["user_sim*", "technologies*", "metamorphic*", "config*", "data*"]
@@ -0,0 +1,24 @@
1
+ import numpy as np
2
+ import yaml
3
+ import random
4
+
5
+ # these are only examples of functions to create lists.
6
+
7
+ def number_list(min, max, step):
8
+ numberlist = np.arange(min, max, step)
9
+ return numberlist.tolist()
10
+
11
+
12
+ def random_list():
13
+ randomlist = np.random.randint(0, 10, 3)
14
+ return randomlist.tolist()
15
+
16
+
17
+ def shuffle_list(file):
18
+ with open(file, 'r', encoding="UTF-8") as f:
19
+ yaml_file = yaml.safe_load(f)
20
+ dic = list(yaml_file.keys())
21
+ yaml_list = yaml_file[dic[0]]
22
+ copy_list = yaml_list.copy()
23
+ random.shuffle(copy_list)
24
+ return copy_list
@@ -3,7 +3,7 @@ import yaml
3
3
  import pandas as pd
4
4
  from argparse import Namespace
5
5
  from collections import Counter
6
- from cli import parse_chat_arguments
6
+ # from cli import parse_chat_arguments
7
7
  from argparse import ArgumentParser
8
8
  from colorama import Fore, Style
9
9
  # from technologies.chatbot_connectors import (Chatbot, ChatbotRasa, ChatbotTaskyto, ChatbotMillionBot,
@@ -118,19 +118,19 @@ def configure_project(project_path):
118
118
  # replace_values(con_yaml, parameters)
119
119
  # return con_yaml
120
120
 
121
- def _setup_configuration() -> Namespace:
122
- """Parse command line arguments, validate config, and create output dir.
123
-
124
- Returns:
125
- The parsed and validated command line arguments
126
-
127
- Raises:
128
- TracerError: If the specified technology is invalid
129
- """
130
- args = parse_chat_arguments()
131
-
132
- logger = create_logger(args.verbose, 'Info Logger')
133
- logger.info('Logs enabled!')
121
+ # def _setup_configuration() -> Namespace:
122
+ # """Parse command line arguments, validate config, and create output dir.
123
+ #
124
+ # Returns:
125
+ # The parsed and validated command line arguments
126
+ #
127
+ # Raises:
128
+ # TracerError: If the specified technology is invalid
129
+ # """
130
+ # args = parse_chat_arguments()
131
+ #
132
+ # logger = create_logger(args.verbose, 'Info Logger')
133
+ # logger.info('Logs enabled!')
134
134
 
135
135
 
136
136
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: user-simulator
3
- Version: 0.2.1
3
+ Version: 0.2.2
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
@@ -1,6 +1,7 @@
1
1
  LICENSE.txt
2
2
  README.md
3
3
  pyproject.toml
4
+ src/data/list_functions/number_list.py
4
5
  src/metamorphic/__init__.py
5
6
  src/metamorphic/results.py
6
7
  src/metamorphic/rule_utils.py
@@ -1,3 +1,5 @@
1
+ config
2
+ data
1
3
  metamorphic
2
4
  technologies
3
5
  user_sim
File without changes
File without changes