aiverify-moonshot 0.5.0__tar.gz → 0.5.1__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 (209) hide show
  1. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/integration-test.yaml +1 -1
  2. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/PKG-INFO +8 -5
  3. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/README.md +1 -1
  4. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/common/dataset.py +5 -6
  5. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/app.py +1 -1
  6. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/cookbook_response_model.py +1 -1
  7. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/recipe_response_model.py +1 -1
  8. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/cookbook_service.py +52 -21
  9. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/recipe_service.py +36 -15
  10. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/pyproject.toml +4 -4
  11. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/requirements.txt +2 -2
  12. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.coveragerc +0 -0
  13. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.flake8 +0 -0
  14. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/developing-workflows.md +0 -0
  15. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/pull_request_template.md +0 -0
  16. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/scripts/create_backup.sh +0 -0
  17. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/scripts/install_ms_service.sh +0 -0
  18. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/scripts/moonshot_env +0 -0
  19. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/scripts/moonshot_test_env +0 -0
  20. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/scripts/moonshot_ui_env +0 -0
  21. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/scripts/run_smoke_test.sh +0 -0
  22. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/scripts/start_ms_service.sh +0 -0
  23. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/docs-update.yaml +0 -0
  24. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/gh-event-notification.yaml +0 -0
  25. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/notices-file-gen.yaml +0 -0
  26. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/pre-build-checks.yaml +0 -0
  27. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/pypi-deployment.yaml +0 -0
  28. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/sast-codeql.yaml +0 -0
  29. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/sca-scan.yaml +0 -0
  30. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/sit-build.yaml +0 -0
  31. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/smoke-test-cli.yaml +0 -0
  32. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/smoke-test.yaml +0 -0
  33. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/test-pypi-deployment.yaml +0 -0
  34. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.github/workflows/uat-deploy.yaml +0 -0
  35. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.gitignore +0 -0
  36. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/.pre-commit-config.yaml +0 -0
  37. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/AUTHORS.md +0 -0
  38. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/LICENSE.md +0 -0
  39. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/NOTICES.md +0 -0
  40. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/__init__.py +0 -0
  41. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/__main__.py +0 -0
  42. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/api.py +0 -0
  43. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/__init__.py +0 -0
  44. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/__init__.py +0 -0
  45. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/__main__.py +0 -0
  46. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/active_session_cfg.py +0 -0
  47. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/__init__.py +0 -0
  48. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/benchmark.py +0 -0
  49. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/cookbook.py +0 -0
  50. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/datasets.py +0 -0
  51. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/metrics.py +0 -0
  52. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/recipe.py +0 -0
  53. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/result.py +0 -0
  54. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/run.py +0 -0
  55. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/benchmark/runner.py +0 -0
  56. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/cli.py +0 -0
  57. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/cli_errors.py +0 -0
  58. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/common/__init__.py +0 -0
  59. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/common/common.py +0 -0
  60. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/common/connectors.py +0 -0
  61. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/common/display_helper.py +0 -0
  62. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/common/prompt_template.py +0 -0
  63. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/initialisation/__init__.py +0 -0
  64. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/initialisation/initialisation.py +0 -0
  65. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/redteam/__init__.py +0 -0
  66. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/redteam/attack_module.py +0 -0
  67. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/redteam/context_strategy.py +0 -0
  68. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/redteam/prompt_template.py +0 -0
  69. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/redteam/redteam.py +0 -0
  70. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/redteam/session.py +0 -0
  71. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/cli/utils/process_data.py +0 -0
  72. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/.env.dev +0 -0
  73. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/__init__.py +0 -0
  74. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/__main__.py +0 -0
  75. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/container.py +0 -0
  76. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/log/.gitkeep +0 -0
  77. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/logging_conf.py +0 -0
  78. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/__init__.py +0 -0
  79. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/attack_modules.py +0 -0
  80. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/benchmark.py +0 -0
  81. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/benchmark_result.py +0 -0
  82. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/bookmark.py +0 -0
  83. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/context_strategy.py +0 -0
  84. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/cookbook.py +0 -0
  85. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/dataset.py +0 -0
  86. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/endpoint.py +0 -0
  87. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/metric.py +0 -0
  88. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/prompt_template.py +0 -0
  89. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/recipe.py +0 -0
  90. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/redteam.py +0 -0
  91. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/routes/runner.py +0 -0
  92. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/__init__.py +0 -0
  93. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/benchmark_runner_dto.py +0 -0
  94. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/bookmark_create_dto.py +0 -0
  95. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/cookbook_create_dto.py +0 -0
  96. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/dataset_create_dto.py +0 -0
  97. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/dataset_response_dto.py +0 -0
  98. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/endpoint_create_dto.py +0 -0
  99. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/endpoint_response_model.py +0 -0
  100. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/prompt_response_model.py +0 -0
  101. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/prompt_template_response_model.py +0 -0
  102. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/recipe_create_dto.py +0 -0
  103. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/session_create_dto.py +0 -0
  104. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/session_prompt_dto.py +0 -0
  105. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/schemas/session_response_model.py +0 -0
  106. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/__init__.py +0 -0
  107. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/attack_module_service.py +0 -0
  108. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/auto_red_team_test_manager.py +0 -0
  109. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/auto_red_team_test_state.py +0 -0
  110. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/base_service.py +0 -0
  111. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/benchmark_result_service.py +0 -0
  112. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/benchmark_test_manager.py +0 -0
  113. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/benchmark_test_state.py +0 -0
  114. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/benchmarking_service.py +0 -0
  115. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/bookmark_service.py +0 -0
  116. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/context_strategy_service.py +0 -0
  117. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/dataset_service.py +0 -0
  118. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/endpoint_service.py +0 -0
  119. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/metric_service.py +0 -0
  120. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/prompt_template_service.py +0 -0
  121. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/runner_service.py +0 -0
  122. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/session_service.py +0 -0
  123. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/utils/exceptions_handler.py +0 -0
  124. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/utils/file_manager.py +0 -0
  125. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/services/utils/results_formatter.py +0 -0
  126. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/status_updater/interface/benchmark_progress_callback.py +0 -0
  127. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/status_updater/interface/redteam_progress_callback.py +0 -0
  128. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/status_updater/moonshot_ui_webhook.py +0 -0
  129. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/temp/.gitkeep +0 -0
  130. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/integrations/web_api/types/types.py +0 -0
  131. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/__init__.py +0 -0
  132. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/__init__.py +0 -0
  133. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_bookmark.py +0 -0
  134. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_connector.py +0 -0
  135. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_connector_endpoint.py +0 -0
  136. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_context_strategy.py +0 -0
  137. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_cookbook.py +0 -0
  138. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_dataset.py +0 -0
  139. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_environment_variables.py +0 -0
  140. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_metrics.py +0 -0
  141. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_prompt_template.py +0 -0
  142. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_recipe.py +0 -0
  143. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_red_teaming.py +0 -0
  144. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_result.py +0 -0
  145. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_run.py +0 -0
  146. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_runner.py +0 -0
  147. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/api/api_session.py +0 -0
  148. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/bookmark/bookmark.py +0 -0
  149. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/bookmark/bookmark_arguments.py +0 -0
  150. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/configs/__init__.py +0 -0
  151. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/configs/env_variables.py +0 -0
  152. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/connectors/__init__.py +0 -0
  153. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/connectors/connector.py +0 -0
  154. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/connectors/connector_prompt_arguments.py +0 -0
  155. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/connectors/connector_response.py +0 -0
  156. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/connectors_endpoints/__init__.py +0 -0
  157. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/connectors_endpoints/connector_endpoint.py +0 -0
  158. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/connectors_endpoints/connector_endpoint_arguments.py +0 -0
  159. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/cookbooks/__init__.py +0 -0
  160. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/cookbooks/cookbook.py +0 -0
  161. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/cookbooks/cookbook_arguments.py +0 -0
  162. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/datasets/__init__.py +0 -0
  163. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/datasets/dataset.py +0 -0
  164. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/datasets/dataset_arguments.py +0 -0
  165. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/messages_constants.py +0 -0
  166. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/metrics/__init__.py +0 -0
  167. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/metrics/metric.py +0 -0
  168. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/metrics/metric_interface.py +0 -0
  169. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/prompt_templates/__init__.py +0 -0
  170. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/prompt_templates/prompt_template.py +0 -0
  171. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/recipes/__init__.py +0 -0
  172. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/recipes/recipe.py +0 -0
  173. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/recipes/recipe_arguments.py +0 -0
  174. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/__init__.py +0 -0
  175. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/attack/__init__.py +0 -0
  176. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/attack/attack_module.py +0 -0
  177. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/attack/attack_module_arguments.py +0 -0
  178. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/attack/context_strategy.py +0 -0
  179. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/context_strategy/__init__.py +0 -0
  180. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/context_strategy/context_strategy_interface.py +0 -0
  181. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/session/__init__.py +0 -0
  182. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/session/chat.py +0 -0
  183. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/session/red_teaming_progress.py +0 -0
  184. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/session/red_teaming_type.py +0 -0
  185. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/redteaming/session/session.py +0 -0
  186. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/results/__init__.py +0 -0
  187. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/results/result.py +0 -0
  188. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/results/result_arguments.py +0 -0
  189. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runners/__init__.py +0 -0
  190. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runners/runner.py +0 -0
  191. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runners/runner_arguments.py +0 -0
  192. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runners/runner_type.py +0 -0
  193. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runs/__init__.py +0 -0
  194. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runs/run.py +0 -0
  195. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runs/run_arguments.py +0 -0
  196. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runs/run_progress.py +0 -0
  197. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/runs/run_status.py +0 -0
  198. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/storage/__init__.py +0 -0
  199. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/storage/db_interface.py +0 -0
  200. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/storage/io_interface.py +0 -0
  201. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/storage/storage.py +0 -0
  202. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/utils/__init__.py +0 -0
  203. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/utils/find_feature.py +0 -0
  204. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/utils/import_modules.py +0 -0
  205. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/utils/log.py +0 -0
  206. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/utils/pagination.py +0 -0
  207. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/moonshot/src/utils/timeit.py +0 -0
  208. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/third-party/pygments-2.18.0-py3-none-any.whl +0 -0
  209. {aiverify_moonshot-0.5.0 → aiverify_moonshot-0.5.1}/third-party/text_unidecode-1.3-py2.py3-none-any.whl +0 -0
@@ -110,7 +110,7 @@ jobs:
110
110
  run: |
111
111
  source venv/bin/activate
112
112
  pip install nltk
113
- python -c "import nltk; nltk.download('stopwords')"
113
+ python -c "import nltk; nltk.download('stopwords');nltk.download('averaged_perceptron_tagger'); nltk.download('omw');nltk.download('universal_tagset'); nltk.download('wordnet');nltk.download('punkt')"
114
114
 
115
115
  - name: Setup Moonshot UI
116
116
  run: |
@@ -1,12 +1,15 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: aiverify-moonshot
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: AI Verify advances Gen AI testing with Project Moonshot.
5
5
  Project-URL: Repository, https://github.com/aiverify-foundation/moonshot
6
6
  Project-URL: Documentation, https://aiverify-foundation.github.io/moonshot/
7
7
  Project-URL: Issues, https://github.com/aiverify-foundation/moonshot/issues
8
8
  Author-email: AI Verify Foundation <info@aiverify.sg>
9
9
  License: Apache-2.0
10
+ License-File: AUTHORS.md
11
+ License-File: LICENSE.md
12
+ License-File: NOTICES.md
10
13
  Classifier: Development Status :: 3 - Alpha
11
14
  Classifier: License :: OSI Approved :: Apache Software License
12
15
  Classifier: Programming Language :: Python :: 3
@@ -26,7 +29,7 @@ Requires-Dist: xxhash>=3.5.0
26
29
  Provides-Extra: all
27
30
  Requires-Dist: cmd2>=2.4.3; extra == 'all'
28
31
  Requires-Dist: dependency-injector>=4.41.0; extra == 'all'
29
- Requires-Dist: fastapi>=0.112.2; extra == 'all'
32
+ Requires-Dist: fastapi>=0.115.4; extra == 'all'
30
33
  Requires-Dist: rich>=13.8.0; extra == 'all'
31
34
  Requires-Dist: typing-extensions>=4.12.2; extra == 'all'
32
35
  Requires-Dist: uvicorn>=0.30.6; extra == 'all'
@@ -35,7 +38,7 @@ Requires-Dist: cmd2>=2.4.3; extra == 'cli'
35
38
  Requires-Dist: rich>=13.8.0; extra == 'cli'
36
39
  Provides-Extra: web-api
37
40
  Requires-Dist: dependency-injector>=4.41.0; extra == 'web-api'
38
- Requires-Dist: fastapi>=0.112.2; extra == 'web-api'
41
+ Requires-Dist: fastapi>=0.115.4; extra == 'web-api'
39
42
  Requires-Dist: typing-extensions>=4.12.2; extra == 'web-api'
40
43
  Requires-Dist: uvicorn>=0.30.6; extra == 'web-api'
41
44
  Description-Content-Type: text/markdown
@@ -44,7 +47,7 @@ Description-Content-Type: text/markdown
44
47
 
45
48
  ![Moonshot Logo](https://github.com/aiverify-foundation/moonshot/raw/main/misc/aiverify-moonshot-logo.png)
46
49
 
47
- **Version 0.5.0**
50
+ **Version 0.5.1**
48
51
 
49
52
  A simple and modular tool to evaluate any LLM application.
50
53
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ![Moonshot Logo](https://github.com/aiverify-foundation/moonshot/raw/main/misc/aiverify-moonshot-logo.png)
4
4
 
5
- **Version 0.5.0**
5
+ **Version 0.5.1**
6
6
 
7
7
  A simple and modular tool to evaluate any LLM application.
8
8
 
@@ -5,13 +5,12 @@ from rich.console import Console
5
5
  from rich.table import Table
6
6
 
7
7
  from moonshot.api import (
8
+ api_convert_dataset,
8
9
  api_delete_dataset,
10
+ api_download_dataset,
9
11
  api_get_all_datasets,
10
12
  api_get_all_datasets_name,
11
- api_convert_dataset,
12
- api_download_dataset
13
13
  )
14
-
15
14
  from moonshot.integrations.cli.cli_errors import (
16
15
  ERROR_BENCHMARK_DELETE_DATASET_DATASET_VALIDATION,
17
16
  ERROR_BENCHMARK_LIST_DATASETS_FIND_VALIDATION,
@@ -19,12 +18,12 @@ from moonshot.integrations.cli.cli_errors import (
19
18
  ERROR_BENCHMARK_LIST_DATASETS_PAGINATION_VALIDATION_1,
20
19
  ERROR_BENCHMARK_VIEW_DATASET_DATASET_FILENAME_VALIDATION,
21
20
  )
22
-
23
21
  from moonshot.integrations.cli.common.display_helper import display_view_str_format
24
22
  from moonshot.integrations.cli.utils.process_data import filter_data
25
23
 
26
24
  console = Console()
27
25
 
26
+
28
27
  def list_datasets(args) -> list | None:
29
28
  """
30
29
  List all available datasets.
@@ -155,6 +154,7 @@ def delete_dataset(args) -> None:
155
154
  except Exception as e:
156
155
  print(f"[delete_dataset]: {str(e)}")
157
156
 
157
+
158
158
  def convert_dataset(args) -> None:
159
159
  """
160
160
  Convert an existing dataset to a new format.
@@ -350,8 +350,7 @@ download_dataset_args.add_argument(
350
350
  type=literal_eval,
351
351
  help=(
352
352
  "Params of the new dataset in dictionary format. For example: \n"
353
- "1. For 'csv' method: \"{'csv_file_path': '/path/to/your/file.csv'}\"\n"
354
- "2. For 'hf' method: \"{'dataset_name': 'cais_mmlu', 'dataset_config': 'college_biology', 'split': 'test', "
353
+ "{'dataset_name': 'cais_mmlu', 'dataset_config': 'college_biology', 'split': 'test', "
355
354
  "'input_col': ['questions','choices'], 'target_col': 'answer'}\""
356
355
  ),
357
356
  )
@@ -71,7 +71,7 @@ def create_app(cfg: providers.Configuration) -> CustomFastAPI:
71
71
  }
72
72
 
73
73
  app: CustomFastAPI = CustomFastAPI(
74
- title="Project Moonshot", version="0.5.0", **app_kwargs
74
+ title="Project Moonshot", version="0.5.1", **app_kwargs
75
75
  )
76
76
 
77
77
  if cfg.cors.enabled():
@@ -8,4 +8,4 @@ from moonshot.src.cookbooks.cookbook_arguments import (
8
8
  class CookbookResponseModel(CookbookPydanticModel):
9
9
  total_prompt_in_cookbook: Optional[int] = None
10
10
  total_dataset_in_cookbook: Optional[int] = None
11
- endpoint_required: Optional[list[str]] = None
11
+ required_config: dict | None = None
@@ -5,4 +5,4 @@ from moonshot.src.recipes.recipe_arguments import RecipeArguments as RecipePydan
5
5
 
6
6
  class RecipeResponseModel(RecipePydanticModel):
7
7
  total_prompt_in_recipe: Optional[int] = None
8
- endpoint_required: Optional[list[str]] = None
8
+ required_config: dict | None = None
@@ -5,7 +5,10 @@ from .... import api as moonshot_api
5
5
  from ..schemas.cookbook_create_dto import CookbookCreateDTO, CookbookUpdateDTO
6
6
  from ..schemas.cookbook_response_model import CookbookResponseModel
7
7
  from ..services.base_service import BaseService
8
- from ..services.recipe_service import get_total_prompt_in_recipe, get_endpoint_dependency_in_recipe
8
+ from ..services.recipe_service import (
9
+ get_metric_dependency_in_recipe,
10
+ get_total_prompt_in_recipe,
11
+ )
9
12
  from ..services.utils.exceptions_handler import exception_handler
10
13
 
11
14
 
@@ -63,25 +66,28 @@ class CookbookService(BaseService):
63
66
  if cookbook not in cookbooks_list:
64
67
  cookbooks_list.append(cookbook)
65
68
  if count:
66
- cookbook.total_prompt_in_cookbook, cookbook.total_dataset_in_cookbook = (
67
- get_total_prompt_and_dataset_in_cookbook(cookbook)
68
- )
69
+ (
70
+ cookbook.total_prompt_in_cookbook,
71
+ cookbook.total_dataset_in_cookbook,
72
+ ) = get_total_prompt_and_dataset_in_cookbook(cookbook)
69
73
 
70
74
  if tags and cookbooks_recipe_has_tags(tags, cookbook):
71
75
  if cookbook not in cookbooks_list:
72
76
  cookbooks_list.append(cookbook)
73
77
  if count:
74
- cookbook.total_prompt_in_cookbook, cookbook.total_dataset_in_cookbook = (
75
- get_total_prompt_and_dataset_in_cookbook(cookbook)
76
- )
78
+ (
79
+ cookbook.total_prompt_in_cookbook,
80
+ cookbook.total_dataset_in_cookbook,
81
+ ) = get_total_prompt_and_dataset_in_cookbook(cookbook)
77
82
 
78
83
  if categories and cookbooks_recipe_has_categories(categories, cookbook):
79
84
  if cookbook not in cookbooks_list:
80
85
  cookbooks_list.append(cookbook)
81
86
  if count:
82
- cookbook.total_prompt_in_cookbook, cookbook.total_dataset_in_cookbook = (
83
- get_total_prompt_and_dataset_in_cookbook(cookbook)
84
- )
87
+ (
88
+ cookbook.total_prompt_in_cookbook,
89
+ cookbook.total_dataset_in_cookbook,
90
+ ) = get_total_prompt_and_dataset_in_cookbook(cookbook)
85
91
 
86
92
  if categories_excluded and cookbooks_recipe_has_categories(
87
93
  categories_excluded, cookbook
@@ -89,7 +95,7 @@ class CookbookService(BaseService):
89
95
  cookbooks_list.remove(cookbook)
90
96
 
91
97
  for cookbook in cookbooks_list:
92
- cookbook.endpoint_required = cookbook_endpoint_dependency(cookbook)
98
+ cookbook.required_config = cookbook_metrics_dependency(cookbook)
93
99
 
94
100
  return cookbooks_list
95
101
 
@@ -147,7 +153,9 @@ def get_total_prompt_and_dataset_in_cookbook(cookbook: Cookbook) -> tuple[int, i
147
153
  int: The total count of prompts within the cookbook.
148
154
  """
149
155
  recipes = moonshot_api.api_read_recipes(cookbook.recipes)
150
- total_prompts, total_datasets = zip(*(get_total_prompt_in_recipe(Recipe(**recipe)) for recipe in recipes))
156
+ total_prompts, total_datasets = zip(
157
+ *(get_total_prompt_in_recipe(Recipe(**recipe)) for recipe in recipes)
158
+ )
151
159
  return sum(total_prompts), sum(total_datasets)
152
160
 
153
161
 
@@ -197,25 +205,48 @@ def cookbooks_recipe_has_categories(categories: str, cookbook: Cookbook) -> bool
197
205
  return True
198
206
  return False
199
207
 
208
+
200
209
  @staticmethod
201
- def cookbook_endpoint_dependency(cookbook: Cookbook) -> list[str] | None:
210
+ def cookbook_metrics_dependency(cookbook: Cookbook) -> dict | None:
202
211
  """
203
- Retrieve a list of endpoint dependencies for all recipes in a given cookbook.
212
+ Retrieve a list of endpoint and configuration dependencies for all recipes in a given cookbook.
204
213
 
205
214
  Args:
206
215
  cookbook (Cookbook): The cookbook object containing the recipe IDs.
207
216
 
208
217
  Returns:
209
- list[str] | None: A list of endpoint dependencies if any are found, otherwise None.
218
+ dict[str, list[str]] | None: A dictionary with aggregated endpoint and configuration dependencies
219
+ if any are found, otherwise None.
210
220
  """
211
221
  recipes_in_cookbook = cookbook.recipes
212
222
  recipes = moonshot_api.api_read_recipes(recipes_in_cookbook)
213
- list_of_endpoints = set()
223
+ aggregated_endpoints = set()
224
+ aggregated_configurations = {}
214
225
 
215
226
  for recipe in recipes:
216
227
  recipe = Recipe(**recipe)
217
- endpoints = get_endpoint_dependency_in_recipe(recipe)
218
- if endpoints:
219
- list_of_endpoints.update(endpoints)
220
-
221
- return list(list_of_endpoints) if list_of_endpoints else None
228
+ dependency = get_metric_dependency_in_recipe(recipe)
229
+ if dependency:
230
+ # Aggregate endpoints
231
+ aggregated_endpoints.update(dependency.get("endpoints", []))
232
+
233
+ # Aggregate configurations
234
+ for key, value in dependency.get("configurations", {}).items():
235
+ if key in aggregated_configurations:
236
+ aggregated_configurations[key].extend(
237
+ v for v in value if v not in aggregated_configurations[key]
238
+ )
239
+ else:
240
+ aggregated_configurations[key] = value
241
+
242
+ aggregated_dependencies = {
243
+ "endpoints": list(aggregated_endpoints),
244
+ "configurations": aggregated_configurations,
245
+ }
246
+
247
+ return (
248
+ aggregated_dependencies
249
+ if aggregated_dependencies["endpoints"]
250
+ or aggregated_dependencies["configurations"]
251
+ else None
252
+ )
@@ -85,7 +85,7 @@ class RecipeService(BaseService):
85
85
  filtered_recipes.sort(key=lambda x: x.id)
86
86
 
87
87
  for recipe in filtered_recipes:
88
- recipe.endpoint_required = get_endpoint_dependency_in_recipe(recipe)
88
+ recipe.required_config = get_metric_dependency_in_recipe(recipe)
89
89
 
90
90
  return filtered_recipes
91
91
 
@@ -157,28 +157,49 @@ def get_total_prompt_in_recipe(recipe: Recipe) -> tuple[int, int]:
157
157
 
158
158
  return total_prompt_count, int(recipe.stats.get("num_of_datasets", 0))
159
159
 
160
+
160
161
  @staticmethod
161
- def get_endpoint_dependency_in_recipe(recipe: Recipe) -> list[str] | None:
162
+ def get_metric_dependency_in_recipe(recipe: Recipe) -> dict | None:
162
163
  """
163
- Retrieve the list of endpoint dependencies for a given recipe.
164
+ Retrieve endpoint and configuration dependencies for a given recipe.
164
165
 
165
- This function fetches all metrics and their associated endpoints, then
166
- matches the metrics in the provided recipe to find and compile a list
167
- of endpoint dependencies.
166
+ This function gathers all available metrics along with their endpoints and configurations,
167
+ then identifies and compiles the dependencies based on the metrics present in the provided recipe.
168
168
 
169
169
  Args:
170
- recipe (Recipe): The recipe object containing the metrics information.
170
+ recipe (Recipe): The recipe object containing metrics information.
171
171
 
172
172
  Returns:
173
- list[str] | None: A list of endpoint dependencies if found, otherwise None.
173
+ dict[str, dict[str, list[str]]] | None: A dictionary with 'endpoints' and 'configurations' as keys,
174
+ where 'endpoints' is a list of endpoint dependencies and 'configurations' is a dictionary of configuration
175
+ dependencies. Returns None if no dependencies are found.
174
176
  """
175
177
  metrics = recipe.metrics
176
178
  all_metrics = moonshot_api.api_get_all_metric()
177
-
178
- endpoints = set()
179
+ aggregated_endpoints = set()
180
+ aggregated_configurations = {}
181
+
179
182
  for metric in metrics:
180
- for m in all_metrics:
181
- if m['id'] == metric:
182
- endpoints.update(m['endpoints'])
183
-
184
- return list(endpoints) if endpoints else None
183
+ metric_data = next((m for m in all_metrics if m["id"] == metric), None)
184
+ if metric_data:
185
+ # Aggregate endpoints
186
+ aggregated_endpoints.update(metric_data.get("endpoints", []))
187
+
188
+ # Aggregate configurations
189
+ for key, value in metric_data.get("configurations", {}).items():
190
+ if key in aggregated_configurations:
191
+ aggregated_configurations[key].extend(
192
+ v for v in value if v not in aggregated_configurations[key]
193
+ )
194
+ else:
195
+ aggregated_configurations[key] = value
196
+
197
+ aggregated_data = {
198
+ "endpoints": list(aggregated_endpoints),
199
+ "configurations": aggregated_configurations,
200
+ }
201
+ return (
202
+ aggregated_data
203
+ if aggregated_data["endpoints"] or aggregated_data["configurations"]
204
+ else None
205
+ )
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "aiverify-moonshot"
7
- version = "0.5.0"
7
+ version = "0.5.1"
8
8
  authors = [
9
9
  { name="AI Verify Foundation", email="info@aiverify.sg" }
10
10
  ]
@@ -35,7 +35,7 @@ dependencies = [
35
35
  [project.optional-dependencies]
36
36
  web-api = [
37
37
  "typing-extensions>=4.12.2",
38
- "fastapi>=0.112.2",
38
+ "fastapi>=0.115.4",
39
39
  "uvicorn>=0.30.6",
40
40
  "dependency-injector>=4.41.0",
41
41
  ]
@@ -97,7 +97,7 @@ allow-direct-references = true
97
97
 
98
98
  [tool.poetry]
99
99
  name = "aiverify-moonshot"
100
- version = "0.5.0"
100
+ version = "0.5.1"
101
101
  description = "A simple and modular tool to evaluate and red-team any LLM application."
102
102
  authors = ["The Moonshot Team <our.moonshot.team@gmail.com>"]
103
103
  readme = "README.md"
@@ -116,7 +116,7 @@ pandas = ">=2.2.2"
116
116
  numpy = ">=1.26.4"
117
117
  tenacity = ">=8.5.0"
118
118
  typing-extensions = ">=4.12.2"
119
- fastapi = ">=0.112.2"
119
+ fastapi = ">=0.115.4"
120
120
  uvicorn = ">=0.30.6"
121
121
  dependency-injector = ">=4.41.0"
122
122
  cmd2 = ">=2.4.3"
@@ -12,7 +12,7 @@ colorama~=0.4.6 ; python_version >= "3.11" and python_version < "3.12" and platf
12
12
  datasets~=2.21.0 ; python_version >= "3.11" and python_version < "3.12"
13
13
  dependency-injector~=4.41.0 ; python_version >= "3.11" and python_version < "3.12"
14
14
  dill~=0.3.8 ; python_version >= "3.11" and python_version < "3.12"
15
- fastapi~=0.112.2 ; python_version >= "3.11" and python_version < "3.12"
15
+ fastapi~=0.115.4 ; python_version >= "3.11" and python_version < "3.12"
16
16
  filelock~=3.16.1 ; python_version >= "3.11" and python_version < "3.12"
17
17
  frozenlist~=1.4.1 ; python_version >= "3.11" and python_version < "3.12"
18
18
  fsspec~=2024.6.1 ; python_version >= "3.11" and python_version < "3.12"
@@ -46,7 +46,7 @@ requests~=2.32.3 ; python_version >= "3.11" and python_version < "3.12"
46
46
  rich~=13.9.1 ; python_version >= "3.11" and python_version < "3.12"
47
47
  six~=1.16.0 ; python_version >= "3.11" and python_version < "3.12"
48
48
  sniffio~=1.3.1 ; python_version >= "3.11" and python_version < "3.12"
49
- starlette~=0.38.5 ; python_version >= "3.11" and python_version < "3.12"
49
+ starlette~=0.41.2 ; python_version >= "3.11" and python_version < "3.12"
50
50
  tenacity~=8.5.0 ; python_version >= "3.11" and python_version < "3.12"
51
51
  text-unidecode~=1.3 ; python_version >= "3.11" and python_version < "3.12"
52
52
  tqdm~=4.66.5 ; python_version >= "3.11" and python_version < "3.12"