aait 1.0.2.2__tar.gz → 1.0.4__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 (235) hide show
  1. {aait-1.0.2.2 → aait-1.0.4}/PKG-INFO +7 -2
  2. {aait-1.0.2.2 → aait-1.0.4}/aait.egg-info/PKG-INFO +7 -2
  3. {aait-1.0.2.2 → aait-1.0.4}/aait.egg-info/SOURCES.txt +1 -1
  4. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWSaveFilepathEntry.py +1 -18
  5. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_en_fr.svg +27 -27
  6. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_fr_en.svg +27 -27
  7. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_en.svg +27 -27
  8. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_fr.svg +27 -27
  9. {aait-1.0.2.2 → aait-1.0.4}/setup.py +1 -1
  10. aait-1.0.2.2/orangecontrib/AAIT/widgets/OWDeep_Search.py +0 -208
  11. {aait-1.0.2.2 → aait-1.0.4}/License.txt +0 -0
  12. {aait-1.0.2.2 → aait-1.0.4}/aait.egg-info/dependency_links.txt +0 -0
  13. {aait-1.0.2.2 → aait-1.0.4}/aait.egg-info/entry_points.txt +0 -0
  14. {aait-1.0.2.2 → aait-1.0.4}/aait.egg-info/namespace_packages.txt +0 -0
  15. {aait-1.0.2.2 → aait-1.0.4}/aait.egg-info/requires.txt +0 -0
  16. {aait-1.0.2.2 → aait-1.0.4}/aait.egg-info/top_level.txt +0 -0
  17. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/__init__.py +0 -0
  18. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/SignalReceiver.py +0 -0
  19. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/__init__.py +0 -0
  20. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/audit_widget.py +0 -0
  21. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (2).TIF +0 -0
  22. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (3).TIF +0 -0
  23. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (4).TIF +0 -0
  24. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0001.csv +0 -0
  25. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0002.csv +0 -0
  26. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0003.csv +0 -0
  27. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/dynamic_results.py +0 -0
  28. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/test_all_widgets.py +0 -0
  29. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/test_server.py +0 -0
  30. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_4all.py +0 -0
  31. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_chunking.py +0 -0
  32. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_edit_table.py +0 -0
  33. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_mpnet_create_embeddings.py +0 -0
  34. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_optimisation.py +0 -0
  35. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_optimisationselection.py +0 -0
  36. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_powfactory.py +0 -0
  37. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_queryllm.py +0 -0
  38. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_spacy_md_fr_lemmatizer.py +0 -0
  39. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widget_traduction.py +0 -0
  40. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/audit_widget/widgets_model.py +0 -0
  41. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/encapsulation/__init__.py +0 -0
  42. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/fix_torch/fix_torch_dll_error.py +0 -0
  43. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/fix_torch/libomp140.x86_64.dll +0 -0
  44. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/GPT4ALL.py +0 -0
  45. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/GPT4ALL_killer.py +0 -0
  46. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/MergeBaseLora.py +0 -0
  47. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/SERV_kill_workflow.py +0 -0
  48. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/SERV_requests.py +0 -0
  49. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/SERV_start_workflow.py +0 -0
  50. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/Tutorial_Finetuning.py +0 -0
  51. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/Tutorial_TestFinetuning.py +0 -0
  52. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/__init__.py +0 -0
  53. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/answers.py +0 -0
  54. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/chunking.py +0 -0
  55. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/embeddings.py +0 -0
  56. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/finetuning.py +0 -0
  57. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/functions_DatasetGeneration.py +0 -0
  58. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/functions_Finetuning.py +0 -0
  59. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/lemmes.py +0 -0
  60. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/lmstudio.py +0 -0
  61. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/main_DatasetGeneration.py +0 -0
  62. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/main_Finetuning.py +0 -0
  63. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/process_documents.py +0 -0
  64. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/prompt_management.py +0 -0
  65. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/quickpy.py +0 -0
  66. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/test.py +0 -0
  67. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/test_functions.py +0 -0
  68. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/llm/translations.py +0 -0
  69. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/optimiser/__init__.py +0 -0
  70. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/optimiser/optuna_multi.py +0 -0
  71. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/CheckMetaData.py +0 -0
  72. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/MetManagement.py +0 -0
  73. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/SimpleDialogQt.py +0 -0
  74. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/__init__.py +0 -0
  75. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/aait_repo_file.py +0 -0
  76. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/check_data_in.py +0 -0
  77. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/delta_local_shared_fodler.py +0 -0
  78. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/import_uic.py +0 -0
  79. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/initialize_from_ini.py +0 -0
  80. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/shared_functions.py +0 -0
  81. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/shared_variables.py +0 -0
  82. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/subprocess_management.py +0 -0
  83. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/thread_management.py +0 -0
  84. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/tools/__init__.py +0 -0
  85. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/tools/change_owcorpus.py +0 -0
  86. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/tools/concat_splitted_pypi.py +0 -0
  87. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/tools/first_time_check.py +0 -0
  88. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/tools/owcorpus_ok.txt +0 -0
  89. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/utils/windows_utils.py +0 -0
  90. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWAAITResourcesManager.py +0 -0
  91. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWApplyRules.py +0 -0
  92. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWCN2rule_view.py +0 -0
  93. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWChunking.py +0 -0
  94. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWConcatRules.py +0 -0
  95. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWConverseLLM.py +0 -0
  96. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWCreateEmbeddings.py +0 -0
  97. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWDisplayMD.py +0 -0
  98. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWEditTable.py +0 -0
  99. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWEndLoop.py +0 -0
  100. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWExecuteScript.py +0 -0
  101. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWExtraChunks.py +0 -0
  102. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWFileWithPath.py +0 -0
  103. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWGenerateQuestions.py +0 -0
  104. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWGenerateSynthesis.py +0 -0
  105. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWInputSelector.py +0 -0
  106. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWKeywords.py +0 -0
  107. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWLLM4ALL.py +0 -0
  108. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWLMStudio.py +0 -0
  109. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWLanguageDetection.py +0 -0
  110. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWLemmatizer.py +0 -0
  111. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_Falcon.py +0 -0
  112. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_HelsinkiEnFr.py +0 -0
  113. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_HelsinkiFrEn.py +0 -0
  114. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_MPNET.py +0 -0
  115. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_Mistral.py +0 -0
  116. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_Qwen.py +0 -0
  117. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_Qwen1B5_Q6.py +0 -0
  118. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_Qwen3B_Q4.py +0 -0
  119. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q4.py +0 -0
  120. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q6.py +0 -0
  121. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_Solar.py +0 -0
  122. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_SolarUncensored.py +0 -0
  123. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_EN.py +0 -0
  124. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_FR.py +0 -0
  125. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWOptimisation.py +0 -0
  126. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWOptimisationSelection.py +0 -0
  127. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWOptimisationSendScore.py +0 -0
  128. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWPaddleOCR.py +0 -0
  129. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWProcessDocumentsFromPath.py +0 -0
  130. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWQueryLLM.py +0 -0
  131. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWRandomData.py +0 -0
  132. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWStartLoop.py +0 -0
  133. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWTable2Corpus.py +0 -0
  134. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWTranslation.py +0 -0
  135. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/OWTrigger.py +0 -0
  136. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/POW_Wfactory.py +0 -0
  137. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/__init__.py +0 -0
  138. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owMarkdown.ui +0 -0
  139. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/ow_in_or_out_path.ui +0 -0
  140. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/ow_widget_random_data.ui +0 -0
  141. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owapplyrules.ui +0 -0
  142. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owchunking.ui +0 -0
  143. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owconcatrules.ui +0 -0
  144. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owconversellm.ui +0 -0
  145. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owdeepsearch.ui +0 -0
  146. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owembeddings.ui +0 -0
  147. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owendloop.ui +0 -0
  148. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owexecutescript.ui +0 -0
  149. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owextrachunks.ui +0 -0
  150. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owfilewithpath.ui +0 -0
  151. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owgeneratequestions.ui +0 -0
  152. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owgeneratesynthesis.ui +0 -0
  153. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owkeyword.ui +0 -0
  154. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owlangdetect.ui +0 -0
  155. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owlemmatizer.ui +0 -0
  156. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owllm4all.ui +0 -0
  157. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owloadworkflow.ui +0 -0
  158. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_falcon.ui +0 -0
  159. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_en_fr.ui +0 -0
  160. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_fr_en.ui +0 -0
  161. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_mistral.ui +0 -0
  162. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_mpnet.ui +0 -0
  163. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_qwen.ui +0 -0
  164. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_solar.ui +0 -0
  165. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_solar_uncensored.ui +0 -0
  166. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_en.ui +0 -0
  167. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_fr.ui +0 -0
  168. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/ownumberpointinrules.ui +0 -0
  169. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owpaddleocr.ui +0 -0
  170. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owprocessdocuments.ui +0 -0
  171. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owqueryllm.ui +0 -0
  172. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owstartloop.ui +0 -0
  173. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owtable2corpus.ui +0 -0
  174. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owtranslation.ui +0 -0
  175. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/designer/owtrigger.ui +0 -0
  176. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/CN2RuleViewer.svg +0 -0
  177. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/MDViewer.png +0 -0
  178. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/Mistral.png +0 -0
  179. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/apply_rules.svg +0 -0
  180. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/category.svg +0 -0
  181. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/dark_green.txt +0 -0
  182. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/de.png +0 -0
  183. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/documents.png +0 -0
  184. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/endloop.png +0 -0
  185. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/extra_chunks.png +0 -0
  186. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/in_or_out.png +0 -0
  187. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/keyword.png +0 -0
  188. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/languages.png +0 -0
  189. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/llm4all.svg +0 -0
  190. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/lm_studio.png +0 -0
  191. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/local_interf_img_multi_pull.svg +0 -0
  192. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/local_interf_multi_pull.svg +0 -0
  193. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/local_interf_pull.svg +0 -0
  194. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/local_interf_push.svg +0 -0
  195. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/local_interf_text_pull.svg +0 -0
  196. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/logo_solar.svg +0 -0
  197. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/logo_uncensoredsolar.svg +0 -0
  198. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/logo_upload.png +0 -0
  199. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/optimisation.png +0 -0
  200. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owCN2_intersect_rules.svg +0 -0
  201. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owchunking.png +0 -0
  202. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owconversellm.svg +0 -0
  203. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owedittable.svg +0 -0
  204. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owembeddings.svg +0 -0
  205. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owexecutescript.svg +0 -0
  206. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owfilewithpath.svg +0 -0
  207. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owgeneratequestions.svg +0 -0
  208. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owgeneratesynthesis.png +0 -0
  209. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owlemmatizer.svg +0 -0
  210. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owmodel_falcon.png +0 -0
  211. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owmodel_mpnet.svg +0 -0
  212. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owoptimisation.svg +0 -0
  213. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owoptimisationselection.png +0 -0
  214. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owqueryllm.svg +0 -0
  215. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owsavefilepathentry.svg +0 -0
  216. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owtable2corpus.svg +0 -0
  217. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owtranslation.svg +0 -0
  218. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/owtrigger.svg +0 -0
  219. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/paddleocr.svg +0 -0
  220. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/processdocuments.svg +0 -0
  221. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/qwen-color.png +0 -0
  222. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/startloop.png +0 -0
  223. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/AAIT/widgets/icons/widgetFactory.svg +0 -0
  224. {aait-1.0.2.2 → aait-1.0.4}/orangecontrib/__init__.py +0 -0
  225. {aait-1.0.2.2 → aait-1.0.4}/setup.cfg +0 -0
  226. {aait-1.0.2.2 → aait-1.0.4}/tests/test_class_values_context_handler.py +0 -0
  227. {aait-1.0.2.2 → aait-1.0.4}/tests/test_credentials.py +0 -0
  228. {aait-1.0.2.2 → aait-1.0.4}/tests/test_domain_context_handler.py +0 -0
  229. {aait-1.0.2.2 → aait-1.0.4}/tests/test_gui.py +0 -0
  230. {aait-1.0.2.2 → aait-1.0.4}/tests/test_matplotlib_export.py +0 -0
  231. {aait-1.0.2.2 → aait-1.0.4}/tests/test_perfect_domain_context_handler.py +0 -0
  232. {aait-1.0.2.2 → aait-1.0.4}/tests/test_scatterplot_density.py +0 -0
  233. {aait-1.0.2.2 → aait-1.0.4}/tests/test_settings_handler.py +0 -0
  234. {aait-1.0.2.2 → aait-1.0.4}/tests/test_widgets_outputs.py +0 -0
  235. {aait-1.0.2.2 → aait-1.0.4}/tests/test_workflows.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: aait
3
- Version: 1.0.2.2
3
+ Version: 1.0.4
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
@@ -30,3 +30,8 @@ Requires-Dist: thefuzz==0.22.1
30
30
  Requires-Dist: paddleocr==2.8.0
31
31
  Requires-Dist: beautifulsoup4==4.12.3
32
32
  Requires-Dist: paddlepaddle==2.6.2
33
+ Dynamic: author
34
+ Dynamic: keywords
35
+ Dynamic: license-file
36
+ Dynamic: requires-dist
37
+ Dynamic: summary
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: aait
3
- Version: 1.0.2.2
3
+ Version: 1.0.4
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
@@ -30,3 +30,8 @@ Requires-Dist: thefuzz==0.22.1
30
30
  Requires-Dist: paddleocr==2.8.0
31
31
  Requires-Dist: beautifulsoup4==4.12.3
32
32
  Requires-Dist: paddlepaddle==2.6.2
33
+ Dynamic: author
34
+ Dynamic: keywords
35
+ Dynamic: license-file
36
+ Dynamic: requires-dist
37
+ Dynamic: summary
@@ -1,4 +1,5 @@
1
1
  License.txt
2
+ setup.cfg
2
3
  setup.py
3
4
  aait.egg-info/PKG-INFO
4
5
  aait.egg-info/SOURCES.txt
@@ -88,7 +89,6 @@ orangecontrib/AAIT/widgets/OWChunking.py
88
89
  orangecontrib/AAIT/widgets/OWConcatRules.py
89
90
  orangecontrib/AAIT/widgets/OWConverseLLM.py
90
91
  orangecontrib/AAIT/widgets/OWCreateEmbeddings.py
91
- orangecontrib/AAIT/widgets/OWDeep_Search.py
92
92
  orangecontrib/AAIT/widgets/OWDisplayMD.py
93
93
  orangecontrib/AAIT/widgets/OWEditTable.py
94
94
  orangecontrib/AAIT/widgets/OWEndLoop.py
@@ -6,9 +6,6 @@ from Orange.widgets.utils.widgetpreview import WidgetPreview
6
6
  from Orange.widgets.widget import Input
7
7
 
8
8
 
9
- import pickle
10
-
11
-
12
9
 
13
10
  class OWSaveFilepathEntry(widget.OWWidget):
14
11
  name = "Save with Filepath Entry"
@@ -93,21 +90,7 @@ class OWSaveFilepathEntry(widget.OWWidget):
93
90
  saver.filename = self.save_path
94
91
  saver.filter = selected_filter
95
92
  saver.do_save()
96
- # if len(self.save_path)>4:
97
- # if self.save_path[-3:]!="pkl":
98
- # import Orange.widgets.data.owsave as save_py
99
- #
100
- # saver = save_py.OWSave()
101
- # saver.data = self.data
102
- # saver.filename = self.save_path
103
- # saver.add_type_annotations=True
104
- # saver.do_save()
105
- # return
106
- #
107
- # # add jcmhkh
108
- # with open(self.save_path, "wb") as f:
109
- # print("warning hard save pikle!")
110
- # pickle.dump(self.data, f)
93
+
111
94
 
112
95
  self.data = None
113
96
  self.save_path = None
@@ -1,27 +1,27 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Modified SVG -->
3
- <svg fill="#000000" width="900px" height="900px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
4
- <defs>
5
- <style>
6
- .cls-1 {
7
- fill: none;
8
- }
9
- .text-style {
10
- font-size: 4px; /* Adjust size to fit */
11
- fill: #000000; /* Text color */
12
- text-anchor: middle; /* Center align text */
13
- }
14
- </style>
15
- </defs>
16
-
17
- <!-- Grouping icon paths and moving it upward with transform -->
18
- <g transform="translate(2.5, 2) scale(0.8)"> <!-- Adjust the Y-axis value to move it upward -->
19
- <path d="M27,24a2.9609,2.9609,0,0,0-1.2854.3008L21.4141,20H18v2h2.5859l3.7146,3.7148A2.9665,2.9665,0,0,0,24,27a3,3,0,1,0,3-3Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,28Z"/>
20
- <path d="M27,13a2.9948,2.9948,0,0,0-2.8157,2H18v2h6.1843A2.9947,2.9947,0,1,0,27,13Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,17Z"/>
21
- <path d="M27,2a3.0033,3.0033,0,0,0-3,3,2.9657,2.9657,0,0,0,.3481,1.373L20.5957,10H18v2h3.4043l4.3989-4.2524A2.9987,2.9987,0,1,0,27,2Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,6Z"/>
22
- <path d="M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z"/>
23
- </g>
24
-
25
- <!-- Text under the icon -->
26
- <text x="16" y="30" class="text-style">Helsinki EN-FR</text>
27
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Modified SVG -->
3
+ <svg fill="#000000" width="900px" height="900px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <style>
6
+ .cls-1 {
7
+ fill: none;
8
+ }
9
+ .text-style {
10
+ font-size: 4px; /* Adjust size to fit */
11
+ fill: #000000; /* Text color */
12
+ text-anchor: middle; /* Center align text */
13
+ }
14
+ </style>
15
+ </defs>
16
+
17
+ <!-- Grouping icon paths and moving it upward with transform -->
18
+ <g transform="translate(2.5, 2) scale(0.8)"> <!-- Adjust the Y-axis value to move it upward -->
19
+ <path d="M27,24a2.9609,2.9609,0,0,0-1.2854.3008L21.4141,20H18v2h2.5859l3.7146,3.7148A2.9665,2.9665,0,0,0,24,27a3,3,0,1,0,3-3Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,28Z"/>
20
+ <path d="M27,13a2.9948,2.9948,0,0,0-2.8157,2H18v2h6.1843A2.9947,2.9947,0,1,0,27,13Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,17Z"/>
21
+ <path d="M27,2a3.0033,3.0033,0,0,0-3,3,2.9657,2.9657,0,0,0,.3481,1.373L20.5957,10H18v2h3.4043l4.3989-4.2524A2.9987,2.9987,0,1,0,27,2Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,6Z"/>
22
+ <path d="M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z"/>
23
+ </g>
24
+
25
+ <!-- Text under the icon -->
26
+ <text x="16" y="30" class="text-style">Helsinki EN-FR</text>
27
+ </svg>
@@ -1,27 +1,27 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Modified SVG -->
3
- <svg fill="#000000" width="900px" height="900px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
4
- <defs>
5
- <style>
6
- .cls-1 {
7
- fill: none;
8
- }
9
- .text-style {
10
- font-size: 4px; /* Adjust size to fit */
11
- fill: #000000; /* Text color */
12
- text-anchor: middle; /* Center align text */
13
- }
14
- </style>
15
- </defs>
16
-
17
- <!-- Grouping icon paths and moving it upward with transform -->
18
- <g transform="translate(2.5, 2) scale(0.8)"> <!-- Adjust the Y-axis value to move it upward -->
19
- <path d="M27,24a2.9609,2.9609,0,0,0-1.2854.3008L21.4141,20H18v2h2.5859l3.7146,3.7148A2.9665,2.9665,0,0,0,24,27a3,3,0,1,0,3-3Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,28Z"/>
20
- <path d="M27,13a2.9948,2.9948,0,0,0-2.8157,2H18v2h6.1843A2.9947,2.9947,0,1,0,27,13Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,17Z"/>
21
- <path d="M27,2a3.0033,3.0033,0,0,0-3,3,2.9657,2.9657,0,0,0,.3481,1.373L20.5957,10H18v2h3.4043l4.3989-4.2524A2.9987,2.9987,0,1,0,27,2Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,6Z"/>
22
- <path d="M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z"/>
23
- </g>
24
-
25
- <!-- Text under the icon -->
26
- <text x="16" y="30" class="text-style">Helsinki FR-EN</text>
27
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Modified SVG -->
3
+ <svg fill="#000000" width="900px" height="900px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <style>
6
+ .cls-1 {
7
+ fill: none;
8
+ }
9
+ .text-style {
10
+ font-size: 4px; /* Adjust size to fit */
11
+ fill: #000000; /* Text color */
12
+ text-anchor: middle; /* Center align text */
13
+ }
14
+ </style>
15
+ </defs>
16
+
17
+ <!-- Grouping icon paths and moving it upward with transform -->
18
+ <g transform="translate(2.5, 2) scale(0.8)"> <!-- Adjust the Y-axis value to move it upward -->
19
+ <path d="M27,24a2.9609,2.9609,0,0,0-1.2854.3008L21.4141,20H18v2h2.5859l3.7146,3.7148A2.9665,2.9665,0,0,0,24,27a3,3,0,1,0,3-3Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,28Z"/>
20
+ <path d="M27,13a2.9948,2.9948,0,0,0-2.8157,2H18v2h6.1843A2.9947,2.9947,0,1,0,27,13Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,17Z"/>
21
+ <path d="M27,2a3.0033,3.0033,0,0,0-3,3,2.9657,2.9657,0,0,0,.3481,1.373L20.5957,10H18v2h3.4043l4.3989-4.2524A2.9987,2.9987,0,1,0,27,2Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,6Z"/>
22
+ <path d="M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z"/>
23
+ </g>
24
+
25
+ <!-- Text under the icon -->
26
+ <text x="16" y="30" class="text-style">Helsinki FR-EN</text>
27
+ </svg>
@@ -1,27 +1,27 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Modified SVG -->
3
- <svg fill="#000000" width="900px" height="900px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
4
- <defs>
5
- <style>
6
- .cls-1 {
7
- fill: none;
8
- }
9
- .text-style {
10
- font-size: 4px; /* Adjust size to fit */
11
- fill: #000000; /* Text color */
12
- text-anchor: middle; /* Center align text */
13
- }
14
- </style>
15
- </defs>
16
-
17
- <!-- Grouping icon paths and moving it upward with transform -->
18
- <g transform="translate(2.5, 2) scale(0.8)"> <!-- Adjust the Y-axis value to move it upward -->
19
- <path d="M27,24a2.9609,2.9609,0,0,0-1.2854.3008L21.4141,20H18v2h2.5859l3.7146,3.7148A2.9665,2.9665,0,0,0,24,27a3,3,0,1,0,3-3Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,28Z"/>
20
- <path d="M27,13a2.9948,2.9948,0,0,0-2.8157,2H18v2h6.1843A2.9947,2.9947,0,1,0,27,13Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,17Z"/>
21
- <path d="M27,2a3.0033,3.0033,0,0,0-3,3,2.9657,2.9657,0,0,0,.3481,1.373L20.5957,10H18v2h3.4043l4.3989-4.2524A2.9987,2.9987,0,1,0,27,2Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,6Z"/>
22
- <path d="M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z"/>
23
- </g>
24
-
25
- <!-- Text under the icon -->
26
- <text x="16" y="30" class="text-style">SpacyMD EN</text>
27
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Modified SVG -->
3
+ <svg fill="#000000" width="900px" height="900px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <style>
6
+ .cls-1 {
7
+ fill: none;
8
+ }
9
+ .text-style {
10
+ font-size: 4px; /* Adjust size to fit */
11
+ fill: #000000; /* Text color */
12
+ text-anchor: middle; /* Center align text */
13
+ }
14
+ </style>
15
+ </defs>
16
+
17
+ <!-- Grouping icon paths and moving it upward with transform -->
18
+ <g transform="translate(2.5, 2) scale(0.8)"> <!-- Adjust the Y-axis value to move it upward -->
19
+ <path d="M27,24a2.9609,2.9609,0,0,0-1.2854.3008L21.4141,20H18v2h2.5859l3.7146,3.7148A2.9665,2.9665,0,0,0,24,27a3,3,0,1,0,3-3Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,28Z"/>
20
+ <path d="M27,13a2.9948,2.9948,0,0,0-2.8157,2H18v2h6.1843A2.9947,2.9947,0,1,0,27,13Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,17Z"/>
21
+ <path d="M27,2a3.0033,3.0033,0,0,0-3,3,2.9657,2.9657,0,0,0,.3481,1.373L20.5957,10H18v2h3.4043l4.3989-4.2524A2.9987,2.9987,0,1,0,27,2Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,6Z"/>
22
+ <path d="M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z"/>
23
+ </g>
24
+
25
+ <!-- Text under the icon -->
26
+ <text x="16" y="30" class="text-style">SpacyMD EN</text>
27
+ </svg>
@@ -1,27 +1,27 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Modified SVG -->
3
- <svg fill="#000000" width="900px" height="900px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
4
- <defs>
5
- <style>
6
- .cls-1 {
7
- fill: none;
8
- }
9
- .text-style {
10
- font-size: 4px; /* Adjust size to fit */
11
- fill: #000000; /* Text color */
12
- text-anchor: middle; /* Center align text */
13
- }
14
- </style>
15
- </defs>
16
-
17
- <!-- Grouping icon paths and moving it upward with transform -->
18
- <g transform="translate(2.5, 2) scale(0.8)"> <!-- Adjust the Y-axis value to move it upward -->
19
- <path d="M27,24a2.9609,2.9609,0,0,0-1.2854.3008L21.4141,20H18v2h2.5859l3.7146,3.7148A2.9665,2.9665,0,0,0,24,27a3,3,0,1,0,3-3Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,28Z"/>
20
- <path d="M27,13a2.9948,2.9948,0,0,0-2.8157,2H18v2h6.1843A2.9947,2.9947,0,1,0,27,13Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,17Z"/>
21
- <path d="M27,2a3.0033,3.0033,0,0,0-3,3,2.9657,2.9657,0,0,0,.3481,1.373L20.5957,10H18v2h3.4043l4.3989-4.2524A2.9987,2.9987,0,1,0,27,2Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,6Z"/>
22
- <path d="M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z"/>
23
- </g>
24
-
25
- <!-- Text under the icon -->
26
- <text x="16" y="30" class="text-style">SpacyMD FR</text>
27
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Modified SVG -->
3
+ <svg fill="#000000" width="900px" height="900px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg">
4
+ <defs>
5
+ <style>
6
+ .cls-1 {
7
+ fill: none;
8
+ }
9
+ .text-style {
10
+ font-size: 4px; /* Adjust size to fit */
11
+ fill: #000000; /* Text color */
12
+ text-anchor: middle; /* Center align text */
13
+ }
14
+ </style>
15
+ </defs>
16
+
17
+ <!-- Grouping icon paths and moving it upward with transform -->
18
+ <g transform="translate(2.5, 2) scale(0.8)"> <!-- Adjust the Y-axis value to move it upward -->
19
+ <path d="M27,24a2.9609,2.9609,0,0,0-1.2854.3008L21.4141,20H18v2h2.5859l3.7146,3.7148A2.9665,2.9665,0,0,0,24,27a3,3,0,1,0,3-3Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,28Z"/>
20
+ <path d="M27,13a2.9948,2.9948,0,0,0-2.8157,2H18v2h6.1843A2.9947,2.9947,0,1,0,27,13Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,17Z"/>
21
+ <path d="M27,2a3.0033,3.0033,0,0,0-3,3,2.9657,2.9657,0,0,0,.3481,1.373L20.5957,10H18v2h3.4043l4.3989-4.2524A2.9987,2.9987,0,1,0,27,2Zm0,4a1,1,0,1,1,1-1A1.0009,1.0009,0,0,1,27,6Z"/>
22
+ <path d="M18,6h2V4H18a3.9756,3.9756,0,0,0-3,1.3823A3.9756,3.9756,0,0,0,12,4H11a9.01,9.01,0,0,0-9,9v6a9.01,9.01,0,0,0,9,9h1a3.9756,3.9756,0,0,0,3-1.3823A3.9756,3.9756,0,0,0,18,28h2V26H18a2.0023,2.0023,0,0,1-2-2V8A2.0023,2.0023,0,0,1,18,6ZM12,26H11a7.0047,7.0047,0,0,1-6.92-6H6V18H4V14H7a3.0033,3.0033,0,0,0,3-3V9H8v2a1.0009,1.0009,0,0,1-1,1H4.08A7.0047,7.0047,0,0,1,11,6h1a2.0023,2.0023,0,0,1,2,2v4H12v2h2v4H12a3.0033,3.0033,0,0,0-3,3v2h2V21a1.0009,1.0009,0,0,1,1-1h2v4A2.0023,2.0023,0,0,1,12,26Z"/>
23
+ </g>
24
+
25
+ <!-- Text under the icon -->
26
+ <text x="16" y="30" class="text-style">SpacyMD FR</text>
27
+ </svg>
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
4
4
  NAME = "aait"
5
5
 
6
6
  # Version du package PyPI
7
- VERSION = "1.0.2.2" # la version doit être supérieure à la précédente sinon la publication sera refusée
7
+ VERSION = "1.0.4" # la version doit être supérieure à la précédente sinon la publication sera refusée
8
8
 
9
9
  # Facultatif / Adaptable à souhait
10
10
  AUTHOR = "Orange community"
@@ -1,208 +0,0 @@
1
- import os
2
- import sys
3
- # import time
4
- import requests
5
- # import orangecanvas.application.canvasmain as canvasmain
6
- import Orange.data
7
- from AnyQt.QtWidgets import QApplication, QLabel
8
- from Orange.widgets import widget # , gui
9
- from Orange.widgets.utils.signals import Input, Output
10
- # from Orange.widgets.settings import Setting
11
- from AnyQt.QtWidgets import QLineEdit, QTextBrowser #, QTextEdit
12
-
13
- if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
14
- # from Orange.widgets.orangecontrib.AAIT.llm import answers
15
- from Orange.widgets.orangecontrib.AAIT.utils import thread_management
16
- from Orange.widgets.orangecontrib.AAIT.utils.import_uic import uic
17
- from Orange.widgets.orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
18
- else:
19
- # from orangecontrib.AAIT.llm import answers
20
- from orangecontrib.AAIT.utils import thread_management
21
- from orangecontrib.AAIT.utils.import_uic import uic
22
- from orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
23
-
24
- @apply_modification_from_python_file(filepath_original_widget=__file__)
25
- class OWDeep_Search(widget.OWWidget):
26
- name = "Deep Search"
27
- description = "Generate a response to a column 'prompt' with a LLM"
28
- icon = "icons/owqueryllm.svg"
29
- if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
30
- icon = "icons_dev/owqueryllm.svg"
31
- gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owdeepsearch.ui")
32
- want_control_area = True
33
- priority = 1089
34
-
35
- class Inputs:
36
- api_key = Input("API KEY", Orange.data.Table)
37
- prompt = Input("Prompt", Orange.data.Table)
38
-
39
- class Outputs:
40
- response = Output("Response", Orange.data.Table)
41
-
42
- @Inputs.api_key
43
- def set_api_key(self, in_api_key: Orange.data.Table):
44
- if in_api_key is not None:
45
- if "api_key" not in in_api_key.domain:
46
- self.error("You need a column api_key");
47
- return
48
- self.api_key = str(in_api_key[0]["api_key"]) # ← cast en str
49
- self.line_api_key.setText(self.api_key)
50
- self.error(None)
51
- if self.autorun:
52
- self.run()
53
-
54
-
55
- @Inputs.prompt
56
- def set_prompt(self, in_prompt: Orange.data.Table):
57
- if in_prompt is None:
58
- self.Outputs.response.send(None)
59
- return
60
- if in_prompt is not None:
61
- if "prompt" not in in_prompt.domain:
62
- self.error("You need a column prompt");
63
- return
64
- self.prompt = str(in_prompt[0]["prompt"]) # ← cast en str
65
- self.error(None)
66
- if self.autorun:
67
- self.run()
68
-
69
- def __init__(self):
70
- super().__init__()
71
- # Qt Managementt
72
- self.setFixedWidth(700)
73
- self.setFixedHeight(500)
74
- uic.loadUi(self.gui, self)
75
- self.label_description = self.findChild(QLabel, 'Description')
76
- # print(self.label_description.text())
77
- self.line_api_key: QLineEdit = self.findChild(QLineEdit, "line_api_key")
78
- # Connexion du champ à la fonction de mise à jour
79
- self.line_api_key.editingFinished.connect(self.update_api_key)
80
- # Text browser
81
- self.textBrowser = self.findChild(QTextBrowser, 'textBrowser')
82
- # Data Management
83
- self.api_key = None
84
- self.prompt = None
85
- self.thread = None
86
- self.autorun = True
87
- self.can_run = True
88
- self.result = None # sera ma table de sortie
89
- # Custom updates
90
- self.post_initialized()
91
-
92
- def update_api_key(self):
93
- self.api_key = self.line_api_key.text().strip()
94
-
95
- def deepsearch(self, api_key: str, prompt: str):
96
- """
97
- Appelle Perplexity Sonar Deep-Research et renvoie la réponse complète
98
- dans une Orange Table (métadonnée 'response').
99
- """
100
-
101
- url = "https://api.perplexity.ai/chat/completions"
102
- headers = {
103
- "Content-Type": "application/json",
104
- "Authorization": f"Bearer {api_key}"
105
- }
106
- payload = {
107
- "model": "sonar-pro",
108
- "messages": [
109
- {"role": "system",
110
- "content": ("You are a deep research assistant. "
111
- "Answer only in Markdown without exposing any chain-of-thought.")},
112
- {"role": "user", "content": prompt}
113
- ],
114
- "temperature": 0.0,
115
- "max_tokens": 20_000,
116
- "format": "markdown"
117
- }
118
-
119
- try:
120
- resp = requests.post(url, json=payload, headers=headers, timeout=600)
121
- resp.raise_for_status()
122
- answer_md = resp.json()["choices"][0]["message"]["content"]
123
-
124
- except requests.HTTPError: #as e:
125
- print("STATUS :", resp.status_code) # affiche 400, 401, etc.
126
- print("DETAIL :", resp.text) # message JSON complet de Perplexity
127
-
128
- answer_md = f"**Erreur Perplexity :** {resp.text}"
129
-
130
- except Exception as e:
131
- answer_md = f"**Erreur Perplexity :** {e}"
132
-
133
- # Affiche la réponse complète dans la console
134
- # print("Réponse Perplexity :\n", answer_md)
135
-
136
- response_var = Orange.data.StringVariable("response")
137
-
138
- domain = Orange.data.Domain([], metas=[response_var])
139
- out_data = Orange.data.Table.from_list(domain, [[answer_md]])
140
- return out_data
141
-
142
- def run(self):
143
- # print("I'm running...")
144
- # print(self.prompt)
145
- # print(self.api_key)
146
- if not self.can_run:
147
- return
148
-
149
- if self.prompt == None:
150
- return
151
-
152
- if self.api_key == None:
153
- # print("Je sors")
154
- return
155
-
156
- # If Thread is already running, interrupt it
157
- if self.thread is not None:
158
- if self.thread.isRunning():
159
- self.thread.safe_quit()
160
-
161
- # Start progress bar
162
- self.progressBarInit()
163
- #◙self.textBrowser.setText("")
164
-
165
- # Connect and start thread : main function, progress, result and finish
166
- # --> progress is used in the main function to track progress (with a callback)
167
- # --> result is used to collect the result from main function
168
- # --> finish is just an empty signal to indicate that the thread is finished
169
- self.thread = thread_management.Thread(self.deepsearch, self.api_key, self.prompt)
170
- self.thread.progress.connect(self.handle_progress)
171
- self.thread.result.connect(self.handle_result)
172
- self.thread.finish.connect(self.handle_finish)
173
- self.thread.start()
174
-
175
- def handle_progress(self, progress) -> None:
176
- value = progress[0]
177
- text = progress[1]
178
- if value is not None:
179
- self.progressBarSet(value)
180
- if text is None:
181
- self.textBrowser.setText("")
182
- else:
183
- self.textBrowser.insertPlainText(text)
184
-
185
- def handle_result(self, result):
186
- try:
187
- self.result = result
188
- self.Outputs.response.send(result)
189
- except Exception as e:
190
- print("An error occurred when sending out_data:", e)
191
- self.Outputs.response.send(None)
192
- return
193
-
194
- def handle_finish(self):
195
- print("Generation finished")
196
- self.progressBarFinished()
197
-
198
-
199
- def post_initialized(self):
200
- pass
201
-
202
-
203
- if __name__ == "__main__":
204
- app = QApplication(sys.argv)
205
- my_widget = OWDeep_Search()
206
- my_widget.show()
207
- app.exec_()
208
-
File without changes
File without changes
File without changes