aait 2.0.2.6__tar.gz → 2.0.2.8__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 (250) hide show
  1. {aait-2.0.2.6 → aait-2.0.2.8}/PKG-INFO +1 -1
  2. {aait-2.0.2.6 → aait-2.0.2.8}/aait.egg-info/PKG-INFO +1 -1
  3. {aait-2.0.2.6 → aait-2.0.2.8}/aait.egg-info/SOURCES.txt +4 -0
  4. {aait-2.0.2.6 → aait-2.0.2.8}/aait.egg-info/entry_points.txt +1 -1
  5. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWApplyRules.py +1 -0
  6. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWCN2rule_view.py +1 -0
  7. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWChunking.py +1 -0
  8. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWConcatRules.py +1 -0
  9. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWConverseLLM.py +1 -0
  10. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWCreateEmbeddings.py +1 -0
  11. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWDisplayMD.py +1 -0
  12. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWEditTable.py +1 -0
  13. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWEndLoop.py +1 -0
  14. aait-2.0.2.8/orangecontrib/AAIT/widgets/OWEnvInfo.py +101 -0
  15. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWExecuteScript.py +1 -0
  16. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWExtraChunks.py +1 -0
  17. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWExtractTokens.py +2 -1
  18. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWFileWithPath.py +1 -0
  19. aait-2.0.2.8/orangecontrib/AAIT/widgets/OWFindFilesFromDir.py +126 -0
  20. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWGenerateQuestions.py +1 -0
  21. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWGenerateSynthesis.py +2 -1
  22. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWInputSelector.py +1 -0
  23. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWKeywords.py +1 -0
  24. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWLLM4ALL.py +1 -0
  25. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWLMStudio.py +2 -1
  26. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWLanguageDetection.py +1 -0
  27. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWLemmatizer.py +1 -0
  28. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_SolarUncensored.py +1 -0
  29. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_EN.py +1 -0
  30. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_FR.py +1 -0
  31. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWOptimisation.py +1 -0
  32. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWOptimisationSelection.py +1 -0
  33. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWOptimisationSendScore.py +1 -0
  34. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWProcessDocumentsFromPath.py +1 -0
  35. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWQueryLLM.py +5 -4
  36. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWRandomData.py +1 -0
  37. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWReranking.py +1 -0
  38. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWSaveFilepathEntry.py +27 -30
  39. aait-2.0.2.8/orangecontrib/AAIT/widgets/OWSelectRowsDynamic.py +145 -0
  40. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWStartLoop.py +1 -0
  41. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWTable2Corpus.py +1 -0
  42. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWTranslation.py +1 -0
  43. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWTrigger.py +1 -0
  44. aait-2.0.2.8/orangecontrib/AAIT/widgets/OWUnzipFolder.py +90 -0
  45. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/POW_Wfactory.py +1 -0
  46. {aait-2.0.2.6 → aait-2.0.2.8}/setup.py +3 -3
  47. {aait-2.0.2.6 → aait-2.0.2.8}/License.txt +0 -0
  48. {aait-2.0.2.6 → aait-2.0.2.8}/aait.egg-info/dependency_links.txt +0 -0
  49. {aait-2.0.2.6 → aait-2.0.2.8}/aait.egg-info/namespace_packages.txt +0 -0
  50. {aait-2.0.2.6 → aait-2.0.2.8}/aait.egg-info/requires.txt +0 -0
  51. {aait-2.0.2.6 → aait-2.0.2.8}/aait.egg-info/top_level.txt +0 -0
  52. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/__init__.py +0 -0
  53. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/SignalReceiver.py +0 -0
  54. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/__init__.py +0 -0
  55. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/audit_widget.py +0 -0
  56. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (2).TIF +0 -0
  57. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (3).TIF +0 -0
  58. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (4).TIF +0 -0
  59. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0001.csv +0 -0
  60. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0002.csv +0 -0
  61. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0003.csv +0 -0
  62. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/dynamic_results.py +0 -0
  63. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/test_all_widgets.py +0 -0
  64. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/test_server.py +0 -0
  65. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_4all.py +0 -0
  66. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_chunking.py +0 -0
  67. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_edit_table.py +0 -0
  68. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_mpnet_create_embeddings.py +0 -0
  69. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_optimisation.py +0 -0
  70. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_optimisationselection.py +0 -0
  71. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_powfactory.py +0 -0
  72. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_queryllm.py +0 -0
  73. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_spacy_md_fr_lemmatizer.py +0 -0
  74. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widget_traduction.py +0 -0
  75. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/audit_widget/widgets_model.py +0 -0
  76. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/encapsulation/__init__.py +0 -0
  77. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/fix_torch/fix_torch_dll_error.py +0 -0
  78. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/fix_torch/libomp140.x86_64.dll +0 -0
  79. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/GPT4ALL.py +0 -0
  80. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/GPT4ALL_killer.py +0 -0
  81. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/MergeBaseLora.py +0 -0
  82. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/SERV_kill_workflow.py +0 -0
  83. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/SERV_requests.py +0 -0
  84. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/SERV_start_workflow.py +0 -0
  85. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/Tutorial_Finetuning.py +0 -0
  86. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/Tutorial_TestFinetuning.py +0 -0
  87. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/__init__.py +0 -0
  88. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/answers.py +0 -0
  89. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/chunking.py +0 -0
  90. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/embeddings.py +0 -0
  91. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/finetuning.py +0 -0
  92. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/functions_DatasetGeneration.py +0 -0
  93. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/functions_Finetuning.py +0 -0
  94. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/lemmes.py +0 -0
  95. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/lmstudio.py +0 -0
  96. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/main_DatasetGeneration.py +0 -0
  97. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/main_Finetuning.py +0 -0
  98. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/process_documents.py +0 -0
  99. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/prompt_management.py +0 -0
  100. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/quickpy.py +0 -0
  101. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/test.py +0 -0
  102. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/test_functions.py +0 -0
  103. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/llm/translations.py +0 -0
  104. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/optimiser/__init__.py +0 -0
  105. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/optimiser/optuna_multi.py +0 -0
  106. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/CheckMetaData.py +0 -0
  107. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/MetManagement.py +0 -0
  108. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/SimpleDialogQt.py +0 -0
  109. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/__init__.py +0 -0
  110. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/aait_repo_file.py +0 -0
  111. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/check_data_in.py +0 -0
  112. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/delta_local_shared_fodler.py +0 -0
  113. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/import_uic.py +0 -0
  114. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/initialize_from_ini.py +0 -0
  115. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/mac_utils.py +0 -0
  116. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/shared_functions.py +0 -0
  117. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/shared_variables.py +0 -0
  118. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/subprocess_management.py +0 -0
  119. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/thread_management.py +0 -0
  120. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/tools/__init__.py +0 -0
  121. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/tools/change_owcorpus.py +0 -0
  122. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/tools/concat_splitted_pypi.py +0 -0
  123. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/tools/first_time_check.py +0 -0
  124. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/tools/owcorpus_ok.txt +0 -0
  125. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/utils/windows_utils.py +0 -0
  126. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWAAITResourcesManager.py +0 -0
  127. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_CE_MiniLML6.py +0 -0
  128. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Falcon.py +0 -0
  129. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_HelsinkiEnFr.py +0 -0
  130. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_HelsinkiFrEn.py +0 -0
  131. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_MPNET.py +0 -0
  132. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Mistral.py +0 -0
  133. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Qwen.py +0 -0
  134. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Qwen1B5_Q6.py +0 -0
  135. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Qwen2_5_32B.py +0 -0
  136. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Qwen3B_Q4.py +0 -0
  137. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q4.py +0 -0
  138. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q6.py +0 -0
  139. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/OWModel_Solar.py +0 -0
  140. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/__init__.py +0 -0
  141. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owMarkdown.ui +0 -0
  142. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/ow_in_or_out_path.ui +0 -0
  143. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/ow_widget_random_data.ui +0 -0
  144. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owapplyrules.ui +0 -0
  145. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owchunking.ui +0 -0
  146. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owconcatrules.ui +0 -0
  147. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owconversellm.ui +0 -0
  148. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owembeddings.ui +0 -0
  149. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owendloop.ui +0 -0
  150. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owexecutescript.ui +0 -0
  151. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owextrachunks.ui +0 -0
  152. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owextracttokens.ui +0 -0
  153. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owfilewithpath.ui +0 -0
  154. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owgeneratequestions.ui +0 -0
  155. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owgeneratesynthesis.ui +0 -0
  156. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owkeyword.ui +0 -0
  157. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owlangdetect.ui +0 -0
  158. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owlemmatizer.ui +0 -0
  159. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owllm4all.ui +0 -0
  160. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owloadworkflow.ui +0 -0
  161. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_ce_minilml6.ui +0 -0
  162. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_falcon.ui +0 -0
  163. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_en_fr.ui +0 -0
  164. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_fr_en.ui +0 -0
  165. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_mistral.ui +0 -0
  166. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_mpnet.ui +0 -0
  167. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_qwen.ui +0 -0
  168. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_solar.ui +0 -0
  169. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_solar_uncensored.ui +0 -0
  170. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_en.ui +0 -0
  171. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_fr.ui +0 -0
  172. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/ownumberpointinrules.ui +0 -0
  173. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owprocessdocuments.ui +0 -0
  174. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owqueryllm.ui +0 -0
  175. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owreranking.ui +0 -0
  176. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owstartloop.ui +0 -0
  177. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owtable2corpus.ui +0 -0
  178. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owtranslation.ui +0 -0
  179. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/designer/owtrigger.ui +0 -0
  180. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/CN2RuleViewer.svg +0 -0
  181. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/MDViewer.png +0 -0
  182. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/Mistral.png +0 -0
  183. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/apply_rules.svg +0 -0
  184. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/category.svg +0 -0
  185. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/dark_green.txt +0 -0
  186. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/de.png +0 -0
  187. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/documents.png +0 -0
  188. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/endloop.png +0 -0
  189. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/extra_chunks.png +0 -0
  190. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/in_or_out.png +0 -0
  191. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/input.png +0 -0
  192. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/keyword.png +0 -0
  193. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/languages.png +0 -0
  194. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/llm4all.svg +0 -0
  195. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/lm_studio.png +0 -0
  196. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/local_interf_img_multi_pull.svg +0 -0
  197. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/local_interf_multi_pull.svg +0 -0
  198. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/local_interf_pull.svg +0 -0
  199. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/local_interf_push.svg +0 -0
  200. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/local_interf_text_pull.svg +0 -0
  201. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/logo_solar.svg +0 -0
  202. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/logo_uncensoredsolar.svg +0 -0
  203. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/logo_upload.png +0 -0
  204. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/models.png +0 -0
  205. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/optimisation.png +0 -0
  206. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/optimizer.png +0 -0
  207. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/output.png +0 -0
  208. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owCN2_intersect_rules.svg +0 -0
  209. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owchunking.png +0 -0
  210. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owconversellm.svg +0 -0
  211. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owedittable.svg +0 -0
  212. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owembeddings.svg +0 -0
  213. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owexecutescript.svg +0 -0
  214. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owextracttokens.svg +0 -0
  215. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owfilewithpath.svg +0 -0
  216. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owgeneratequestions.svg +0 -0
  217. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owgeneratesynthesis.png +0 -0
  218. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owlemmatizer.svg +0 -0
  219. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owmodel_ce_minilml6.svg +0 -0
  220. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owmodel_falcon.png +0 -0
  221. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_en_fr.svg +0 -0
  222. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_fr_en.svg +0 -0
  223. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owmodel_mpnet.svg +0 -0
  224. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_en.svg +0 -0
  225. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_fr.svg +0 -0
  226. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owoptimisation.svg +0 -0
  227. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owoptimisationselection.png +0 -0
  228. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owqueryllm.svg +0 -0
  229. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owreranking.svg +0 -0
  230. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owsavefilepathentry.svg +0 -0
  231. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owtable2corpus.svg +0 -0
  232. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owtranslation.svg +0 -0
  233. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/owtrigger.svg +0 -0
  234. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/processdocuments.svg +0 -0
  235. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/qwen-color.png +0 -0
  236. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/startloop.png +0 -0
  237. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/tools.png +0 -0
  238. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/AAIT/widgets/icons/widgetFactory.svg +0 -0
  239. {aait-2.0.2.6 → aait-2.0.2.8}/orangecontrib/__init__.py +0 -0
  240. {aait-2.0.2.6 → aait-2.0.2.8}/setup.cfg +0 -0
  241. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_class_values_context_handler.py +0 -0
  242. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_credentials.py +0 -0
  243. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_domain_context_handler.py +0 -0
  244. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_gui.py +0 -0
  245. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_matplotlib_export.py +0 -0
  246. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_perfect_domain_context_handler.py +0 -0
  247. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_scatterplot_density.py +0 -0
  248. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_settings_handler.py +0 -0
  249. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_widgets_outputs.py +0 -0
  250. {aait-2.0.2.6 → aait-2.0.2.8}/tests/test_workflows.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aait
3
- Version: 2.0.2.6
3
+ Version: 2.0.2.8
4
4
  Summary: Advanced Artificial Intelligence Tools is a package meant to develop and enable advanced AI functionalities in Orange
5
5
  Home-page:
6
6
  Author: Orange community
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aait
3
- Version: 2.0.2.6
3
+ Version: 2.0.2.8
4
4
  Summary: Advanced Artificial Intelligence Tools is a package meant to develop and enable advanced AI functionalities in Orange
5
5
  Home-page:
6
6
  Author: Orange community
@@ -93,10 +93,12 @@ orangecontrib/AAIT/widgets/OWCreateEmbeddings.py
93
93
  orangecontrib/AAIT/widgets/OWDisplayMD.py
94
94
  orangecontrib/AAIT/widgets/OWEditTable.py
95
95
  orangecontrib/AAIT/widgets/OWEndLoop.py
96
+ orangecontrib/AAIT/widgets/OWEnvInfo.py
96
97
  orangecontrib/AAIT/widgets/OWExecuteScript.py
97
98
  orangecontrib/AAIT/widgets/OWExtraChunks.py
98
99
  orangecontrib/AAIT/widgets/OWExtractTokens.py
99
100
  orangecontrib/AAIT/widgets/OWFileWithPath.py
101
+ orangecontrib/AAIT/widgets/OWFindFilesFromDir.py
100
102
  orangecontrib/AAIT/widgets/OWGenerateQuestions.py
101
103
  orangecontrib/AAIT/widgets/OWGenerateSynthesis.py
102
104
  orangecontrib/AAIT/widgets/OWInputSelector.py
@@ -129,10 +131,12 @@ orangecontrib/AAIT/widgets/OWQueryLLM.py
129
131
  orangecontrib/AAIT/widgets/OWRandomData.py
130
132
  orangecontrib/AAIT/widgets/OWReranking.py
131
133
  orangecontrib/AAIT/widgets/OWSaveFilepathEntry.py
134
+ orangecontrib/AAIT/widgets/OWSelectRowsDynamic.py
132
135
  orangecontrib/AAIT/widgets/OWStartLoop.py
133
136
  orangecontrib/AAIT/widgets/OWTable2Corpus.py
134
137
  orangecontrib/AAIT/widgets/OWTranslation.py
135
138
  orangecontrib/AAIT/widgets/OWTrigger.py
139
+ orangecontrib/AAIT/widgets/OWUnzipFolder.py
136
140
  orangecontrib/AAIT/widgets/POW_Wfactory.py
137
141
  orangecontrib/AAIT/widgets/__init__.py
138
142
  orangecontrib/AAIT/widgets/designer/owMarkdown.ui
@@ -1,6 +1,6 @@
1
1
  [orange.widgets]
2
- AAIT - ALGORITHM = orangecontrib.ALGORITHM.widgets
3
2
  AAIT - API = orangecontrib.API.widgets
3
+ AAIT - Algorithm = orangecontrib.ALGORITHM.widgets
4
4
  AAIT - LLM INTEGRATION = orangecontrib.LLM_INTEGRATION.widgets
5
5
  AAIT - Models = orangecontrib.LLM_MODELS.widgets
6
6
  AAIT - Toolbox = orangecontrib.TOOLBOX.widgets
@@ -24,6 +24,7 @@ class OWApplyRules(widget.OWWidget):
24
24
  name = "Apply Rules to data"
25
25
  description = "Apply Rules to data fron an over workflow."
26
26
  icon = "icons/apply_rules.svg"
27
+ category = "AAIT - ALGORITHM"
27
28
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
28
29
  icon = "icons_dev/apply_rules.svg"
29
30
  priority = 1145
@@ -22,6 +22,7 @@ class OWRuleViewer(widget.OWWidget):
22
22
  name = "CN2 Rule Selector"
23
23
  description = "Review rules induced from data."
24
24
  icon = "icons/CN2RuleViewer.svg"
25
+ category = "AAIT - ALGORITHM"
25
26
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
26
27
  icon = "icons_dev/CN2RuleViewer.svg"
27
28
  priority = 1140
@@ -30,6 +30,7 @@ class OWChunker(widget.OWWidget):
30
30
  gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owchunking.ui")
31
31
  want_control_area = False
32
32
  priority = 1050
33
+ category = "AAIT - LLM INTEGRATION"
33
34
 
34
35
  class Inputs:
35
36
  data = Input("Data", Orange.data.Table)
@@ -21,6 +21,7 @@ from AnyQt.QtWidgets import QPushButton, QCheckBox
21
21
  class OWConcatRules(widget.OWWidget):
22
22
  name = "Intersect CN2 Rules"
23
23
  description = "Concat CN2 Rules from data."
24
+ category = "AAIT - ALGORITHM"
24
25
  icon = "icons/owCN2_intersect_rules.svg"
25
26
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
26
27
  icon = "icons_dev/owCN2_intersect_rules.svg"
@@ -25,6 +25,7 @@ class OWConverseLLM(widget.OWWidget):
25
25
  name = "Converse LLM"
26
26
  description = "Generate a response to a column 'prompt' with a LLM, while keeping the previous interactions in memory"
27
27
  icon = "icons/owconversellm.svg"
28
+ category = "AAIT - ALGORITHM"
28
29
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
29
30
  icon = "icons_dev/owconversellm.svg"
30
31
  gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owconversellm.ui")
@@ -23,6 +23,7 @@ else:
23
23
  class OWCreateEmbeddings(widget.OWWidget):
24
24
  name = "Create Embeddings"
25
25
  description = "Create embeddings on the column 'content' of a Table"
26
+ category = "AAIT - LLM INTEGRATION"
26
27
  icon = "icons/owembeddings.svg"
27
28
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
28
29
  icon = "icons_dev/owembeddings.svg"
@@ -281,6 +281,7 @@ class OWCorpusViewer(OWWidget, ConcurrentWidgetMixin):
281
281
  name = "MarkDown Viewer"
282
282
  description = "Display corpus contents with Markdown."
283
283
  icon = "icons/MDViewer.png"
284
+ category = "AAIT - Toolbox"
284
285
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
285
286
  icon = "icons_dev/MDViewer.png"
286
287
  priority = 1002
@@ -14,6 +14,7 @@ from AnyQt.QtCore import Qt
14
14
  class OWEditTable(widget.OWWidget):
15
15
  name = "Edit Table"
16
16
  description = "Display and edit input data in a table format"
17
+ category = "AAIT - Toolbox"
17
18
  icon = "icons/owedittable.svg"
18
19
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
19
20
  icon = "icons_dev/owedittable.svg"
@@ -9,6 +9,7 @@ class EndLoopWidget(OWWidget):
9
9
  name = "End Loop"
10
10
  description = "Widget to end a loop based on a predefined condition."
11
11
  icon = "icons/endloop.png"
12
+ category = "AAIT - ALGORITHM"
12
13
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
13
14
  icon = "icons_dev/endloop.png"
14
15
 
@@ -0,0 +1,101 @@
1
+ import os
2
+ import sys
3
+ import platform
4
+ import numpy as np
5
+ import datetime as datetime
6
+ import Orange
7
+ import Orange.data
8
+ from Orange.widgets import widget
9
+ from Orange.widgets.utils.signals import Output
10
+
11
+ from AnyQt.QtWidgets import QApplication
12
+
13
+ # Conditional imports to mirror Orange add-on layout
14
+ if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
15
+ from Orange.widgets.orangecontrib.AAIT.utils.import_uic import uic
16
+ from Orange.widgets.orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
17
+ else:
18
+ from orangecontrib.AAIT.utils.import_uic import uic
19
+ from orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
20
+
21
+ try:
22
+ import importlib.metadata as importlib_metadata
23
+ except Exception: # pragma: no cover
24
+ import importlib_metadata # type: ignore
25
+
26
+
27
+ @apply_modification_from_python_file(filepath_original_widget=__file__)
28
+ class OWEnvInfo(widget.OWWidget):
29
+ name = "Environment Info"
30
+ description = "Exports system, Orange, Python, and package versions as a single-row table."
31
+ category = "AAIT - Toolbox"
32
+ icon = "icons/owenvinfo.png"
33
+ if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
34
+ icon = "icons_dev/owenvinfo.png"
35
+ gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owenvinfo.ui")
36
+ priority = 1094
37
+ want_control_area = False
38
+
39
+ class Outputs:
40
+ data = Output("Environment Info", Orange.data.Table)
41
+
42
+ def __init__(self):
43
+ super().__init__()
44
+ self.setFixedWidth(470)
45
+ self.setFixedHeight(300)
46
+ uic.loadUi(self.gui, self)
47
+
48
+ table = self._build_table()
49
+ self.Outputs.data.send(table)
50
+
51
+ @staticmethod
52
+ def _safe_version(pkg: str):
53
+ try:
54
+ return importlib_metadata.version(pkg)
55
+ except Exception:
56
+ return None
57
+
58
+ def _collect(self):
59
+ keys = [
60
+ "OS", "Machine", "Processor",
61
+ "Python Version", "Python Executable", "Orange3",
62
+ "Time"
63
+ ]
64
+ vals = [
65
+ platform.platform(),
66
+ platform.machine(),
67
+ platform.processor() or platform.machine(),
68
+ sys.version.replace("\n", " "),
69
+ sys.executable,
70
+ getattr(Orange, "__version__", "unknown"),
71
+ datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") # <-- valeur formatée
72
+ ]
73
+
74
+ notable = [
75
+ "aait", "io4it", "hlit",
76
+ ]
77
+ for pkg in notable:
78
+ ver = self._safe_version(pkg)
79
+ if ver:
80
+ keys.append(pkg)
81
+ vals.append(ver)
82
+ return keys, vals
83
+
84
+ def _build_table(self) -> Orange.data.Table:
85
+ keys, vals = self._collect()
86
+
87
+ metas = [Orange.data.StringVariable.make(k) for k in keys]
88
+ domain = Orange.data.Domain([], metas=metas)
89
+ X = np.zeros((1, 0))
90
+ M = np.array([vals], dtype=object)
91
+ return Orange.data.Table(domain, X, metas=M)
92
+
93
+
94
+ if __name__ == "__main__":
95
+ app = QApplication(sys.argv)
96
+ w = OWEnvInfo()
97
+ w.show()
98
+ if hasattr(app, "exec"):
99
+ app.exec()
100
+ else:
101
+ app.exec_()
@@ -22,6 +22,7 @@ else:
22
22
  class OWExecuteScript(widget.OWWidget):
23
23
  name = "Execute Script"
24
24
  description = "Locally execute the scripts contained in the column 'Script'."
25
+ category = "AAIT - Toolbox"
25
26
  icon = "icons/owexecutescript.svg"
26
27
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
27
28
  icon = "icons_dev/owexecutescript.svg"
@@ -16,6 +16,7 @@ else:
16
16
  class OWExtraChunks(widget.OWWidget):
17
17
  name = "Extra Chunks"
18
18
  description = "Extract surrounding chunks from a dataset"
19
+ category = "AAIT - LLM INTEGRATION"
19
20
  icon = "icons/extra_chunks.png"
20
21
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
21
22
  icon = "icons_dev/extra_chunks.png"
@@ -19,6 +19,7 @@ else:
19
19
  class OWExtractTokens(widget.OWWidget):
20
20
  name = "Extract Tokens"
21
21
  description = "This widget extracts the tokens from your input data."
22
+ category = "AAIT - LLM INTEGRATION"
22
23
  icon = "icons/owextracttokens.svg"
23
24
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
24
25
  icon = "icons_dev/owextracttokens.svg"
@@ -114,7 +115,7 @@ def tokens_to_column(table):
114
115
 
115
116
  new_data_rows = []
116
117
  for i, row in enumerate(table):
117
- tokens = table.tokens[i]
118
+ tokens = list(table.tokens[i])
118
119
 
119
120
  # Pad token list to max_tokens with empty strings
120
121
  padded_tokens = tokens + [''] * (max_tokens - len(tokens))
@@ -18,6 +18,7 @@ else:
18
18
  @apply_modification_from_python_file(filepath_original_widget=__file__)
19
19
  class OWFileWithPath(widget.OWWidget):
20
20
  name = "File with Path"
21
+ category = "AAIT - Toolbox"
21
22
  description = "Load some tabular data specified with a filepath ('.../data/example.xlsx')."
22
23
  icon = "icons/owfilewithpath.svg"
23
24
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
@@ -0,0 +1,126 @@
1
+ import os
2
+ import sys
3
+ import Orange.data
4
+ from AnyQt.QtWidgets import QApplication, QLineEdit, QCheckBox
5
+ from Orange.data import StringVariable, Table, Domain
6
+ from Orange.widgets import widget
7
+ from Orange.widgets.utils.signals import Input, Output
8
+ from Orange.widgets.settings import Setting
9
+
10
+ if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
11
+ from Orange.widgets.orangecontrib.AAIT.utils.import_uic import uic
12
+ from Orange.widgets.orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
13
+ else:
14
+ from orangecontrib.AAIT.utils.import_uic import uic
15
+ from orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
16
+
17
+
18
+ @apply_modification_from_python_file(filepath_original_widget=__file__)
19
+ class OWFileFromDir(widget.OWWidget):
20
+ name = "Find Files From Dir"
21
+ description = ("Search files by extension or no for all files in a directory or subdirectories."
22
+ "You need a column 'input_dir' of the files.")
23
+ category = "AAIT - Toolbox"
24
+ icon = "icons/owfilesfromdir.svg"
25
+ if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
26
+ icon = "icons_dev/owfilesfromdir.svg"
27
+ gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owfindfilesfromdir.ui")
28
+ want_control_area = False
29
+ priority = 1060
30
+ extension = Setting("")
31
+ recursive = Setting("False")
32
+
33
+ class Inputs:
34
+ data = Input("Data", Orange.data.Table)
35
+
36
+ class Outputs:
37
+ data = Output("Data", Orange.data.Table)
38
+
39
+
40
+ @Inputs.data
41
+ def set_path_table(self, in_data):
42
+ if in_data is not None:
43
+ if "input_dir" in in_data.domain:
44
+ self.folderpath = in_data.get_column("input_dir")
45
+ self.data = in_data
46
+ self.run()
47
+ else:
48
+ self.warning("You need a 'input_dir' variable from which the data will be loaded.")
49
+
50
+
51
+ def __init__(self):
52
+ super().__init__()
53
+ # Qt Management
54
+ self.setFixedWidth(500)
55
+ self.setFixedHeight(300)
56
+ uic.loadUi(self.gui, self)
57
+ self.edit_extension = self.findChild(QLineEdit, 'lineEdit')
58
+ self.edit_extension.setPlaceholderText("Extension (.docx, .pdf, .xslx, .csv, .json ...)")
59
+ self.edit_extension.setText(self.extension)
60
+ self.edit_extension.editingFinished.connect(self.update_parameters)
61
+ self.comboBox = self.findChild(QCheckBox, 'checkBox')
62
+ if self.recursive == "True":
63
+ self.comboBox.setChecked(True)
64
+ self.comboBox.stateChanged.connect(self.on_checkbox_toggled)
65
+ # Data Management
66
+ self.folderpath = None
67
+ self.data = None
68
+ self.autorun = True
69
+ self.post_initialized()
70
+
71
+ def update_parameters(self):
72
+ self.extension = self.edit_extension.text()
73
+ if self.folderpath is not None:
74
+ self.run()
75
+
76
+ def on_checkbox_toggled(self,state):
77
+ self.recursive = "True"
78
+ if state==0:
79
+ self.recursive = "False"
80
+ if self.folderpath is not None:
81
+ self.run()
82
+
83
+
84
+ def find_files(self):
85
+ files_data = []
86
+ for i in range(len(self.folderpath)):
87
+ if self.recursive == "True":
88
+ traversal = os.walk(self.folderpath[i])
89
+ else:
90
+ traversal = [(self.folderpath[i], [], os.listdir(self.folderpath[i]))]
91
+ for root, _, files in traversal:
92
+ for file in files:
93
+ if self.extension is None or file.lower().endswith(self.extension):
94
+ files_data.append([os.path.join(root, file).replace("\\","/")])
95
+ return files_data
96
+
97
+ def run(self):
98
+ self.error("")
99
+ self.warning("")
100
+ if self.folderpath is None:
101
+ self.error("No input dir in your data")
102
+ return
103
+ try:
104
+ files_data = self.find_files()
105
+ if len(files_data) == 0:
106
+ self.Outputs.data.send(None)
107
+ return
108
+ X = [[] for _ in files_data]
109
+ domain = Domain([], metas=[StringVariable("path")])
110
+ table = Table.from_numpy(domain, X, metas=files_data)
111
+ self.Outputs.data.send(table)
112
+ except Exception as e:
113
+ self.error(f"An error occurred: the provided file path may not be supported ({e})")
114
+ return
115
+
116
+ def post_initialized(self):
117
+ pass
118
+
119
+ if __name__ == "__main__":
120
+ app = QApplication(sys.argv)
121
+ my_widget = OWFileFromDir()
122
+ my_widget.show()
123
+ if hasattr(app, "exec"):
124
+ app.exec()
125
+ else:
126
+ app.exec_()
@@ -28,6 +28,7 @@ else:
28
28
  class OWGenerateQuestions(widget.OWWidget):
29
29
  name = "Generate Questions"
30
30
  description = "Generate questions on the column 'content' of an input table"
31
+ category = "AAIT - LLM INTEGRATION"
31
32
  icon = "icons/owgeneratequestions.svg"
32
33
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
33
34
  icon = "icons_dev/owgeneratequestions.svg"
@@ -28,6 +28,7 @@ else:
28
28
  class OWGenerateSynthesis(widget.OWWidget):
29
29
  name = "Generate Synthesis"
30
30
  description = "Generate Synthesis on the column 'content' of an input table"
31
+ category = "AAIT - LLM INTEGRATION"
31
32
  icon = "icons/owgeneratesynthesis.png"
32
33
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
33
34
  icon = "icons_dev/owgeneratesynthesis.png"
@@ -260,7 +261,7 @@ class OWGenerateSynthesis(widget.OWWidget):
260
261
  current_length = len(embedder.tokenizer(partial_summaries)["input_ids"])
261
262
  self.label_progress_3.setText(f"Resulting length from precedent chunks : {current_length} tokens")
262
263
  chunks, _ = chunking.chunk_words(partial_summaries, embedder.tokenizer, chunk_size=25000, chunk_overlap=200)
263
- self.label_progress_2.setText(f"Finalising the current summary...")
264
+ self.label_progress_2.setText("Finalising the current summary...")
264
265
  return self.generate_synthesis_on_chunk(model, chunks[0], llm=llm, prompt_template=prompt4)
265
266
 
266
267
 
@@ -21,6 +21,7 @@ class OWInputSelector(OWWidget):
21
21
  icon = "icons/in_or_out.png"
22
22
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
23
23
  icon = "icons_dev/in_or_out.png"
24
+ category = "AAIT - Toolbox"
24
25
  gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/ow_in_or_out_path.ui")
25
26
  priority = 10
26
27
  want_control_area = False
@@ -81,6 +81,7 @@ class OWKeywords(widget.OWWidget):
81
81
  name = "Keywords Detection"
82
82
  description = "Give the amount of keywords from in_object in in_data"
83
83
  icon = "icons/keyword.png"
84
+ category = "AAIT - LLM INTEGRATION"
84
85
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
85
86
  icon = "icons_dev/keyword.png"
86
87
  gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owkeyword.ui")
@@ -31,6 +31,7 @@ else:
31
31
  class OWLLM4ALL(widget.OWWidget):
32
32
  name = "LLM Local 4 All"
33
33
  description = "Query a local LLM to get a response (deprecated -> use query llm instead)"
34
+ category = "AAIT - LLM INTEGRATION"
34
35
  icon = "icons/llm4all.svg"
35
36
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
36
37
  icon = "icons_dev/llm4all.svg"
@@ -22,6 +22,7 @@ class OWLMStudio(widget.OWWidget):
22
22
  name = "LM Studio"
23
23
  description = "Query LM studio to get a response"
24
24
  icon = "icons/lm_studio.png"
25
+ category = "AAIT - LLM INTEGRATION"
25
26
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
26
27
  icon = "icons_dev/lm_studio.png"
27
28
  gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owllm4all.ui")
@@ -169,7 +170,7 @@ class OWLMStudio(widget.OWWidget):
169
170
  for i, row in enumerate(self.data):
170
171
  features = list(self.data[i])
171
172
  metas = list(self.data.metas[i])
172
- result = lmstudio.appel_lmstudio(str(row["prompt"]), self.model)
173
+ result = lmstudio.appel_lmstudio(str(row["prompt"]), self.model, stream=stream)
173
174
  metas.append(result)
174
175
  rows.append(features + metas)
175
176
  answer_dom = [StringVariable("Answer")]
@@ -18,6 +18,7 @@ else:
18
18
  class OWLanguageDetection(widget.OWWidget):
19
19
  name = "Language Detection"
20
20
  description = "Detects language of text content."
21
+ category = "AAIT - LLM INTEGRATION"
21
22
  icon = "icons/languages.png"
22
23
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
23
24
  icon = "icons_dev/languages.png"
@@ -22,6 +22,7 @@ else:
22
22
  class OWLemmatizer(widget.OWWidget):
23
23
  name = "Lemmes & Tags"
24
24
  description = "Generate the lemmes and the tags on the column 'content' of a Table"
25
+ category = "AAIT - LLM INTEGRATION"
25
26
  icon = "icons/owlemmatizer.svg"
26
27
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
27
28
  icon = "icons_dev/owlemmatizer.svg"
@@ -21,6 +21,7 @@ else:
21
21
  class OWModelSolarUncensored(widget.OWWidget):
22
22
  name = "Solar 10.7B Uncensored"
23
23
  description = "Load the model Solar Uncensored from the AAIT Store"
24
+ category = "AAIT - Models"
24
25
  icon = "icons/logo_uncensoredsolar.svg"
25
26
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
26
27
  icon = "icons_dev/logo_uncensoredsolar.svg"
@@ -21,6 +21,7 @@ else:
21
21
  class OWModelSpacyMDEN(widget.OWWidget):
22
22
  name = "SpacyMD-EN"
23
23
  description = "Load the model SpacyMD-EN from the AAIT Store"
24
+ category = "AAIT - Models"
24
25
  icon = "icons/owmodel_spacymd_en.svg"
25
26
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
26
27
  icon = "icons_dev/owmodel_spacymd_en.svg"
@@ -21,6 +21,7 @@ else:
21
21
  class OWModelSpacyMDFR(widget.OWWidget):
22
22
  name = "SpacyMD-FR"
23
23
  description = "Load the model SpacyMD-FR from the AAIT Store"
24
+ category = "AAIT - Models"
24
25
  icon = "icons/owmodel_spacymd_fr.svg"
25
26
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
26
27
  icon = "icons_dev/owmodel_spacymd_fr.svg"
@@ -22,6 +22,7 @@ class Optimisation(widget.OWWidget):
22
22
  name = "Optimization"
23
23
  description = "Optimization with optuna"
24
24
  icon = "icons/owoptimisation.svg"
25
+ category = "AAIT - ALGORITHM"
25
26
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
26
27
  icon = "icons_dev/owoptimisation.svg"
27
28
 
@@ -17,6 +17,7 @@ class OWOptimisationSelection(widget.OWWidget):
17
17
  name = "Optimization - Selection"
18
18
  description = "Choose whether you want Optuna to run automatically or not"
19
19
  icon = "icons/owoptimisationselection.png"
20
+ category = "AAIT - ALGORITHM"
20
21
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
21
22
  icon = "icons_dev/owoptimisationselection.png"
22
23
 
@@ -20,6 +20,7 @@ else:
20
20
  class OWOptimisationSendScore(widget.OWWidget):
21
21
  name = "Optimisation - Send score"
22
22
  description = "Send the score Optuna"
23
+ category = "AAIT - ALGORITHM"
23
24
  icon = "icons/optimisation.png"
24
25
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
25
26
  icon = "icons_dev/optimisation.png"
@@ -21,6 +21,7 @@ class OWProcessDocumentsFromPath(widget.OWWidget): # type: ignore
21
21
  "'embeddings.pkl' is returned as Processed Data, while the content of the documents (not contained "
22
22
  "in 'embeddings.pkl') is returned as Data")
23
23
  icon = "icons/processdocuments.svg"
24
+ category = "AAIT - Toolbox"
24
25
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
25
26
  icon = "icons_dev/processdocuments.svg"
26
27
  gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owprocessdocuments.ui")
@@ -25,6 +25,7 @@ else:
25
25
  class OWQueryLLM(widget.OWWidget):
26
26
  name = "Query LLM"
27
27
  description = "Generate a response to a column 'prompt' with a LLM"
28
+ category = "AAIT - LLM INTEGRATION"
28
29
  icon = "icons/owqueryllm.svg"
29
30
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
30
31
  icon = "icons_dev/owqueryllm.svg"
@@ -57,7 +58,6 @@ class OWQueryLLM(widget.OWWidget):
57
58
  @Inputs.model_path
58
59
  def set_model_path(self, in_model_path):
59
60
  self.model_path = in_model_path
60
- answers.check_gpu(in_model_path, self)
61
61
  if self.autorun:
62
62
  self.run()
63
63
 
@@ -134,9 +134,6 @@ class OWQueryLLM(widget.OWWidget):
134
134
 
135
135
 
136
136
  def run(self):
137
- if not self.can_run:
138
- return
139
-
140
137
  # If Thread is already running, interrupt it
141
138
  if self.thread is not None:
142
139
  if self.thread.isRunning():
@@ -151,6 +148,10 @@ class OWQueryLLM(widget.OWWidget):
151
148
  if not "prompt" in self.data.domain:
152
149
  return
153
150
 
151
+ answers.check_gpu(self.model_path, self)
152
+ if not self.can_run:
153
+ return
154
+
154
155
  query_parameters = {
155
156
  "max_tokens": self.max_tokens,
156
157
  "temperature": self.temperature,
@@ -24,6 +24,7 @@ else:
24
24
  class OWWidgetRandomData(widget.OWWidget):
25
25
  name = "Random data from inference space"
26
26
  description = "Random data allowing to generate data according to a min, a max and a step (optional)"
27
+ category = "AAIT - Toolbox"
27
28
 
28
29
  icon = "icons/de.png"
29
30
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
@@ -24,6 +24,7 @@ else:
24
24
  class OWReranking(widget.OWWidget):
25
25
  name = "Reranking"
26
26
  description = "Apply a reranker to the column 'content' of your input data, in regards to a column 'request' in your request data."
27
+ category = "AAIT - Toolbox"
27
28
  icon = "icons/owreranking.svg"
28
29
  if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
29
30
  icon = "icons_dev/owreranking.svg"