aiverify-moonshot 0.6.2__py3-none-any.whl → 0.6.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.
- aiverify_moonshot-0.6.4.dist-info/METADATA +241 -0
- {aiverify_moonshot-0.6.2.dist-info → aiverify_moonshot-0.6.4.dist-info}/RECORD +29 -29
- aiverify_moonshot-0.6.4.dist-info/licenses/NOTICES.md +1187 -0
- moonshot/integrations/cli/__main__.py +1 -3
- moonshot/integrations/cli/redteam/session.py +8 -8
- moonshot/integrations/web_api/app.py +1 -1
- moonshot/integrations/web_api/routes/benchmark_result.py +1 -0
- moonshot/integrations/web_api/routes/bookmark.py +5 -2
- moonshot/integrations/web_api/routes/context_strategy.py +3 -1
- moonshot/integrations/web_api/routes/prompt_template.py +1 -0
- moonshot/integrations/web_api/schemas/cookbook_create_dto.py +4 -2
- moonshot/integrations/web_api/schemas/prompt_response_model.py +0 -1
- moonshot/integrations/web_api/schemas/recipe_create_dto.py +2 -1
- moonshot/integrations/web_api/services/context_strategy_service.py +1 -4
- moonshot/integrations/web_api/services/cookbook_service.py +0 -2
- moonshot/integrations/web_api/services/session_service.py +5 -5
- moonshot/integrations/web_api/services/utils/exceptions_handler.py +47 -10
- moonshot/integrations/web_api/services/utils/results_formatter.py +25 -16
- moonshot/integrations/web_api/status_updater/interface/benchmark_progress_callback.py +3 -3
- moonshot/integrations/web_api/status_updater/interface/redteam_progress_callback.py +3 -3
- moonshot/src/bookmark/bookmark.py +52 -29
- moonshot/src/bookmark/bookmark_arguments.py +9 -5
- moonshot/src/connectors/connector.py +33 -25
- moonshot/src/connectors_endpoints/connector_endpoint.py +37 -14
- moonshot/src/cookbooks/cookbook_arguments.py +1 -1
- moonshot/src/redteaming/attack/attack_module.py +9 -3
- aiverify_moonshot-0.6.2.dist-info/METADATA +0 -254
- aiverify_moonshot-0.6.2.dist-info/licenses/NOTICES.md +0 -2506
- {aiverify_moonshot-0.6.2.dist-info → aiverify_moonshot-0.6.4.dist-info}/WHEEL +0 -0
- {aiverify_moonshot-0.6.2.dist-info → aiverify_moonshot-0.6.4.dist-info}/licenses/AUTHORS.md +0 -0
- {aiverify_moonshot-0.6.2.dist-info → aiverify_moonshot-0.6.4.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aiverify-moonshot
|
|
3
|
+
Version: 0.6.4
|
|
4
|
+
Summary: AI Verify advances Gen AI testing with Project Moonshot.
|
|
5
|
+
Project-URL: Repository, https://github.com/aiverify-foundation/moonshot
|
|
6
|
+
Project-URL: Documentation, https://aiverify-foundation.github.io/moonshot/
|
|
7
|
+
Project-URL: Issues, https://github.com/aiverify-foundation/moonshot/issues
|
|
8
|
+
Author-email: AI Verify Foundation <info@aiverify.sg>
|
|
9
|
+
License: Apache-2.0
|
|
10
|
+
License-File: AUTHORS.md
|
|
11
|
+
License-File: LICENSE.md
|
|
12
|
+
License-File: NOTICES.md
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Requires-Python: >=3.11
|
|
18
|
+
Requires-Dist: datasets>=2.21.0
|
|
19
|
+
Requires-Dist: ijson>=3.3.0
|
|
20
|
+
Requires-Dist: jinja2>=3.1.4
|
|
21
|
+
Requires-Dist: numpy>=1.26.4
|
|
22
|
+
Requires-Dist: pandas>=2.2.2
|
|
23
|
+
Requires-Dist: pydantic==2.8.2
|
|
24
|
+
Requires-Dist: pyparsing>=3.1.4
|
|
25
|
+
Requires-Dist: python-dotenv>=1.0.1
|
|
26
|
+
Requires-Dist: python-multipart>=0.0.9
|
|
27
|
+
Requires-Dist: python-slugify>=8.0.4
|
|
28
|
+
Requires-Dist: tenacity>=8.5.0
|
|
29
|
+
Requires-Dist: xxhash>=3.5.0
|
|
30
|
+
Provides-Extra: all
|
|
31
|
+
Requires-Dist: cmd2>=2.4.3; extra == 'all'
|
|
32
|
+
Requires-Dist: dependency-injector>=4.41.0; extra == 'all'
|
|
33
|
+
Requires-Dist: fastapi>=0.115.4; extra == 'all'
|
|
34
|
+
Requires-Dist: rich>=13.8.0; extra == 'all'
|
|
35
|
+
Requires-Dist: typing-extensions>=4.12.2; extra == 'all'
|
|
36
|
+
Requires-Dist: uvicorn>=0.30.6; extra == 'all'
|
|
37
|
+
Provides-Extra: cli
|
|
38
|
+
Requires-Dist: cmd2>=2.4.3; extra == 'cli'
|
|
39
|
+
Requires-Dist: rich>=13.8.0; extra == 'cli'
|
|
40
|
+
Provides-Extra: web-api
|
|
41
|
+
Requires-Dist: dependency-injector>=4.41.0; extra == 'web-api'
|
|
42
|
+
Requires-Dist: fastapi>=0.115.4; extra == 'web-api'
|
|
43
|
+
Requires-Dist: typing-extensions>=4.12.2; extra == 'web-api'
|
|
44
|
+
Requires-Dist: uvicorn>=0.30.6; extra == 'web-api'
|
|
45
|
+
Description-Content-Type: text/markdown
|
|
46
|
+
|
|
47
|
+
<div align="center">
|
|
48
|
+
|
|
49
|
+

|
|
50
|
+
|
|
51
|
+
**Version 0.6.4**
|
|
52
|
+
|
|
53
|
+
A simple and modular tool to evaluate any LLM-based AI systems.
|
|
54
|
+
|
|
55
|
+
[](https://www.python.org/downloads/release/python-3111/)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
## 🎯 Motivation
|
|
61
|
+
|
|
62
|
+
Developed by the [AI Verify Foundation](https://aiverifyfoundation.sg/), [Moonshot](https://aiverifyfoundation.sg/project-moonshot/) is one of the first tools to bring Benchmarking and Red-Teaming together to help AI developers, compliance teams and AI system owners <b>evaluate LLMs and LLM-based AI systems</b>.
|
|
63
|
+
|
|
64
|
+
</br>
|
|
65
|
+
|
|
66
|
+
## 🚀 Why Moonshot
|
|
67
|
+
|
|
68
|
+
In the rapidly evolving landscape of Generative AI, ensuring safety, reliability, and performance of AI systems is paramount. Moonshot addresses this critical need by providing a unified platform for:
|
|
69
|
+
- <b>Benchmark Tests:</b> Systematically test LLMs across various performance metrics, and critical trust & safety dimensions using a wide array of open-source benchmarks and domain-specific tests.
|
|
70
|
+
- <b>Red Team Attacks:</b> Proactively identify vulnerabilities and potential misuse scenarios in your AI systems through streamlined adversarial prompting.
|
|
71
|
+
- <b>Streamline MLOps:</b> Integrate evaluation seamlessly into your development pipeline with flexible APIs.
|
|
72
|
+
|
|
73
|
+
</br>
|
|
74
|
+
|
|
75
|
+
## 🔑 Key Features
|
|
76
|
+
|
|
77
|
+
- <b>User-friendly Interfaces:</b> Interact with Moonshot via an intuitive Web UI for visual insights, and an interactive Command Line Interface (CLI) for quick operations.
|
|
78
|
+
- <b>Comprehensive Benchmarking:</b>
|
|
79
|
+
- [View list of available datasets available](https://aiverify-foundation.github.io/moonshot/resources/datasets/)
|
|
80
|
+
- Test for <b>Performance</b> (e.g., accuracy, BLEU)
|
|
81
|
+
- Ensure <b>Trust & Safety</b> e.g., bias, toxicity, hallucination)
|
|
82
|
+
- Utilize pre-built Cookbooks of tests or easily create your custom evaluations. [View available pre-built Cookbooks](https://aiverify-foundation.github.io/moonshot/resources/cookbooks/)
|
|
83
|
+
- <b>Powerful Red-Teaming:</b>
|
|
84
|
+
- [View list of available attack modules](https://aiverify-foundation.github.io/moonshot/resources/attack_modules/)
|
|
85
|
+
- Simplify adversarial prompt generation using algorithmic strategies or generative LLM to uncover potential misuse.
|
|
86
|
+
- Leverage prompt templates, context strategies, and automated attack modules.
|
|
87
|
+
- <b>Customizable Recipes:</b> Define your evaluation logic with custom datasets (input-target pairs), metrics, optional prompt templates, evaluation metric, and grading scales. [View available pre-built Recipes](https://aiverify-foundation.github.io/moonshot/resources/recipes/)
|
|
88
|
+
- <b>Insightful Reporting:</b> Generate comprehensive HTML reports with interactive charts for clear visualization of test results, and detailed raw JSON results for deeper programmatic analysis.
|
|
89
|
+
- <b>Extensible & Modular:</b> Designed for easy extension and integration with new LLMs, benchmarks, and attack techniques.
|
|
90
|
+
|
|
91
|
+
</br>
|
|
92
|
+
|
|
93
|
+
# Getting Started
|
|
94
|
+
|
|
95
|
+
In this Beta version, Moonshot can be used through several interfaces:
|
|
96
|
+
- User-friendly Web UI - [Web UI User Guide](https://aiverify-foundation.github.io/moonshot/user_guide/web_ui/web_ui_guide/)
|
|
97
|
+
- Interactive Command Line Interface - [CLI User Guide](https://aiverify-foundation.github.io/moonshot/user_guide/cli/connecting_endpoints/)
|
|
98
|
+
- Seamless Integration into your MLOps workflow via Moonshot Library APIs or Moonshot Web APIs - [Notebook Examples](https://github.com/aiverify-foundation/moonshot/tree/main/examples/jupyter-notebook), [Web API Docs](https://aiverify-foundation.github.io/moonshot/api_reference/web_api_swagger/)
|
|
99
|
+
|
|
100
|
+
</br>
|
|
101
|
+
|
|
102
|
+
## 💻 Let's Go!
|
|
103
|
+
|
|
104
|
+
This section will guide you through getting Moonshot up and running.
|
|
105
|
+
|
|
106
|
+
</br>
|
|
107
|
+
|
|
108
|
+
### ✅ Prerequisites
|
|
109
|
+
1. <b>Python:</b> [Version 3.11](https://www.python.org/downloads/) is required.
|
|
110
|
+
|
|
111
|
+
2. <b>Git Version Control:</b> [Git](https://github.com/git-guides/install-git) is essential for cloning the repository.
|
|
112
|
+
|
|
113
|
+
3. <b>(Optional) Virtual Environment:</b> Highly recommended to manage dependencies.
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
# Create a virtual environment
|
|
117
|
+
python -m venv venv
|
|
118
|
+
|
|
119
|
+
# Activate the virtual environment
|
|
120
|
+
source venv/bin/activate
|
|
121
|
+
```
|
|
122
|
+
4. If you plan to install our Web UI, you will also need [Node.js version 20.11.1 LTS](https://nodejs.org/en/blog/release/v20.11.1) and above
|
|
123
|
+
</br>
|
|
124
|
+
|
|
125
|
+
### ⬇️ Installation
|
|
126
|
+
|
|
127
|
+
You can install Moonshot in various ways depending on your needs
|
|
128
|
+
|
|
129
|
+
<b>1. Using `pip` (Recommended for most users)</b>
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
# Install Project Moonshot's Python Library, which includes Moonshot's full functionalities (Library APIs, CLI and Web APIs)
|
|
133
|
+
pip install "aiverify-moonshot[all]"
|
|
134
|
+
|
|
135
|
+
# Clone and install test assets and Web UI
|
|
136
|
+
python -m moonshot -i moonshot-data -i moonshot-ui
|
|
137
|
+
```
|
|
138
|
+
⚠️ You will need to have test assets from [moonshot-data](https://github.com/aiverify-foundation/moonshot-data) before you can run any tests.
|
|
139
|
+
|
|
140
|
+
🖼️ If you plan to install our Web UI, you will also need [moonshot-ui](https://github.com/aiverify-foundation/moonshot-ui)
|
|
141
|
+
|
|
142
|
+
Check out our [Installation Guide](https://aiverify-foundation.github.io/moonshot/getting_started/quick_install/) for more details.
|
|
143
|
+
|
|
144
|
+
</br>
|
|
145
|
+
|
|
146
|
+
<b>2. From Source Code (For developers and contributors)</b>
|
|
147
|
+
|
|
148
|
+
```
|
|
149
|
+
# To install from source code (Full functionalities)
|
|
150
|
+
git clone git@github.com:aiverify-foundation/moonshot.git
|
|
151
|
+
cd moonshot
|
|
152
|
+
pip install -r requirements.txt
|
|
153
|
+
```
|
|
154
|
+
If you have installation issues, please take a look at the [Troubleshooting Guide](https://aiverify-foundation.github.io/moonshot/faq/).
|
|
155
|
+
<details>
|
|
156
|
+
<summary><b>Other installation options</b></summary>
|
|
157
|
+
Here's a summary of other installation commands available:
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
# To install Moonshot library APIs only
|
|
161
|
+
pip install aiverify-moonshot
|
|
162
|
+
|
|
163
|
+
# To install Moonshot library APIs and Web APIs only
|
|
164
|
+
pip install "aiverify-moonshot[web-api]"
|
|
165
|
+
|
|
166
|
+
# To install Moonshot library APIs and CLI only
|
|
167
|
+
pip install "aiverify-moonshot[cli]"
|
|
168
|
+
```
|
|
169
|
+
Check out our [Installation Guide](https://aiverify-foundation.github.io/moonshot/getting_started/quick_install/) for more details.
|
|
170
|
+
</details>
|
|
171
|
+
|
|
172
|
+
</br>
|
|
173
|
+
|
|
174
|
+
### 🏃♀️ Run Moonshot
|
|
175
|
+
|
|
176
|
+
#### Running the Web UI
|
|
177
|
+
```
|
|
178
|
+
python -m moonshot web
|
|
179
|
+
```
|
|
180
|
+
Open [http://localhost:3000/](http://localhost:3000/) in a browser and you should see this homepage:
|
|
181
|
+
|
|
182
|
+

|
|
183
|
+
|
|
184
|
+
Refer to this [guide](https://aiverify-foundation.github.io/moonshot/user_guide/web_ui/moonshot_interface/homepage/) to discover the rich features available in Moonshot Web UI
|
|
185
|
+
|
|
186
|
+
</br>
|
|
187
|
+
|
|
188
|
+
#### Running the Interactive CLI
|
|
189
|
+
```
|
|
190
|
+
python -m moonshot cli interactive
|
|
191
|
+
```
|
|
192
|
+

|
|
193
|
+
|
|
194
|
+
Refer to this [Command List](https://aiverify-foundation.github.io/moonshot/user_guide/cli/cli_command_list/) to discover the list of CLI commands for Moonshot
|
|
195
|
+
|
|
196
|
+
</br></br>
|
|
197
|
+
|
|
198
|
+
# 📚 Documentation & User Guides
|
|
199
|
+
|
|
200
|
+
For detailed information on configuring, using, and extending Moonshot, please refer to our comprehensive documentation:
|
|
201
|
+
|
|
202
|
+
#### Guides for Moonshot Web UI
|
|
203
|
+
- [Getting Started with Moonshot Web UI](https://aiverify-foundation.github.io/moonshot/user_guide/web_ui/web_ui_guide/)
|
|
204
|
+
- [Creating Your Custom Cookbook via Moonshot Web UI](https://aiverify-foundation.github.io/moonshot/tutorial/web-ui/create_cookbook/)
|
|
205
|
+
- [Creating Your Custom Connector Endpoint via Moonshot Web UI](https://aiverify-foundation.github.io/moonshot/tutorial/web-ui/create_endpoint/)
|
|
206
|
+
- [Running Benchmark Test on Moonshot Web UI](https://aiverify-foundation.github.io/moonshot/getting_started/first_test/)
|
|
207
|
+
- [Running Red Teaming on Moonshot Web UI](https://aiverify-foundation.github.io/moonshot/tutorial/web-ui/redteam/)
|
|
208
|
+
|
|
209
|
+
#### Guides for Moonshot Interactive CLI
|
|
210
|
+
- [Getting Started with Moonshot Interactive CLI](https://aiverify-foundation.github.io/moonshot/user_guide/cli/connecting_endpoints/)
|
|
211
|
+
- [Creating Your Custom Benchmark Tests for Your RAG Apps via Moonshot Interactive CLI](https://aiverify-foundation.github.io/moonshot/tutorial/cli/create_benchmark_tests/)
|
|
212
|
+
- [Creating Your Custom Connector Endpoint via Moonshot Interactive CLI](https://aiverify-foundation.github.io/moonshot/tutorial/cli/create_endpoint/)
|
|
213
|
+
- [Running Benchmark Test on Moonshot Interactive CLI](https://aiverify-foundation.github.io/moonshot/tutorial/cli/run_benchmark_tests/)
|
|
214
|
+
- [Running Red Teaming on Moonshot Interactive CLI](https://aiverify-foundation.github.io/moonshot/tutorial/cli/run_red_teaming/)
|
|
215
|
+
|
|
216
|
+
#### For Users Interested in trying Out Moonshot using Jupyter Notebook
|
|
217
|
+
- [Moonshot Library Python Notebook Examples](https://github.com/aiverify-foundation/moonshot/tree/main/examples/jupyter-notebook)
|
|
218
|
+
|
|
219
|
+
####
|
|
220
|
+
|
|
221
|
+
</br>
|
|
222
|
+
|
|
223
|
+
## 🤝 Contribution
|
|
224
|
+
|
|
225
|
+
Moonshot is an open-source project, and we welcome contributions from the community! Whether fixing a bug, adding a new feature, improving documentation, or suggesting an enhancement, your efforts are highly valued.
|
|
226
|
+
|
|
227
|
+
Please refer to our [Contributor Guide](https://aiverify-foundation.github.io/moonshot/contributing/) for details on how to get started.
|
|
228
|
+
|
|
229
|
+
</br>
|
|
230
|
+
|
|
231
|
+
## ✨ Project Status
|
|
232
|
+
|
|
233
|
+
Moonshot is currently in beta. We are actively developing new features, improving existing ones, and enhancing stability. We encourage you to try it out and provide feedback!
|
|
234
|
+
|
|
235
|
+
</br>
|
|
236
|
+
|
|
237
|
+
## 📜 License
|
|
238
|
+
|
|
239
|
+
Moonshot is released under the [Apache Software License 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)
|
|
240
|
+
|
|
241
|
+
</br>
|
|
@@ -3,7 +3,7 @@ moonshot/__main__.py,sha256=5lD240TY2YfG_p0sQtoHsw9V4DWWI3otpzIYP1hUbC8,12056
|
|
|
3
3
|
moonshot/api.py,sha256=wvad-BcKDKEu25c6-YrsBx_uPiLKIBRsbwgThT50Uh0,4877
|
|
4
4
|
moonshot/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
moonshot/integrations/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
moonshot/integrations/cli/__main__.py,sha256=
|
|
6
|
+
moonshot/integrations/cli/__main__.py,sha256=8tADdK3A05Ro8ZDwSftqMMnJb_3US51IKkYF2hVJ76k,652
|
|
7
7
|
moonshot/integrations/cli/active_session_cfg.py,sha256=n8hOFxFjvz26qbEFY4q7iPUZYrGLoeCmXJxmOb_xWUE,20
|
|
8
8
|
moonshot/integrations/cli/cli.py,sha256=9tnzcxcSOjblxCUpyh3pK0ke0bLs3s-63OxXtYoZI2g,2769
|
|
9
9
|
moonshot/integrations/cli/cli_errors.py,sha256=ltQKnj9bawpVogQFOgLHbxL_9CcFQf3XOR6yQtdqGS4,24030
|
|
@@ -29,41 +29,41 @@ moonshot/integrations/cli/redteam/attack_module.py,sha256=d3UCtt8IdVhTMOMpvJG4sf
|
|
|
29
29
|
moonshot/integrations/cli/redteam/context_strategy.py,sha256=gLNgnd1oHWD1X93BQoKlR7G8b5g9P6AcKFLlE3WvETk,7065
|
|
30
30
|
moonshot/integrations/cli/redteam/prompt_template.py,sha256=rWINvMFLax8ynIFJoX93xsB1cWJ8-dQ1nRyqgdri2yQ,2079
|
|
31
31
|
moonshot/integrations/cli/redteam/redteam.py,sha256=144tVuiSWBLseC0EvvIuevHYJhqn39xvg36-1cLgGWQ,4257
|
|
32
|
-
moonshot/integrations/cli/redteam/session.py,sha256=
|
|
32
|
+
moonshot/integrations/cli/redteam/session.py,sha256=as8oyX3M0sIRSB9ZwdI7_qIe1x5b0YDsH_Mj1ttEcSw,37784
|
|
33
33
|
moonshot/integrations/cli/utils/process_data.py,sha256=QVL5vp2_8ZgGicmCAdeYEHkeb6f-NC775-JCzWziNiU,1901
|
|
34
34
|
moonshot/integrations/web_api/.env.dev,sha256=0z5_Ut8rF-UqFZtgjkH2qoqORhD5_nSs2w_OeX2SteI,182
|
|
35
35
|
moonshot/integrations/web_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
36
|
moonshot/integrations/web_api/__main__.py,sha256=MdnLi_ZF-olAAEJwTPU1iGYFYwo-fNWNT2qfchkH3y4,2050
|
|
37
|
-
moonshot/integrations/web_api/app.py,sha256=
|
|
37
|
+
moonshot/integrations/web_api/app.py,sha256=nbAAnVyy1BEqlctGeVUjVYCdR3yD0mfyGZmwBM2zZec,3651
|
|
38
38
|
moonshot/integrations/web_api/container.py,sha256=DVkJG_qm7ItcG6tgMYOqIj07wpKhPWOOfy6-bEv72y4,5915
|
|
39
39
|
moonshot/integrations/web_api/logging_conf.py,sha256=t3EGRV6tZhV732KXe8_Tiy0fiwVAWxZX5Tt8VTgrrfg,3388
|
|
40
40
|
moonshot/integrations/web_api/log/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
41
|
moonshot/integrations/web_api/routes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
42
|
moonshot/integrations/web_api/routes/attack_modules.py,sha256=m0mGGTEHyaVld8WYHXxQ5Gm0sKdTqy_rJUrNVFcgVgw,2413
|
|
43
43
|
moonshot/integrations/web_api/routes/benchmark.py,sha256=RRzouKcoVNYXm7o1LadsZTgzfmUsaYdQTC0AfsLdiC4,4163
|
|
44
|
-
moonshot/integrations/web_api/routes/benchmark_result.py,sha256=
|
|
45
|
-
moonshot/integrations/web_api/routes/bookmark.py,sha256=
|
|
46
|
-
moonshot/integrations/web_api/routes/context_strategy.py,sha256=
|
|
44
|
+
moonshot/integrations/web_api/routes/benchmark_result.py,sha256=FrSMZBdyQge4YS61V2b1zpQ6zKmZ9Zzjw19bg0XdmGc,6352
|
|
45
|
+
moonshot/integrations/web_api/routes/bookmark.py,sha256=laJYRbFv65zviUHnHSbRJZqR9rUda8Xpl3gqwQNpy18,6318
|
|
46
|
+
moonshot/integrations/web_api/routes/context_strategy.py,sha256=odAHV_mMpgEGRz_03rZzehma5cP6yh4ahi50EJXuB1I,4822
|
|
47
47
|
moonshot/integrations/web_api/routes/cookbook.py,sha256=oddmcdfhgH3qZb4_ThfUk8SBKmHOt51dFlAHubQh2fQ,8648
|
|
48
48
|
moonshot/integrations/web_api/routes/dataset.py,sha256=YhX4xNEgI5KwbmQ-SsLc5SpD3-9EZ6-e2AxBh1QJnUc,8238
|
|
49
49
|
moonshot/integrations/web_api/routes/endpoint.py,sha256=ZFx0WUe3-GGdmBz_hzYiOmjvJHN4PQy_8lCKJMBjxcE,10715
|
|
50
50
|
moonshot/integrations/web_api/routes/metric.py,sha256=f_HHexxKUfqFE5FkeCwRh8n36H2mREtLnK2pDrw3A-w,2856
|
|
51
|
-
moonshot/integrations/web_api/routes/prompt_template.py,sha256=
|
|
51
|
+
moonshot/integrations/web_api/routes/prompt_template.py,sha256=_gwIJcqkhDURrZ5xz7CyuGlsIEH1ErAgdU8Ju_usCow,4891
|
|
52
52
|
moonshot/integrations/web_api/routes/recipe.py,sha256=WOcq4bm2LP87ovO4Op6cDbUPJ2TeHYaMnxoFN7beh9I,8455
|
|
53
53
|
moonshot/integrations/web_api/routes/redteam.py,sha256=t-jNot5_PkV6f5_WBorp1HL437NY5RZzxSE-2NfG0es,24541
|
|
54
54
|
moonshot/integrations/web_api/routes/runner.py,sha256=NQdAmVIOnNgSESX3am6wAE0YLIxHYXlnQbh00_7-SD4,8438
|
|
55
55
|
moonshot/integrations/web_api/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
56
|
moonshot/integrations/web_api/schemas/benchmark_runner_dto.py,sha256=IIn6KeMcwxTSlwXuCnOUhd3x24ucq-goV2brU1OvxT4,369
|
|
57
57
|
moonshot/integrations/web_api/schemas/bookmark_create_dto.py,sha256=C78vG8UG02N7Cmt6RSuS8e4sX_G-MLCiAWT-cF5BE8s,374
|
|
58
|
-
moonshot/integrations/web_api/schemas/cookbook_create_dto.py,sha256=
|
|
58
|
+
moonshot/integrations/web_api/schemas/cookbook_create_dto.py,sha256=fW6bCd5FPb6AgWPucMgwehdh40_b6ajzZoV0rMy4Ebw,829
|
|
59
59
|
moonshot/integrations/web_api/schemas/cookbook_response_model.py,sha256=COLvaE4Hrz_w-C_HQkB7feztweIr0wkY9h8N6NKNIr8,332
|
|
60
60
|
moonshot/integrations/web_api/schemas/dataset_create_dto.py,sha256=923Etaq2J1-S9-Xvh4tcrMIHpRrJ381tA8tj0M2kj1A,907
|
|
61
61
|
moonshot/integrations/web_api/schemas/dataset_response_dto.py,sha256=s5x4-UXEWccWhK42E0FPXiHG6VqjuFuph-2t5atEkg4,171
|
|
62
62
|
moonshot/integrations/web_api/schemas/endpoint_create_dto.py,sha256=WS8AfRybrweoOgZx6K6jiNy1Z6J3IZS1PUNnrRxGKyM,678
|
|
63
63
|
moonshot/integrations/web_api/schemas/endpoint_response_model.py,sha256=OmmM2uaPSgB2aqPFfkhseKkI5OKCKilXR19gDmwFlLc,321
|
|
64
|
-
moonshot/integrations/web_api/schemas/prompt_response_model.py,sha256=
|
|
64
|
+
moonshot/integrations/web_api/schemas/prompt_response_model.py,sha256=G9ywk59SoE7Oy50EoUS8uj1UkhgUjyhrbrsC_aXr36s,302
|
|
65
65
|
moonshot/integrations/web_api/schemas/prompt_template_response_model.py,sha256=V7znK-QjQVUXUbsmEy5hZHzjnHYCN1kDtvOxgyxF83k,195
|
|
66
|
-
moonshot/integrations/web_api/schemas/recipe_create_dto.py,sha256=
|
|
66
|
+
moonshot/integrations/web_api/schemas/recipe_create_dto.py,sha256=zA8vzpi7CMGe2dcIUZYNndUXOPeKCIAbDEJz-mYVIks,1118
|
|
67
67
|
moonshot/integrations/web_api/schemas/recipe_response_model.py,sha256=2__672E0tgicx6f_i34IxYqc9GnDkUY40bLsAkMWQMw,257
|
|
68
68
|
moonshot/integrations/web_api/schemas/session_create_dto.py,sha256=3Xhj5JOEEWwaoq1q4FZLBVUdpo59C6X6m4y_qLurEhg,493
|
|
69
69
|
moonshot/integrations/web_api/schemas/session_prompt_dto.py,sha256=AcMq3UhKrZJIEYDrEfK8xPHeTNk2Ex4IDXrDWZwn6Fo,218
|
|
@@ -78,21 +78,21 @@ moonshot/integrations/web_api/services/benchmark_test_manager.py,sha256=aPoB6hOf
|
|
|
78
78
|
moonshot/integrations/web_api/services/benchmark_test_state.py,sha256=MyhTxpAhhP66JF0ua1SMc_IIeIjDxQY5swOXv9cmYaY,1887
|
|
79
79
|
moonshot/integrations/web_api/services/benchmarking_service.py,sha256=lJZeNTqxEPBLrZNX3Z9JIilgwetywSkv0deQkcb8mQs,1257
|
|
80
80
|
moonshot/integrations/web_api/services/bookmark_service.py,sha256=jI9nXs1hjzO0CLG2LKaXSzDApLThkfCvPUkaNNV9A5A,3546
|
|
81
|
-
moonshot/integrations/web_api/services/context_strategy_service.py,sha256=
|
|
82
|
-
moonshot/integrations/web_api/services/cookbook_service.py,sha256=
|
|
81
|
+
moonshot/integrations/web_api/services/context_strategy_service.py,sha256=F6ulJbmx9ZNuUEVco6e2_rr2eLu5NV1nKDLaP6bNbP8,681
|
|
82
|
+
moonshot/integrations/web_api/services/cookbook_service.py,sha256=wsOFN8tXvzpsm-vRlHbUwMvdtyxInB1kjoasssFtDAI,8734
|
|
83
83
|
moonshot/integrations/web_api/services/dataset_service.py,sha256=FUXLgU32nghoLWWXBA_4GzeQb8eK31tjbvLu4OJBxoc,2441
|
|
84
84
|
moonshot/integrations/web_api/services/endpoint_service.py,sha256=N5SXNAh44UNeBpMhA9baL0VZoTx4sHzpy4y7-Ch8O4E,2395
|
|
85
85
|
moonshot/integrations/web_api/services/metric_service.py,sha256=xWC5Dk8aiU7tuHsxYedTTrEkbA3Ug1pV2nbaBas6cAg,456
|
|
86
86
|
moonshot/integrations/web_api/services/prompt_template_service.py,sha256=5ds7pKDB2R0_0slVDwsCRIpIVdsgpqhI-3wQqSYcpuE,1226
|
|
87
87
|
moonshot/integrations/web_api/services/recipe_service.py,sha256=Pa3mE7RPY950YpkrepeXlOD703CtZRy-N63jewndwP0,7539
|
|
88
88
|
moonshot/integrations/web_api/services/runner_service.py,sha256=_ljFTVtMzt3fxlY0l2252KTxgVsqoQB6vsOXBIY0PIU,4584
|
|
89
|
-
moonshot/integrations/web_api/services/session_service.py,sha256=
|
|
90
|
-
moonshot/integrations/web_api/services/utils/exceptions_handler.py,sha256=
|
|
89
|
+
moonshot/integrations/web_api/services/session_service.py,sha256=SrOAkz0zcbuNGta5rvYME5fQ6r5dFQl_euA4U5Iond8,13797
|
|
90
|
+
moonshot/integrations/web_api/services/utils/exceptions_handler.py,sha256=kAD88V6aoRJO6Ue_lNw-KC5o9SAnvgz12CdfKOs9HXA,2677
|
|
91
91
|
moonshot/integrations/web_api/services/utils/file_manager.py,sha256=Hym1DbTQw6ndj2vtbssqYsXifDKSx-OLemKdCS208AI,1545
|
|
92
|
-
moonshot/integrations/web_api/services/utils/results_formatter.py,sha256=
|
|
92
|
+
moonshot/integrations/web_api/services/utils/results_formatter.py,sha256=NDMVPcK-WlWuWWwFJhpiVW5D2sBkdTHlqx61fOn-0Bo,2416
|
|
93
93
|
moonshot/integrations/web_api/status_updater/moonshot_ui_webhook.py,sha256=ToyyCOEzArdMS9LnLixnCUNx4TWfib8XYEf6Pki9cr4,2804
|
|
94
|
-
moonshot/integrations/web_api/status_updater/interface/benchmark_progress_callback.py,sha256=
|
|
95
|
-
moonshot/integrations/web_api/status_updater/interface/redteam_progress_callback.py,sha256=
|
|
94
|
+
moonshot/integrations/web_api/status_updater/interface/benchmark_progress_callback.py,sha256=KcSTPrxKQXkg3XhHrUAjZbR0_si7CrUDBKXubKrbnmE,350
|
|
95
|
+
moonshot/integrations/web_api/status_updater/interface/redteam_progress_callback.py,sha256=ntuzxDJVVYmE6J9mTStyjUEL9T6ZHj03zv1mJBmSfJk,350
|
|
96
96
|
moonshot/integrations/web_api/temp/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
97
|
moonshot/integrations/web_api/types/types.py,sha256=zy1Jlqgju_F7Gb4SaJf7O70egH98D0b4DDCZ384HG2E,2408
|
|
98
98
|
moonshot/src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -113,20 +113,20 @@ moonshot/src/api/api_result.py,sha256=xZHex_K_PbSr-65LPLr5up4lvu313-VJroR4BBR5JQ
|
|
|
113
113
|
moonshot/src/api/api_run.py,sha256=ToPYIeTPd2OaOqd20UQ_ie2BQPqLw5aZ_RwRwv9oGpU,2983
|
|
114
114
|
moonshot/src/api/api_runner.py,sha256=spN7ogBGQN7I-c1u_UeKZ7vg02AtCuAl3dFG8CSayQU,4257
|
|
115
115
|
moonshot/src/api/api_session.py,sha256=w-mc_sj3ElQa6FPQqWbK2bFgGTu1ECwYm3tN41xFkes,11130
|
|
116
|
-
moonshot/src/bookmark/bookmark.py,sha256=
|
|
117
|
-
moonshot/src/bookmark/bookmark_arguments.py,sha256=
|
|
116
|
+
moonshot/src/bookmark/bookmark.py,sha256=KOvvNE8wvdkJu9q2clte5fPLESZ2x6EuuoQkkxFxmHg,12970
|
|
117
|
+
moonshot/src/bookmark/bookmark_arguments.py,sha256=Xgjx3Ek9MXwD4p1icac8nPX3KZfmYsBwR6kwPwHAngE,1622
|
|
118
118
|
moonshot/src/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
119
119
|
moonshot/src/configs/env_variables.py,sha256=eF__UJN37LCzIB4pv_T7G-kQHlOa657QA7IpL1d_0MM,7150
|
|
120
120
|
moonshot/src/connectors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
121
|
-
moonshot/src/connectors/connector.py,sha256
|
|
121
|
+
moonshot/src/connectors/connector.py,sha256=XqYVamy2EWsMOpOyK8bnIUtjH6MiZ29k2ZFfdAPmFyU,17532
|
|
122
122
|
moonshot/src/connectors/connector_prompt_arguments.py,sha256=aJX5Jwd9bxWWLhIntXBu5Iu3NKsOcud-dfdBJVgKK58,751
|
|
123
123
|
moonshot/src/connectors/connector_response.py,sha256=kIByU-H7A0NXRxk1Y2XPGZHSJNKzJj6BNkzXqdyZyb0,403
|
|
124
124
|
moonshot/src/connectors_endpoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
125
|
-
moonshot/src/connectors_endpoints/connector_endpoint.py,sha256=
|
|
125
|
+
moonshot/src/connectors_endpoints/connector_endpoint.py,sha256=racxWKZSZYQ8YZMoPHGcwdQ6-8LKzJ0CKu5S8E0xwnM,10800
|
|
126
126
|
moonshot/src/connectors_endpoints/connector_endpoint_arguments.py,sha256=0v9mUHki4l22CK8o8UjATAsFDza9Lutbh4QplLiDXs8,2434
|
|
127
127
|
moonshot/src/cookbooks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
128
128
|
moonshot/src/cookbooks/cookbook.py,sha256=DdZwRGx5-xTDIKcXtZRpp7Qb9Mm9dNGwXWLQXoQrBBo,10412
|
|
129
|
-
moonshot/src/cookbooks/cookbook_arguments.py,sha256=
|
|
129
|
+
moonshot/src/cookbooks/cookbook_arguments.py,sha256=_9e4yMnZyAsaqQ4ZQfwFekwFRmXEI5InW-pp1ld5SJ4,1444
|
|
130
130
|
moonshot/src/datasets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
131
131
|
moonshot/src/datasets/dataset.py,sha256=sAPPdUJTB_aAFw3lmp2CY9gqbF2Mu8qQ9Soc1syMNGg,14940
|
|
132
132
|
moonshot/src/datasets/dataset_arguments.py,sha256=rUcxxo2WTcHhLLV-WoixjOfT_Ju7hFCq811_ctjegt8,1751
|
|
@@ -140,7 +140,7 @@ moonshot/src/recipes/recipe.py,sha256=PE4mimP7Y7lDanXib2uMrd9KpLWOxRdg0Cps5rLRQx
|
|
|
140
140
|
moonshot/src/recipes/recipe_arguments.py,sha256=9LdVJidB6Sci941QvnudBznvx9_NVCl8r-HvzSZInlY,3914
|
|
141
141
|
moonshot/src/redteaming/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
142
142
|
moonshot/src/redteaming/attack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
143
|
-
moonshot/src/redteaming/attack/attack_module.py,sha256=
|
|
143
|
+
moonshot/src/redteaming/attack/attack_module.py,sha256=T_YSfp3Y8y9l3nHkqvjS3seUlE5ljzMIwAeAVwCXic8,27992
|
|
144
144
|
moonshot/src/redteaming/attack/attack_module_arguments.py,sha256=L8H6poNj7xNWLUr6jfuSkwE7TNV0aTPaZBal4OvL7IA,1225
|
|
145
145
|
moonshot/src/redteaming/attack/context_strategy.py,sha256=KiAw85Pl8tuTzQ2d3CkZrjn3Ddp7BnlT5Gc67TTnq4M,4821
|
|
146
146
|
moonshot/src/redteaming/context_strategy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -172,9 +172,9 @@ moonshot/src/utils/import_modules.py,sha256=T9zTN59PFnvY2rjyWhSV9KSIAHxWV1pyBemF
|
|
|
172
172
|
moonshot/src/utils/log.py,sha256=YNgD7Eh2OT36XlmVBKCGUTAh9TRp4Akfe4kDdvHASgs,2502
|
|
173
173
|
moonshot/src/utils/pagination.py,sha256=5seymyRoqyENIhKllAatr1T91kMCGFslcvRnJHyMSvc,814
|
|
174
174
|
moonshot/src/utils/timeit.py,sha256=TvuF0w8KWhp0oZFY0cUU3UY0xlGKjchb0OkfYfgVTlc,866
|
|
175
|
-
aiverify_moonshot-0.6.
|
|
176
|
-
aiverify_moonshot-0.6.
|
|
177
|
-
aiverify_moonshot-0.6.
|
|
178
|
-
aiverify_moonshot-0.6.
|
|
179
|
-
aiverify_moonshot-0.6.
|
|
180
|
-
aiverify_moonshot-0.6.
|
|
175
|
+
aiverify_moonshot-0.6.4.dist-info/METADATA,sha256=UKH5vf6h00IJVbN3TyjUO-xY_M2Chwqcut_ZfFkEVv4,11273
|
|
176
|
+
aiverify_moonshot-0.6.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
177
|
+
aiverify_moonshot-0.6.4.dist-info/licenses/AUTHORS.md,sha256=mmAbe3i3sT8JZHJMBhxp3i1xRehV0g7WB4T_eyIBuBs,59
|
|
178
|
+
aiverify_moonshot-0.6.4.dist-info/licenses/LICENSE.md,sha256=53izDRmJZZCjpYGfyLqlxnGQN-aNWBxasuzuMXC5Ias,11347
|
|
179
|
+
aiverify_moonshot-0.6.4.dist-info/licenses/NOTICES.md,sha256=3d1WLa7kMtzh79BXxXr-keSlvHo8Llb-5EkGgtRiMS0,51537
|
|
180
|
+
aiverify_moonshot-0.6.4.dist-info/RECORD,,
|