user-simulator 0.1.9__tar.gz → 0.1.10__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.
- {user_simulator-0.1.9 → user_simulator-0.1.10}/PKG-INFO +4 -2
- {user_simulator-0.1.9 → user_simulator-0.1.10}/pyproject.toml +54 -54
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/__init__.py +1 -1
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/cli/sensei_chat.py +2 -2
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_simulator.egg-info/PKG-INFO +4 -2
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_simulator.egg-info/SOURCES.txt +0 -1
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_simulator.egg-info/requires.txt +3 -1
- user_simulator-0.1.9/src/data/list_functions/number_list.py +0 -24
- {user_simulator-0.1.9 → user_simulator-0.1.10}/LICENSE.txt +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/README.md +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/setup.cfg +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/metamorphic/__init__.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/metamorphic/results.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/metamorphic/rule_utils.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/metamorphic/rules.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/metamorphic/tests.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/metamorphic/text_comparison_utils.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/technologies/__init__.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/technologies/chatbot_connectors.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/technologies/chatbots.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/technologies/taskyto.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/cli/__init__.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/cli/gen_user_profile.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/cli/init_project.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/cli/sensei_check.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/cli/validation_check.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/core/__init__.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/core/ask_about.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/core/data_extraction.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/core/data_gathering.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/core/interaction_styles.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/core/role_structure.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/core/user_simulator.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/handlers/__init__.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/handlers/asr_module.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/handlers/html_parser_module.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/handlers/image_recognition_module.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/handlers/pdf_parser_module.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/__init__.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/config.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/cost_tracker.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/cost_tracker_v2.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/errors.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/exceptions.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/languages.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/register_management.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/show_logs.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/token_cost_calculator.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/url_management.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/utils/utilities.py +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_simulator.egg-info/dependency_links.txt +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_simulator.egg-info/entry_points.txt +0 -0
- {user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_simulator.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: user-simulator
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.10
|
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
|
@@ -32,11 +32,13 @@ Requires-Dist: allpairspy>=2.5.1
|
|
32
32
|
Requires-Dist: beautifulsoup4>=4.13.4
|
33
33
|
Requires-Dist: colorama>=0.4.6
|
34
34
|
Requires-Dist: httpx>=0.28.1
|
35
|
-
Requires-Dist: inflect>=7.
|
35
|
+
Requires-Dist: inflect>=7.0.0
|
36
36
|
Requires-Dist: langchain>=0.3.25
|
37
37
|
Requires-Dist: langchain-openai>=0.3.23
|
38
|
+
Requires-Dist: openai>=1.0.0
|
38
39
|
Requires-Dist: pandas>=2.3.0
|
39
40
|
Requires-Dist: pillow>=11.2.1
|
41
|
+
Requires-Dist: pydantic>=2.0.0
|
40
42
|
Requires-Dist: pymupdf>=1.26.1
|
41
43
|
Requires-Dist: pyyaml>=6.0.2
|
42
44
|
Requires-Dist: requests>=2.32.4
|
@@ -1,54 +1,54 @@
|
|
1
|
-
[project]
|
2
|
-
name = "user-simulator"
|
3
|
-
version = "0.1.
|
4
|
-
description = "LLM-based user simulator for chatbot testing."
|
5
|
-
readme = "README.md"
|
6
|
-
requires-python = ">=3.12"
|
7
|
-
license = {file = "LICENSE.txt"}
|
8
|
-
|
9
|
-
authors = [
|
10
|
-
{name = "Alejandro Del Pozzo Escalera"},
|
11
|
-
{name = "Juan de Lara Jaramillo"},
|
12
|
-
{name = "Esther Guerra Sánchez"}
|
13
|
-
]
|
14
|
-
|
15
|
-
dependencies = [
|
16
|
-
"allpairspy>=2.5.1",
|
17
|
-
"beautifulsoup4>=4.13.4",
|
18
|
-
"colorama>=0.4.6",
|
19
|
-
"httpx>=0.28.1",
|
20
|
-
"inflect>=7.
|
21
|
-
"langchain>=0.3.25",
|
22
|
-
"langchain-openai>=0.3.23",
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
sensei-
|
40
|
-
sensei-
|
41
|
-
sensei-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
build-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
1
|
+
[project]
|
2
|
+
name = "user-simulator"
|
3
|
+
version = "0.1.10"
|
4
|
+
description = "LLM-based user simulator for chatbot testing."
|
5
|
+
readme = "README.md"
|
6
|
+
requires-python = ">=3.12"
|
7
|
+
license = {file = "LICENSE.txt"}
|
8
|
+
|
9
|
+
authors = [
|
10
|
+
{name = "Alejandro Del Pozzo Escalera"},
|
11
|
+
{name = "Juan de Lara Jaramillo"},
|
12
|
+
{name = "Esther Guerra Sánchez"}
|
13
|
+
]
|
14
|
+
|
15
|
+
dependencies = [
|
16
|
+
"allpairspy>=2.5.1",
|
17
|
+
"beautifulsoup4>=4.13.4",
|
18
|
+
"colorama>=0.4.6",
|
19
|
+
"httpx>=0.28.1",
|
20
|
+
"inflect>=7.0.0",
|
21
|
+
"langchain>=0.3.25",
|
22
|
+
"langchain-openai>=0.3.23",
|
23
|
+
"openai>=1.0.0",
|
24
|
+
"pandas>=2.3.0",
|
25
|
+
"pillow>=11.2.1",
|
26
|
+
"pydantic>=2.0.0",
|
27
|
+
"pymupdf>=1.26.1",
|
28
|
+
"pyyaml>=6.0.2",
|
29
|
+
"requests>=2.32.4",
|
30
|
+
"scikit-learn>=1.7.0",
|
31
|
+
"selenium>=4.33.0",
|
32
|
+
"webdriver-manager>=4.0.2",
|
33
|
+
]
|
34
|
+
|
35
|
+
[project.urls]
|
36
|
+
Homepage = "https://github.com/satori-chatbots/user-simulator"
|
37
|
+
|
38
|
+
[project.scripts]
|
39
|
+
sensei-init-project = "user_sim.cli.init_project:main"
|
40
|
+
sensei-chat = "user_sim.cli.sensei_chat:main"
|
41
|
+
sensei-check = "user_sim.cli.sensei_check:main"
|
42
|
+
sensei-validation-check = "user_sim.cli.validation_check:main"
|
43
|
+
sensei-gen-user-profile = "user_sim.cli.gen_user_profile:main"
|
44
|
+
|
45
|
+
[build-system]
|
46
|
+
requires = ["setuptools>=61.0"]
|
47
|
+
build-backend = "setuptools.build_meta"
|
48
|
+
|
49
|
+
[tool.setuptools]
|
50
|
+
package-dir = {"" = "src"}
|
51
|
+
|
52
|
+
[tool.setuptools.packages.find]
|
53
|
+
where = ["src"]
|
54
|
+
include = ["user_sim*", "technologies*", "metamorphic*"]
|
@@ -4,7 +4,7 @@ import pandas as pd
|
|
4
4
|
from collections import Counter
|
5
5
|
from argparse import ArgumentParser
|
6
6
|
from colorama import Fore, Style
|
7
|
-
from
|
7
|
+
from technologies.chatbot_connectors import (Chatbot, ChatbotRasa, ChatbotTaskyto, ChatbotMillionBot,
|
8
8
|
ChatbotServiceform)
|
9
9
|
from user_sim.core.data_extraction import DataExtraction
|
10
10
|
from user_sim.core.role_structure import *
|
@@ -79,7 +79,7 @@ def configure_project(project_path):
|
|
79
79
|
config.custom_personalities_folder = os.path.join(project_path, "personalities")
|
80
80
|
|
81
81
|
custom_types_path = os.path.join(project_path, "types")
|
82
|
-
default_types_path = os.path.join(config.root_path,
|
82
|
+
default_types_path = os.path.join(config.root_path, "config", "types")
|
83
83
|
|
84
84
|
custom_types = load_yaml_files_from_folder(custom_types_path)
|
85
85
|
default_types = load_yaml_files_from_folder(default_types_path, existing_keys=custom_types.keys())
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: user-simulator
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.10
|
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
|
@@ -32,11 +32,13 @@ Requires-Dist: allpairspy>=2.5.1
|
|
32
32
|
Requires-Dist: beautifulsoup4>=4.13.4
|
33
33
|
Requires-Dist: colorama>=0.4.6
|
34
34
|
Requires-Dist: httpx>=0.28.1
|
35
|
-
Requires-Dist: inflect>=7.
|
35
|
+
Requires-Dist: inflect>=7.0.0
|
36
36
|
Requires-Dist: langchain>=0.3.25
|
37
37
|
Requires-Dist: langchain-openai>=0.3.23
|
38
|
+
Requires-Dist: openai>=1.0.0
|
38
39
|
Requires-Dist: pandas>=2.3.0
|
39
40
|
Requires-Dist: pillow>=11.2.1
|
41
|
+
Requires-Dist: pydantic>=2.0.0
|
40
42
|
Requires-Dist: pymupdf>=1.26.1
|
41
43
|
Requires-Dist: pyyaml>=6.0.2
|
42
44
|
Requires-Dist: requests>=2.32.4
|
@@ -2,11 +2,13 @@ allpairspy>=2.5.1
|
|
2
2
|
beautifulsoup4>=4.13.4
|
3
3
|
colorama>=0.4.6
|
4
4
|
httpx>=0.28.1
|
5
|
-
inflect>=7.
|
5
|
+
inflect>=7.0.0
|
6
6
|
langchain>=0.3.25
|
7
7
|
langchain-openai>=0.3.23
|
8
|
+
openai>=1.0.0
|
8
9
|
pandas>=2.3.0
|
9
10
|
pillow>=11.2.1
|
11
|
+
pydantic>=2.0.0
|
10
12
|
pymupdf>=1.26.1
|
11
13
|
pyyaml>=6.0.2
|
12
14
|
requests>=2.32.4
|
@@ -1,24 +0,0 @@
|
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_sim/handlers/image_recognition_module.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{user_simulator-0.1.9 → user_simulator-0.1.10}/src/user_simulator.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|