user-simulator 0.1.8__py3-none-any.whl → 0.1.9__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: user-simulator
3
- Version: 0.1.8
3
+ Version: 0.1.9
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,6 +32,7 @@ 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.5.0
35
36
  Requires-Dist: langchain>=0.3.25
36
37
  Requires-Dist: langchain-openai>=0.3.23
37
38
  Requires-Dist: pandas>=2.3.0
@@ -1,4 +1,3 @@
1
- data/list_functions/number_list.py,sha256=1BlyyjDc2gIghQTQNSkIP35lmk5eR9ADmwS1UGBX7ZQ,593
2
1
  metamorphic/__init__.py,sha256=BqyThH4lzS95P_YZ27b4K3rf5P9JgwHU9I3r99jSEiQ,135
3
2
  metamorphic/results.py,sha256=kKeud02cNpehVmHRAkVO-uf1rd-H7D8cAkSeiKmU8Jg,2040
4
3
  metamorphic/rule_utils.py,sha256=frm2IDxHEsYlvFVTQqFDEdfDVejNKtqhxreIOb7_Jrs,17978
@@ -40,9 +39,9 @@ user_sim/utils/show_logs.py,sha256=pqwksfYYFZEu3pb-4KJrV4OEaiAUrfc5-G1qz8akJmo,1
40
39
  user_sim/utils/token_cost_calculator.py,sha256=4vFUh6OHgoZJcfxaRGARFUbyLkXPYUug6YJCM7luw6s,12540
41
40
  user_sim/utils/url_management.py,sha256=MeUoT-O7XCPWJJ-1r3T_n1zFjj3NyeJXRt_b9Nkpzdw,1998
42
41
  user_sim/utils/utilities.py,sha256=gYFiaHEpZ1bVLzspH26hTU_Au9X1MDHy0fbcVSVwxxw,19766
43
- user_simulator-0.1.8.dist-info/licenses/LICENSE.txt,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
44
- user_simulator-0.1.8.dist-info/METADATA,sha256=CJDZ5fG8vij__aw4oqWr-9KTZ6O1qgZF3Axmdt4Al_4,31705
45
- user_simulator-0.1.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
46
- user_simulator-0.1.8.dist-info/entry_points.txt,sha256=kfr0rD6mglTGGzYRfUwMTGfTtTOBnLjv3R-Uy61vvDQ,283
47
- user_simulator-0.1.8.dist-info/top_level.txt,sha256=MWxB7cP3CckTVi4WWjejVAnJiPKwQSpGihrVfyPewGE,39
48
- user_simulator-0.1.8.dist-info/RECORD,,
42
+ user_simulator-0.1.9.dist-info/licenses/LICENSE.txt,sha256=Qv2ilebwoUtMJnRsZwRy729xS5JZQzLauJ0tQzkAkTA,1088
43
+ user_simulator-0.1.9.dist-info/METADATA,sha256=pDLmEebHw7AEw4RWoEpw9-BvLdjHKi0wywowVmuxnwA,31736
44
+ user_simulator-0.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
45
+ user_simulator-0.1.9.dist-info/entry_points.txt,sha256=kfr0rD6mglTGGzYRfUwMTGfTtTOBnLjv3R-Uy61vvDQ,283
46
+ user_simulator-0.1.9.dist-info/top_level.txt,sha256=IGlrGt_QHrM2G3Mlo76gMp8ArUR_F9k4RrzJd8YHpE4,34
47
+ user_simulator-0.1.9.dist-info/RECORD,,
@@ -1,4 +1,3 @@
1
- data
2
1
  metamorphic
3
2
  technologies
4
3
  user_sim
@@ -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