MindsDB 1.3.1__py3-none-any.whl → 25.1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of MindsDB might be problematic. Click here for more details.

Files changed (1960) hide show
  1. MindsDB-25.1.2.0.dist-info/LICENSE +85 -0
  2. MindsDB-25.1.2.0.dist-info/METADATA +932 -0
  3. MindsDB-25.1.2.0.dist-info/RECORD +1923 -0
  4. {MindsDB-1.3.1.dist-info → MindsDB-25.1.2.0.dist-info}/WHEEL +1 -1
  5. mindsdb/__about__.py +5 -5
  6. mindsdb/__init__.py +1 -11
  7. mindsdb/__main__.py +552 -0
  8. mindsdb/api/common/check_auth.py +42 -0
  9. mindsdb/api/executor/__init__.py +2 -0
  10. mindsdb/api/executor/command_executor.py +2047 -0
  11. mindsdb/api/executor/controllers/__init__.py +1 -0
  12. mindsdb/api/executor/controllers/session_controller.py +91 -0
  13. mindsdb/api/executor/data_types/answer.py +16 -0
  14. mindsdb/api/executor/data_types/response_type.py +8 -0
  15. mindsdb/api/executor/datahub/__init__.py +1 -0
  16. mindsdb/api/executor/datahub/classes/tables_row.py +65 -0
  17. mindsdb/api/executor/datahub/datanodes/__init__.py +4 -0
  18. mindsdb/api/executor/datahub/datanodes/datanode.py +20 -0
  19. mindsdb/api/executor/datahub/datanodes/information_schema_datanode.py +180 -0
  20. mindsdb/api/executor/datahub/datanodes/integration_datanode.py +281 -0
  21. mindsdb/api/executor/datahub/datanodes/mindsdb_tables.py +428 -0
  22. mindsdb/api/executor/datahub/datanodes/project_datanode.py +186 -0
  23. mindsdb/api/executor/datahub/datanodes/system_tables.py +525 -0
  24. mindsdb/api/executor/exceptions.py +39 -0
  25. mindsdb/api/executor/planner/__init__.py +5 -0
  26. mindsdb/api/executor/planner/exceptions.py +3 -0
  27. mindsdb/api/executor/planner/plan_join.py +640 -0
  28. mindsdb/api/executor/planner/plan_join_ts.py +384 -0
  29. mindsdb/api/executor/planner/query_plan.py +29 -0
  30. mindsdb/api/executor/planner/query_planner.py +837 -0
  31. mindsdb/api/executor/planner/query_prepare.py +527 -0
  32. mindsdb/api/executor/planner/step_result.py +19 -0
  33. mindsdb/api/executor/planner/steps.py +262 -0
  34. mindsdb/api/executor/planner/ts_utils.py +93 -0
  35. mindsdb/api/executor/planner/utils.py +126 -0
  36. mindsdb/api/executor/sql_query/result_set.py +312 -0
  37. mindsdb/api/executor/sql_query/sql_query.py +318 -0
  38. mindsdb/api/executor/sql_query/steps/__init__.py +13 -0
  39. mindsdb/api/executor/sql_query/steps/apply_predictor_step.py +424 -0
  40. mindsdb/api/executor/sql_query/steps/base.py +21 -0
  41. mindsdb/api/executor/sql_query/steps/delete_step.py +49 -0
  42. mindsdb/api/executor/sql_query/steps/fetch_dataframe.py +116 -0
  43. mindsdb/api/executor/sql_query/steps/insert_step.py +129 -0
  44. mindsdb/api/executor/sql_query/steps/join_step.py +109 -0
  45. mindsdb/api/executor/sql_query/steps/map_reduce_step.py +179 -0
  46. mindsdb/api/executor/sql_query/steps/multiple_step.py +24 -0
  47. mindsdb/api/executor/sql_query/steps/prepare_steps.py +59 -0
  48. mindsdb/api/executor/sql_query/steps/project_step.py +86 -0
  49. mindsdb/api/executor/sql_query/steps/sql_steps.py +41 -0
  50. mindsdb/api/executor/sql_query/steps/subselect_step.py +159 -0
  51. mindsdb/api/executor/sql_query/steps/union_step.py +56 -0
  52. mindsdb/api/executor/sql_query/steps/update_step.py +129 -0
  53. mindsdb/api/executor/utilities/functions.py +37 -0
  54. mindsdb/api/executor/utilities/sql.py +195 -0
  55. mindsdb/api/http/gui.py +94 -0
  56. mindsdb/api/http/gunicorn_wrapper.py +17 -0
  57. mindsdb/api/http/initialize.py +454 -0
  58. mindsdb/api/http/namespaces/agents.py +499 -0
  59. mindsdb/api/http/namespaces/analysis.py +117 -0
  60. mindsdb/api/http/namespaces/auth.py +167 -0
  61. mindsdb/api/http/namespaces/chatbots.py +318 -0
  62. mindsdb/api/http/namespaces/config.py +286 -0
  63. mindsdb/api/http/namespaces/configs/agents.py +3 -0
  64. mindsdb/api/http/namespaces/configs/analysis.py +3 -0
  65. mindsdb/api/http/namespaces/configs/auth.py +4 -0
  66. mindsdb/api/http/namespaces/configs/chatbots.py +3 -0
  67. mindsdb/api/http/namespaces/configs/config.py +3 -0
  68. mindsdb/api/http/namespaces/configs/databases.py +3 -0
  69. mindsdb/api/http/namespaces/configs/default.py +4 -0
  70. mindsdb/api/http/namespaces/configs/files.py +4 -0
  71. mindsdb/api/http/namespaces/configs/handlers.py +3 -0
  72. mindsdb/api/http/namespaces/configs/jobs.py +3 -0
  73. mindsdb/api/http/namespaces/configs/knowledge_bases.py +3 -0
  74. mindsdb/api/http/namespaces/configs/projects.py +3 -0
  75. mindsdb/api/http/namespaces/configs/skills.py +3 -0
  76. mindsdb/api/http/namespaces/configs/sql.py +3 -0
  77. mindsdb/api/http/namespaces/configs/tabs.py +3 -0
  78. mindsdb/api/http/namespaces/configs/tree.py +3 -0
  79. mindsdb/api/http/namespaces/configs/util.py +3 -0
  80. mindsdb/api/http/namespaces/configs/webhooks.py +3 -0
  81. mindsdb/api/http/namespaces/databases.py +394 -0
  82. mindsdb/api/http/namespaces/default.py +152 -0
  83. mindsdb/api/http/namespaces/file.py +191 -0
  84. mindsdb/api/http/namespaces/handlers.py +232 -0
  85. mindsdb/api/http/namespaces/jobs.py +99 -0
  86. mindsdb/api/http/namespaces/knowledge_bases.py +420 -0
  87. mindsdb/api/http/namespaces/models.py +297 -0
  88. mindsdb/api/http/namespaces/projects.py +46 -0
  89. mindsdb/api/http/namespaces/skills.py +170 -0
  90. mindsdb/api/http/namespaces/sql.py +162 -0
  91. mindsdb/api/http/namespaces/tab.py +131 -0
  92. mindsdb/api/http/namespaces/tree.py +105 -0
  93. mindsdb/api/http/namespaces/util.py +144 -0
  94. mindsdb/api/http/namespaces/views.py +153 -0
  95. mindsdb/api/http/namespaces/webhooks.py +29 -0
  96. mindsdb/api/http/start.py +67 -0
  97. mindsdb/api/http/utils.py +37 -0
  98. mindsdb/api/mongo/classes/__init__.py +5 -0
  99. mindsdb/api/mongo/classes/query_sql.py +18 -0
  100. mindsdb/api/mongo/classes/responder.py +45 -0
  101. mindsdb/api/mongo/classes/responder_collection.py +34 -0
  102. mindsdb/api/mongo/classes/scram.py +86 -0
  103. mindsdb/api/mongo/classes/session.py +23 -0
  104. mindsdb/api/mongo/functions/__init__.py +19 -0
  105. mindsdb/api/mongo/responders/__init__.py +73 -0
  106. mindsdb/api/mongo/responders/add_shard.py +13 -0
  107. mindsdb/api/mongo/responders/aggregate.py +90 -0
  108. mindsdb/api/mongo/responders/buildinfo.py +17 -0
  109. mindsdb/api/mongo/responders/coll_stats.py +62 -0
  110. mindsdb/api/mongo/responders/company_id.py +25 -0
  111. mindsdb/api/mongo/responders/connection_status.py +22 -0
  112. mindsdb/api/mongo/responders/count.py +21 -0
  113. mindsdb/api/mongo/responders/db_stats.py +31 -0
  114. mindsdb/api/mongo/responders/delete.py +105 -0
  115. mindsdb/api/mongo/responders/describe.py +23 -0
  116. mindsdb/api/mongo/responders/end_sessions.py +13 -0
  117. mindsdb/api/mongo/responders/find.py +175 -0
  118. mindsdb/api/mongo/responders/get_cmd_line_opts.py +18 -0
  119. mindsdb/api/mongo/responders/get_free_monitoring_status.py +14 -0
  120. mindsdb/api/mongo/responders/get_parameter.py +23 -0
  121. mindsdb/api/mongo/responders/getlog.py +14 -0
  122. mindsdb/api/mongo/responders/host_info.py +28 -0
  123. mindsdb/api/mongo/responders/insert.py +268 -0
  124. mindsdb/api/mongo/responders/is_master.py +20 -0
  125. mindsdb/api/mongo/responders/is_master_lower.py +13 -0
  126. mindsdb/api/mongo/responders/list_collections.py +55 -0
  127. mindsdb/api/mongo/responders/list_databases.py +37 -0
  128. mindsdb/api/mongo/responders/list_indexes.py +22 -0
  129. mindsdb/api/mongo/responders/ping.py +13 -0
  130. mindsdb/api/mongo/responders/recv_chunk_start.py +13 -0
  131. mindsdb/api/mongo/responders/replsetgetstatus.py +13 -0
  132. mindsdb/api/mongo/responders/sasl_continue.py +34 -0
  133. mindsdb/api/mongo/responders/sasl_start.py +33 -0
  134. mindsdb/api/mongo/responders/update_range_deletions.py +12 -0
  135. mindsdb/api/mongo/responders/whatsmyuri.py +18 -0
  136. mindsdb/api/mongo/server.py +388 -0
  137. mindsdb/api/mongo/start.py +15 -0
  138. mindsdb/api/mongo/utilities/mongodb_ast.py +257 -0
  139. mindsdb/api/mongo/utilities/mongodb_parser.py +145 -0
  140. mindsdb/api/mongo/utilities/mongodb_query.py +84 -0
  141. mindsdb/api/mysql/mysql_proxy/classes/client_capabilities.py +130 -0
  142. mindsdb/api/mysql/mysql_proxy/classes/fake_mysql_proxy/__init__.py +3 -0
  143. mindsdb/api/mysql/mysql_proxy/classes/fake_mysql_proxy/fake_mysql_proxy.py +37 -0
  144. mindsdb/api/mysql/mysql_proxy/classes/server_capabilities.py +22 -0
  145. mindsdb/api/mysql/mysql_proxy/classes/sql_statement_parser.py +151 -0
  146. mindsdb/api/mysql/mysql_proxy/data_types/__init__.py +0 -0
  147. mindsdb/api/mysql/mysql_proxy/data_types/mysql_datum.py +212 -0
  148. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packet.py +166 -0
  149. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/__init__.py +15 -0
  150. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/binary_resultset_row_package.py +140 -0
  151. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/column_count_packet.py +44 -0
  152. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/column_definition_packet.py +94 -0
  153. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/command_packet.py +159 -0
  154. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/eof_packet.py +52 -0
  155. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/err_packet.py +58 -0
  156. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/fast_auth_fail_packet.py +20 -0
  157. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/handshake_packet.py +80 -0
  158. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/handshake_response_packet.py +96 -0
  159. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/ok_packet.py +106 -0
  160. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/password_answer.py +13 -0
  161. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/resultset_row_package.py +54 -0
  162. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/stmt_prepare_header.py +46 -0
  163. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/switch_auth_packet.py +53 -0
  164. mindsdb/api/mysql/mysql_proxy/data_types/mysql_packets/switch_auth_response_packet.py +16 -0
  165. mindsdb/api/mysql/mysql_proxy/executor/__init__.py +2 -0
  166. mindsdb/api/mysql/mysql_proxy/executor/mysql_executor.py +138 -0
  167. mindsdb/api/mysql/mysql_proxy/external_libs/__init__.py +0 -0
  168. mindsdb/api/mysql/mysql_proxy/external_libs/mysql_scramble.py +135 -0
  169. mindsdb/api/mysql/mysql_proxy/libs/__init__.py +1 -0
  170. mindsdb/api/mysql/mysql_proxy/libs/constants/__init__.py +1 -0
  171. mindsdb/api/mysql/mysql_proxy/libs/constants/mysql.py +1030 -0
  172. mindsdb/api/mysql/mysql_proxy/mysql_proxy.py +930 -0
  173. mindsdb/api/mysql/mysql_proxy/utilities/__init__.py +1 -0
  174. mindsdb/api/mysql/mysql_proxy/utilities/exceptions.py +18 -0
  175. mindsdb/api/mysql/mysql_proxy/utilities/lightwood_dtype.py +48 -0
  176. mindsdb/api/mysql/start.py +13 -0
  177. mindsdb/api/postgres/__init__.py +0 -0
  178. mindsdb/api/postgres/postgres_proxy/__init__.py +0 -0
  179. mindsdb/api/postgres/postgres_proxy/executor/__init__.py +1 -0
  180. mindsdb/api/postgres/postgres_proxy/executor/executor.py +188 -0
  181. mindsdb/api/postgres/postgres_proxy/postgres_packets/__init__.py +0 -0
  182. mindsdb/api/postgres/postgres_proxy/postgres_packets/errors.py +322 -0
  183. mindsdb/api/postgres/postgres_proxy/postgres_packets/postgres_fields.py +34 -0
  184. mindsdb/api/postgres/postgres_proxy/postgres_packets/postgres_message.py +31 -0
  185. mindsdb/api/postgres/postgres_proxy/postgres_packets/postgres_message_formats.py +1265 -0
  186. mindsdb/api/postgres/postgres_proxy/postgres_packets/postgres_message_identifiers.py +31 -0
  187. mindsdb/api/postgres/postgres_proxy/postgres_packets/postgres_packets.py +253 -0
  188. mindsdb/api/postgres/postgres_proxy/postgres_proxy.py +479 -0
  189. mindsdb/api/postgres/postgres_proxy/utilities/__init__.py +10 -0
  190. mindsdb/api/postgres/start.py +11 -0
  191. mindsdb/integrations/__init__.py +0 -0
  192. mindsdb/integrations/handlers/__init__.py +0 -0
  193. mindsdb/integrations/handlers/access_handler/__about__.py +9 -0
  194. mindsdb/integrations/handlers/access_handler/__init__.py +20 -0
  195. mindsdb/integrations/handlers/access_handler/access_handler.py +197 -0
  196. mindsdb/integrations/handlers/access_handler/connection_args.py +15 -0
  197. mindsdb/integrations/handlers/access_handler/icon.svg +19 -0
  198. mindsdb/integrations/handlers/access_handler/requirements.txt +2 -0
  199. mindsdb/integrations/handlers/access_handler/tests/__init__.py +0 -0
  200. mindsdb/integrations/handlers/access_handler/tests/test_access_handler.py +32 -0
  201. mindsdb/integrations/handlers/aerospike_handler/__about__.py +9 -0
  202. mindsdb/integrations/handlers/aerospike_handler/__init__.py +30 -0
  203. mindsdb/integrations/handlers/aerospike_handler/aerospike_handler.py +236 -0
  204. mindsdb/integrations/handlers/aerospike_handler/connection_args.py +46 -0
  205. mindsdb/integrations/handlers/aerospike_handler/icon.svg +11 -0
  206. mindsdb/integrations/handlers/aerospike_handler/requirements.txt +1 -0
  207. mindsdb/integrations/handlers/aerospike_handler/tests/__init__.py +0 -0
  208. mindsdb/integrations/handlers/aerospike_handler/tests/test_aerospike_handler.py +36 -0
  209. mindsdb/integrations/handlers/airtable_handler/__about__.py +9 -0
  210. mindsdb/integrations/handlers/airtable_handler/__init__.py +20 -0
  211. mindsdb/integrations/handlers/airtable_handler/airtable_handler.py +211 -0
  212. mindsdb/integrations/handlers/airtable_handler/connection_args.py +26 -0
  213. mindsdb/integrations/handlers/airtable_handler/icon.svg +11 -0
  214. mindsdb/integrations/handlers/airtable_handler/tests/__init__.py +0 -0
  215. mindsdb/integrations/handlers/airtable_handler/tests/test_airtable_handler.py +34 -0
  216. mindsdb/integrations/handlers/altibase_handler/__about__.py +9 -0
  217. mindsdb/integrations/handlers/altibase_handler/__init__.py +20 -0
  218. mindsdb/integrations/handlers/altibase_handler/altibase_handler.py +253 -0
  219. mindsdb/integrations/handlers/altibase_handler/connection_args.py +50 -0
  220. mindsdb/integrations/handlers/altibase_handler/icon.svg +3 -0
  221. mindsdb/integrations/handlers/altibase_handler/requirements.txt +2 -0
  222. mindsdb/integrations/handlers/altibase_handler/tests/__init__.py +0 -0
  223. mindsdb/integrations/handlers/altibase_handler/tests/test_altibase_handler.py +67 -0
  224. mindsdb/integrations/handlers/altibase_handler/tests/test_altibase_handler_dsn.py +68 -0
  225. mindsdb/integrations/handlers/anomaly_detection_handler/__about__.py +9 -0
  226. mindsdb/integrations/handlers/anomaly_detection_handler/__init__.py +19 -0
  227. mindsdb/integrations/handlers/anomaly_detection_handler/anomaly_detection_handler.py +180 -0
  228. mindsdb/integrations/handlers/anomaly_detection_handler/icon.svg +13 -0
  229. mindsdb/integrations/handlers/anomaly_detection_handler/requirements.txt +4 -0
  230. mindsdb/integrations/handlers/anomaly_detection_handler/utils.py +21 -0
  231. mindsdb/integrations/handlers/anthropic_handler/__about__.py +9 -0
  232. mindsdb/integrations/handlers/anthropic_handler/__init__.py +22 -0
  233. mindsdb/integrations/handlers/anthropic_handler/anthropic_handler.py +108 -0
  234. mindsdb/integrations/handlers/anthropic_handler/icon.svg +3 -0
  235. mindsdb/integrations/handlers/anthropic_handler/requirements.txt +1 -0
  236. mindsdb/integrations/handlers/anyscale_endpoints_handler/__about__.py +9 -0
  237. mindsdb/integrations/handlers/anyscale_endpoints_handler/__init__.py +20 -0
  238. mindsdb/integrations/handlers/anyscale_endpoints_handler/anyscale_endpoints_handler.py +290 -0
  239. mindsdb/integrations/handlers/anyscale_endpoints_handler/creation_args.py +14 -0
  240. mindsdb/integrations/handlers/anyscale_endpoints_handler/icon.svg +4 -0
  241. mindsdb/integrations/handlers/anyscale_endpoints_handler/requirements.txt +3 -0
  242. mindsdb/integrations/handlers/anyscale_endpoints_handler/settings.py +51 -0
  243. mindsdb/integrations/handlers/anyscale_endpoints_handler/tests/__init__.py +0 -0
  244. mindsdb/integrations/handlers/anyscale_endpoints_handler/tests/test_anyscale_endpoints_handler.py +212 -0
  245. mindsdb/integrations/handlers/apache_doris_handler/__about__.py +9 -0
  246. mindsdb/integrations/handlers/apache_doris_handler/__init__.py +20 -0
  247. mindsdb/integrations/handlers/apache_doris_handler/apache_doris_handler.py +10 -0
  248. mindsdb/integrations/handlers/apache_doris_handler/icon.svg +5 -0
  249. mindsdb/integrations/handlers/apache_doris_handler/requirements.txt +1 -0
  250. mindsdb/integrations/handlers/aqicn_handler/__about__.py +9 -0
  251. mindsdb/integrations/handlers/aqicn_handler/__init__.py +28 -0
  252. mindsdb/integrations/handlers/aqicn_handler/aqicn.py +35 -0
  253. mindsdb/integrations/handlers/aqicn_handler/aqicn_handler.py +97 -0
  254. mindsdb/integrations/handlers/aqicn_handler/aqicn_tables.py +425 -0
  255. mindsdb/integrations/handlers/aqicn_handler/connection_args.py +18 -0
  256. mindsdb/integrations/handlers/aqicn_handler/icon.png +0 -0
  257. mindsdb/integrations/handlers/aqicn_handler/tests/__init__.py +0 -0
  258. mindsdb/integrations/handlers/athena_handler/__about__.py +9 -0
  259. mindsdb/integrations/handlers/athena_handler/__init__.py +20 -0
  260. mindsdb/integrations/handlers/athena_handler/athena_handler.py +218 -0
  261. mindsdb/integrations/handlers/athena_handler/connection_args.py +51 -0
  262. mindsdb/integrations/handlers/athena_handler/icon.svg +22 -0
  263. mindsdb/integrations/handlers/athena_handler/tests/__init__.py +0 -0
  264. mindsdb/integrations/handlers/athena_handler/tests/test_athena_handler.py +85 -0
  265. mindsdb/integrations/handlers/aurora_handler/__about__.py +9 -0
  266. mindsdb/integrations/handlers/aurora_handler/__init__.py +20 -0
  267. mindsdb/integrations/handlers/aurora_handler/aurora_handler.py +140 -0
  268. mindsdb/integrations/handlers/aurora_handler/connection_args.py +50 -0
  269. mindsdb/integrations/handlers/aurora_handler/icon.svg +7 -0
  270. mindsdb/integrations/handlers/aurora_handler/requirements.txt +1 -0
  271. mindsdb/integrations/handlers/aurora_handler/tests/__init__.py +0 -0
  272. mindsdb/integrations/handlers/aurora_handler/tests/test_aurora_mysql_handler.py +37 -0
  273. mindsdb/integrations/handlers/aurora_handler/tests/test_aurora_postgres_handler.py +37 -0
  274. mindsdb/integrations/handlers/autogluon_handler/__about__.py +9 -0
  275. mindsdb/integrations/handlers/autogluon_handler/__init__.py +20 -0
  276. mindsdb/integrations/handlers/autogluon_handler/autogluon_handler.py +57 -0
  277. mindsdb/integrations/handlers/autogluon_handler/config.py +17 -0
  278. mindsdb/integrations/handlers/autogluon_handler/icon.svg +3 -0
  279. mindsdb/integrations/handlers/autogluon_handler/requirements.txt +2 -0
  280. mindsdb/integrations/handlers/autokeras_handler/__about__.py +9 -0
  281. mindsdb/integrations/handlers/autokeras_handler/__init__.py +22 -0
  282. mindsdb/integrations/handlers/autokeras_handler/autokeras_handler.py +139 -0
  283. mindsdb/integrations/handlers/autokeras_handler/icon.svg +9 -0
  284. mindsdb/integrations/handlers/autokeras_handler/requirements.txt +2 -0
  285. mindsdb/integrations/handlers/autosklearn_handler/__about__.py +9 -0
  286. mindsdb/integrations/handlers/autosklearn_handler/__init__.py +19 -0
  287. mindsdb/integrations/handlers/autosklearn_handler/autosklearn_handler.py +53 -0
  288. mindsdb/integrations/handlers/autosklearn_handler/config.py +29 -0
  289. mindsdb/integrations/handlers/autosklearn_handler/icon.png +0 -0
  290. mindsdb/integrations/handlers/autosklearn_handler/requirements.txt +2 -0
  291. mindsdb/integrations/handlers/azure_blob_handler/__about__.py +9 -0
  292. mindsdb/integrations/handlers/azure_blob_handler/__init__.py +20 -0
  293. mindsdb/integrations/handlers/azure_blob_handler/azure_blob_handler.py +346 -0
  294. mindsdb/integrations/handlers/azure_blob_handler/connection_args.py +25 -0
  295. mindsdb/integrations/handlers/azure_blob_handler/icon.svg +30 -0
  296. mindsdb/integrations/handlers/azure_blob_handler/requirements.txt +1 -0
  297. mindsdb/integrations/handlers/bedrock_handler/__about__.py +9 -0
  298. mindsdb/integrations/handlers/bedrock_handler/__init__.py +19 -0
  299. mindsdb/integrations/handlers/bedrock_handler/bedrock_handler.py +328 -0
  300. mindsdb/integrations/handlers/bedrock_handler/icon.svg +9 -0
  301. mindsdb/integrations/handlers/bedrock_handler/requirements.txt +1 -0
  302. mindsdb/integrations/handlers/bedrock_handler/settings.py +287 -0
  303. mindsdb/integrations/handlers/bedrock_handler/utilities.py +46 -0
  304. mindsdb/integrations/handlers/bigquery_handler/__about__.py +9 -0
  305. mindsdb/integrations/handlers/bigquery_handler/__init__.py +21 -0
  306. mindsdb/integrations/handlers/bigquery_handler/bigquery_handler.py +181 -0
  307. mindsdb/integrations/handlers/bigquery_handler/connection_args.py +30 -0
  308. mindsdb/integrations/handlers/bigquery_handler/icon.svg +5 -0
  309. mindsdb/integrations/handlers/bigquery_handler/requirements.txt +2 -0
  310. mindsdb/integrations/handlers/bigquery_handler/tests/__init__.py +0 -0
  311. mindsdb/integrations/handlers/bigquery_handler/tests/test_bigquery_handler.py +221 -0
  312. mindsdb/integrations/handlers/binance_handler/__about__.py +9 -0
  313. mindsdb/integrations/handlers/binance_handler/__init__.py +19 -0
  314. mindsdb/integrations/handlers/binance_handler/binance_handler.py +144 -0
  315. mindsdb/integrations/handlers/binance_handler/binance_tables.py +175 -0
  316. mindsdb/integrations/handlers/binance_handler/icon.svg +14 -0
  317. mindsdb/integrations/handlers/binance_handler/requirements.txt +1 -0
  318. mindsdb/integrations/handlers/box_handler/__about__.py +9 -0
  319. mindsdb/integrations/handlers/box_handler/__init__.py +30 -0
  320. mindsdb/integrations/handlers/box_handler/box_handler.py +257 -0
  321. mindsdb/integrations/handlers/box_handler/connection_args.py +17 -0
  322. mindsdb/integrations/handlers/box_handler/icon.svg +1 -0
  323. mindsdb/integrations/handlers/box_handler/requirements.txt +1 -0
  324. mindsdb/integrations/handlers/byom_handler/__about__.py +9 -0
  325. mindsdb/integrations/handlers/byom_handler/__init__.py +21 -0
  326. mindsdb/integrations/handlers/byom_handler/byom_handler.py +678 -0
  327. mindsdb/integrations/handlers/byom_handler/connection_args.py +19 -0
  328. mindsdb/integrations/handlers/byom_handler/icon.svg +13 -0
  329. mindsdb/integrations/handlers/byom_handler/proc_wrapper.py +229 -0
  330. mindsdb/integrations/handlers/byom_handler/requirements.txt +2 -0
  331. mindsdb/integrations/handlers/cassandra_handler/__about__.py +9 -0
  332. mindsdb/integrations/handlers/cassandra_handler/__init__.py +21 -0
  333. mindsdb/integrations/handlers/cassandra_handler/cassandra_handler.py +27 -0
  334. mindsdb/integrations/handlers/cassandra_handler/connection_args.py +50 -0
  335. mindsdb/integrations/handlers/cassandra_handler/icon.svg +33 -0
  336. mindsdb/integrations/handlers/cassandra_handler/requirements.txt +1 -0
  337. mindsdb/integrations/handlers/cassandra_handler/tests/__init__.py +0 -0
  338. mindsdb/integrations/handlers/cassandra_handler/tests/test_cassandra_handler.py +39 -0
  339. mindsdb/integrations/handlers/chromadb_handler/__about__.py +9 -0
  340. mindsdb/integrations/handlers/chromadb_handler/__init__.py +29 -0
  341. mindsdb/integrations/handlers/chromadb_handler/chromadb_handler.py +491 -0
  342. mindsdb/integrations/handlers/chromadb_handler/connection_args.py +28 -0
  343. mindsdb/integrations/handlers/chromadb_handler/icon.png +0 -0
  344. mindsdb/integrations/handlers/chromadb_handler/requirements.txt +1 -0
  345. mindsdb/integrations/handlers/chromadb_handler/settings.py +62 -0
  346. mindsdb/integrations/handlers/chromadb_handler/tests/__init__.py +0 -0
  347. mindsdb/integrations/handlers/ckan_handler/__about__.py +9 -0
  348. mindsdb/integrations/handlers/ckan_handler/__init__.py +28 -0
  349. mindsdb/integrations/handlers/ckan_handler/ckan_handler.py +310 -0
  350. mindsdb/integrations/handlers/ckan_handler/connection_args.py +22 -0
  351. mindsdb/integrations/handlers/ckan_handler/icon.png +0 -0
  352. mindsdb/integrations/handlers/ckan_handler/requirements.txt +1 -0
  353. mindsdb/integrations/handlers/ckan_handler/tests/__init__.py +0 -0
  354. mindsdb/integrations/handlers/ckan_handler/tests/test_ckan_handler.py +156 -0
  355. mindsdb/integrations/handlers/clickhouse_handler/__about__.py +9 -0
  356. mindsdb/integrations/handlers/clickhouse_handler/__init__.py +20 -0
  357. mindsdb/integrations/handlers/clickhouse_handler/clickhouse_handler.py +168 -0
  358. mindsdb/integrations/handlers/clickhouse_handler/connection_args.py +53 -0
  359. mindsdb/integrations/handlers/clickhouse_handler/icon.svg +4 -0
  360. mindsdb/integrations/handlers/clickhouse_handler/requirements.txt +1 -0
  361. mindsdb/integrations/handlers/clickhouse_handler/tests/__init__.py +0 -0
  362. mindsdb/integrations/handlers/clickhouse_handler/tests/test_clickhouse_handler.py +41 -0
  363. mindsdb/integrations/handlers/clipdrop_handler/__about__.py +9 -0
  364. mindsdb/integrations/handlers/clipdrop_handler/__init__.py +22 -0
  365. mindsdb/integrations/handlers/clipdrop_handler/clipdrop.py +87 -0
  366. mindsdb/integrations/handlers/clipdrop_handler/clipdrop_handler.py +193 -0
  367. mindsdb/integrations/handlers/clipdrop_handler/icon.svg +6 -0
  368. mindsdb/integrations/handlers/cloud_spanner_handler/__about__.py +9 -0
  369. mindsdb/integrations/handlers/cloud_spanner_handler/__init__.py +27 -0
  370. mindsdb/integrations/handlers/cloud_spanner_handler/cloud_spanner_handler.py +219 -0
  371. mindsdb/integrations/handlers/cloud_spanner_handler/connection_args.py +33 -0
  372. mindsdb/integrations/handlers/cloud_spanner_handler/icon.png +0 -0
  373. mindsdb/integrations/handlers/cloud_spanner_handler/requirements.txt +2 -0
  374. mindsdb/integrations/handlers/cloud_spanner_handler/tests/__init__.py +0 -0
  375. mindsdb/integrations/handlers/cloud_spanner_handler/tests/test_cloud_spanner_handler.py +50 -0
  376. mindsdb/integrations/handlers/cloud_sql_handler/__about__.py +9 -0
  377. mindsdb/integrations/handlers/cloud_sql_handler/__init__.py +20 -0
  378. mindsdb/integrations/handlers/cloud_sql_handler/cloud_sql_handler.py +123 -0
  379. mindsdb/integrations/handlers/cloud_sql_handler/connection_args.py +41 -0
  380. mindsdb/integrations/handlers/cloud_sql_handler/icon.png +0 -0
  381. mindsdb/integrations/handlers/cloud_sql_handler/requirements.txt +2 -0
  382. mindsdb/integrations/handlers/cloud_sql_handler/tests/__init__.py +0 -0
  383. mindsdb/integrations/handlers/cloud_sql_handler/tests/test_cloud_sql_mssql_handler.py +37 -0
  384. mindsdb/integrations/handlers/cloud_sql_handler/tests/test_cloud_sql_mysql_handler.py +37 -0
  385. mindsdb/integrations/handlers/cockroach_handler/__about__.py +9 -0
  386. mindsdb/integrations/handlers/cockroach_handler/__init__.py +19 -0
  387. mindsdb/integrations/handlers/cockroach_handler/cockroach_handler.py +11 -0
  388. mindsdb/integrations/handlers/cockroach_handler/icon.svg +11 -0
  389. mindsdb/integrations/handlers/cockroach_handler/tests/__init__.py +0 -0
  390. mindsdb/integrations/handlers/cockroach_handler/tests/test_cockroachdb_handler.py +34 -0
  391. mindsdb/integrations/handlers/cohere_handler/__about__.py +9 -0
  392. mindsdb/integrations/handlers/cohere_handler/__init__.py +21 -0
  393. mindsdb/integrations/handlers/cohere_handler/cohere_handler.py +88 -0
  394. mindsdb/integrations/handlers/cohere_handler/icon.svg +12 -0
  395. mindsdb/integrations/handlers/cohere_handler/requirements.txt +1 -0
  396. mindsdb/integrations/handlers/coinbase_handler/__about__.py +9 -0
  397. mindsdb/integrations/handlers/coinbase_handler/__init__.py +21 -0
  398. mindsdb/integrations/handlers/coinbase_handler/coinbase_handler.py +138 -0
  399. mindsdb/integrations/handlers/coinbase_handler/coinbase_tables.py +56 -0
  400. mindsdb/integrations/handlers/coinbase_handler/connection_args.py +34 -0
  401. mindsdb/integrations/handlers/coinbase_handler/icon.svg +3 -0
  402. mindsdb/integrations/handlers/coinbase_handler/requirements.txt +0 -0
  403. mindsdb/integrations/handlers/confluence_handler/__about__.py +9 -0
  404. mindsdb/integrations/handlers/confluence_handler/__init__.py +29 -0
  405. mindsdb/integrations/handlers/confluence_handler/confluence_handler.py +102 -0
  406. mindsdb/integrations/handlers/confluence_handler/confluence_table.py +193 -0
  407. mindsdb/integrations/handlers/confluence_handler/connection_args.py +32 -0
  408. mindsdb/integrations/handlers/confluence_handler/icon.svg +14 -0
  409. mindsdb/integrations/handlers/confluence_handler/requirements.txt +1 -0
  410. mindsdb/integrations/handlers/confluence_handler/tests/__init__.py +0 -0
  411. mindsdb/integrations/handlers/confluence_handler/tests/test_confluence_handler.py +68 -0
  412. mindsdb/integrations/handlers/couchbase_handler/__about__.py +9 -0
  413. mindsdb/integrations/handlers/couchbase_handler/__init__.py +30 -0
  414. mindsdb/integrations/handlers/couchbase_handler/connection_args.py +31 -0
  415. mindsdb/integrations/handlers/couchbase_handler/couchbase_handler.py +208 -0
  416. mindsdb/integrations/handlers/couchbase_handler/icon.svg +3 -0
  417. mindsdb/integrations/handlers/couchbase_handler/requirements.txt +1 -0
  418. mindsdb/integrations/handlers/couchbase_handler/tests/__init__.py +0 -0
  419. mindsdb/integrations/handlers/couchbase_handler/tests/test_couchbase_handler.py +39 -0
  420. mindsdb/integrations/handlers/couchbasevector_handler/__about__.py +9 -0
  421. mindsdb/integrations/handlers/couchbasevector_handler/__init__.py +30 -0
  422. mindsdb/integrations/handlers/couchbasevector_handler/connection_args.py +31 -0
  423. mindsdb/integrations/handlers/couchbasevector_handler/couchbasevector_handler.py +472 -0
  424. mindsdb/integrations/handlers/couchbasevector_handler/icon.svg +3 -0
  425. mindsdb/integrations/handlers/couchbasevector_handler/requirements.txt +1 -0
  426. mindsdb/integrations/handlers/couchbasevector_handler/tests/__init__.py +0 -0
  427. mindsdb/integrations/handlers/crate_handler/__about__.py +9 -0
  428. mindsdb/integrations/handlers/crate_handler/__init__.py +27 -0
  429. mindsdb/integrations/handlers/crate_handler/crate_handler.py +226 -0
  430. mindsdb/integrations/handlers/crate_handler/icon.svg +14 -0
  431. mindsdb/integrations/handlers/crate_handler/requirements.txt +2 -0
  432. mindsdb/integrations/handlers/crate_handler/tests/__init__.py +0 -0
  433. mindsdb/integrations/handlers/crate_handler/tests/test_crate_handler.py +46 -0
  434. mindsdb/integrations/handlers/d0lt_handler/__about__.py +9 -0
  435. mindsdb/integrations/handlers/d0lt_handler/__init__.py +29 -0
  436. mindsdb/integrations/handlers/d0lt_handler/d0lt_handler.py +12 -0
  437. mindsdb/integrations/handlers/d0lt_handler/icon.svg +6 -0
  438. mindsdb/integrations/handlers/d0lt_handler/requirements.txt +1 -0
  439. mindsdb/integrations/handlers/d0lt_handler/tests/__init__.py +0 -0
  440. mindsdb/integrations/handlers/d0lt_handler/tests/test_d0lt_handler.py +53 -0
  441. mindsdb/integrations/handlers/databend_handler/__about__.py +9 -0
  442. mindsdb/integrations/handlers/databend_handler/__init__.py +20 -0
  443. mindsdb/integrations/handlers/databend_handler/connection_args.py +36 -0
  444. mindsdb/integrations/handlers/databend_handler/databend_handler.py +199 -0
  445. mindsdb/integrations/handlers/databend_handler/icon.svg +9 -0
  446. mindsdb/integrations/handlers/databend_handler/requirements.txt +1 -0
  447. mindsdb/integrations/handlers/databend_handler/tests/__init__.py +1 -0
  448. mindsdb/integrations/handlers/databend_handler/tests/test_databend_handler.py +37 -0
  449. mindsdb/integrations/handlers/databricks_handler/__about__.py +9 -0
  450. mindsdb/integrations/handlers/databricks_handler/__init__.py +29 -0
  451. mindsdb/integrations/handlers/databricks_handler/connection_args.py +58 -0
  452. mindsdb/integrations/handlers/databricks_handler/databricks_handler.py +261 -0
  453. mindsdb/integrations/handlers/databricks_handler/icon.svg +3 -0
  454. mindsdb/integrations/handlers/databricks_handler/requirements.txt +1 -0
  455. mindsdb/integrations/handlers/databricks_handler/tests/__init__.py +0 -0
  456. mindsdb/integrations/handlers/databricks_handler/tests/test_databricks_handler.py +37 -0
  457. mindsdb/integrations/handlers/datastax_handler/__about__.py +9 -0
  458. mindsdb/integrations/handlers/datastax_handler/__init__.py +27 -0
  459. mindsdb/integrations/handlers/datastax_handler/datastax_handler.py +12 -0
  460. mindsdb/integrations/handlers/datastax_handler/icon.svg +4 -0
  461. mindsdb/integrations/handlers/datastax_handler/requirements.txt +1 -0
  462. mindsdb/integrations/handlers/datastax_handler/tests/__init__.py +0 -0
  463. mindsdb/integrations/handlers/datastax_handler/tests/test_cassandra_handler.py +38 -0
  464. mindsdb/integrations/handlers/db2_handler/__about__.py +9 -0
  465. mindsdb/integrations/handlers/db2_handler/__init__.py +29 -0
  466. mindsdb/integrations/handlers/db2_handler/connection_args.py +53 -0
  467. mindsdb/integrations/handlers/db2_handler/db2_handler.py +235 -0
  468. mindsdb/integrations/handlers/db2_handler/icon.svg +49 -0
  469. mindsdb/integrations/handlers/db2_handler/requirements.txt +2 -0
  470. mindsdb/integrations/handlers/db2_handler/tests/__init__.py +0 -0
  471. mindsdb/integrations/handlers/db2_handler/tests/test_db2_handler.py +46 -0
  472. mindsdb/integrations/handlers/derby_handler/__about__.py +9 -0
  473. mindsdb/integrations/handlers/derby_handler/__init__.py +21 -0
  474. mindsdb/integrations/handlers/derby_handler/connection_args.py +50 -0
  475. mindsdb/integrations/handlers/derby_handler/derby_handler.py +203 -0
  476. mindsdb/integrations/handlers/derby_handler/icon.svg +21 -0
  477. mindsdb/integrations/handlers/derby_handler/requirements.txt +1 -0
  478. mindsdb/integrations/handlers/derby_handler/tests/__init__.py +0 -0
  479. mindsdb/integrations/handlers/derby_handler/tests/test_derby_handler.py +46 -0
  480. mindsdb/integrations/handlers/discord_handler/__about__.py +9 -0
  481. mindsdb/integrations/handlers/discord_handler/__init__.py +27 -0
  482. mindsdb/integrations/handlers/discord_handler/discord_handler.py +187 -0
  483. mindsdb/integrations/handlers/discord_handler/discord_tables.py +189 -0
  484. mindsdb/integrations/handlers/discord_handler/icon.svg +3 -0
  485. mindsdb/integrations/handlers/discord_handler/requirements.txt +0 -0
  486. mindsdb/integrations/handlers/discord_handler/tests/__init__.py +0 -0
  487. mindsdb/integrations/handlers/discord_handler/tests/test_discord.py +59 -0
  488. mindsdb/integrations/handlers/dockerhub_handler/__about__.py +9 -0
  489. mindsdb/integrations/handlers/dockerhub_handler/__init__.py +28 -0
  490. mindsdb/integrations/handlers/dockerhub_handler/connection_args.py +25 -0
  491. mindsdb/integrations/handlers/dockerhub_handler/dockerhub.py +55 -0
  492. mindsdb/integrations/handlers/dockerhub_handler/dockerhub_handler.py +112 -0
  493. mindsdb/integrations/handlers/dockerhub_handler/dockerhub_tables.py +509 -0
  494. mindsdb/integrations/handlers/dockerhub_handler/icon.svg +12 -0
  495. mindsdb/integrations/handlers/documentdb_handler/__about__.py +9 -0
  496. mindsdb/integrations/handlers/documentdb_handler/__init__.py +21 -0
  497. mindsdb/integrations/handlers/documentdb_handler/connection_args.py +53 -0
  498. mindsdb/integrations/handlers/documentdb_handler/documentdb_handler.py +41 -0
  499. mindsdb/integrations/handlers/documentdb_handler/icon.svg +15 -0
  500. mindsdb/integrations/handlers/dremio_handler/__about__.py +9 -0
  501. mindsdb/integrations/handlers/dremio_handler/__init__.py +20 -0
  502. mindsdb/integrations/handlers/dremio_handler/connection_args.py +31 -0
  503. mindsdb/integrations/handlers/dremio_handler/dremio_handler.py +222 -0
  504. mindsdb/integrations/handlers/dremio_handler/icon.svg +16 -0
  505. mindsdb/integrations/handlers/dremio_handler/requirements.txt +1 -0
  506. mindsdb/integrations/handlers/dremio_handler/tests/__init__.py +0 -0
  507. mindsdb/integrations/handlers/dremio_handler/tests/test_dremio_handler.py +35 -0
  508. mindsdb/integrations/handlers/dropbox_handler/__about__.py +9 -0
  509. mindsdb/integrations/handlers/dropbox_handler/__init__.py +30 -0
  510. mindsdb/integrations/handlers/dropbox_handler/connection_args.py +17 -0
  511. mindsdb/integrations/handlers/dropbox_handler/dropbox_handler.py +253 -0
  512. mindsdb/integrations/handlers/dropbox_handler/icon.svg +4 -0
  513. mindsdb/integrations/handlers/dropbox_handler/requirements.txt +1 -0
  514. mindsdb/integrations/handlers/dropbox_handler/tests/__init__.py +0 -0
  515. mindsdb/integrations/handlers/dropbox_handler/tests/test_dropbox_handler.py +18 -0
  516. mindsdb/integrations/handlers/druid_handler/__about__.py +9 -0
  517. mindsdb/integrations/handlers/druid_handler/__init__.py +20 -0
  518. mindsdb/integrations/handlers/druid_handler/connection_args.py +51 -0
  519. mindsdb/integrations/handlers/druid_handler/druid_handler.py +216 -0
  520. mindsdb/integrations/handlers/druid_handler/icon.svg +6 -0
  521. mindsdb/integrations/handlers/druid_handler/requirements.txt +1 -0
  522. mindsdb/integrations/handlers/druid_handler/tests/__init__.py +0 -0
  523. mindsdb/integrations/handlers/druid_handler/tests/test_druid_handler.py +35 -0
  524. mindsdb/integrations/handlers/dspy_handler/__about__.py +9 -0
  525. mindsdb/integrations/handlers/dspy_handler/__init__.py +19 -0
  526. mindsdb/integrations/handlers/dspy_handler/dspy_handler.py +250 -0
  527. mindsdb/integrations/handlers/dspy_handler/icon.svg +14 -0
  528. mindsdb/integrations/handlers/dspy_handler/requirements.txt +8 -0
  529. mindsdb/integrations/handlers/duckdb_handler/__about__.py +9 -0
  530. mindsdb/integrations/handlers/duckdb_handler/__init__.py +28 -0
  531. mindsdb/integrations/handlers/duckdb_handler/connection_args.py +17 -0
  532. mindsdb/integrations/handlers/duckdb_handler/duckdb_handler.py +170 -0
  533. mindsdb/integrations/handlers/duckdb_handler/icon.svg +10 -0
  534. mindsdb/integrations/handlers/duckdb_handler/tests/__init__.py +0 -0
  535. mindsdb/integrations/handlers/duckdb_handler/tests/test_duckdb_handler.py +48 -0
  536. mindsdb/integrations/handlers/dummy_data_handler/__about__.py +9 -0
  537. mindsdb/integrations/handlers/dummy_data_handler/__init__.py +19 -0
  538. mindsdb/integrations/handlers/dummy_data_handler/dummy_data_handler.py +97 -0
  539. mindsdb/integrations/handlers/dummy_data_handler/icon.svg +3 -0
  540. mindsdb/integrations/handlers/dynamodb_handler/__about__.py +9 -0
  541. mindsdb/integrations/handlers/dynamodb_handler/__init__.py +20 -0
  542. mindsdb/integrations/handlers/dynamodb_handler/connection_args.py +39 -0
  543. mindsdb/integrations/handlers/dynamodb_handler/dynamodb_handler.py +293 -0
  544. mindsdb/integrations/handlers/dynamodb_handler/icon.svg +17 -0
  545. mindsdb/integrations/handlers/dynamodb_handler/tests/__init__.py +0 -0
  546. mindsdb/integrations/handlers/dynamodb_handler/tests/test_dynamodb_handler.py +34 -0
  547. mindsdb/integrations/handlers/edgelessdb_handler/__about__.py +9 -0
  548. mindsdb/integrations/handlers/edgelessdb_handler/__init__.py +21 -0
  549. mindsdb/integrations/handlers/edgelessdb_handler/connection_args.py +45 -0
  550. mindsdb/integrations/handlers/edgelessdb_handler/edgelessdb_handler.py +12 -0
  551. mindsdb/integrations/handlers/edgelessdb_handler/icon.svg +13 -0
  552. mindsdb/integrations/handlers/edgelessdb_handler/requirements.txt +1 -0
  553. mindsdb/integrations/handlers/edgelessdb_handler/tests/__init__.py +0 -0
  554. mindsdb/integrations/handlers/edgelessdb_handler/tests/test_edgelessdb_handler.py +66 -0
  555. mindsdb/integrations/handlers/elasticsearch_handler/__about__.py +9 -0
  556. mindsdb/integrations/handlers/elasticsearch_handler/__init__.py +30 -0
  557. mindsdb/integrations/handlers/elasticsearch_handler/connection_args.py +38 -0
  558. mindsdb/integrations/handlers/elasticsearch_handler/elasticsearch_handler.py +288 -0
  559. mindsdb/integrations/handlers/elasticsearch_handler/icon.svg +16 -0
  560. mindsdb/integrations/handlers/elasticsearch_handler/requirements.txt +2 -0
  561. mindsdb/integrations/handlers/elasticsearch_handler/tests/__init__.py +0 -0
  562. mindsdb/integrations/handlers/elasticsearch_handler/tests/test_elasticsearch_handler.py +32 -0
  563. mindsdb/integrations/handlers/email_handler/__about__.py +9 -0
  564. mindsdb/integrations/handlers/email_handler/__init__.py +21 -0
  565. mindsdb/integrations/handlers/email_handler/email_client.py +165 -0
  566. mindsdb/integrations/handlers/email_handler/email_handler.py +99 -0
  567. mindsdb/integrations/handlers/email_handler/email_ingestor.py +86 -0
  568. mindsdb/integrations/handlers/email_handler/email_tables.py +159 -0
  569. mindsdb/integrations/handlers/email_handler/icon.png +0 -0
  570. mindsdb/integrations/handlers/email_handler/requirements.txt +2 -0
  571. mindsdb/integrations/handlers/email_handler/settings.py +60 -0
  572. mindsdb/integrations/handlers/empress_handler/__about__.py +9 -0
  573. mindsdb/integrations/handlers/empress_handler/__init__.py +20 -0
  574. mindsdb/integrations/handlers/empress_handler/connection_args.py +42 -0
  575. mindsdb/integrations/handlers/empress_handler/empress_handler.py +211 -0
  576. mindsdb/integrations/handlers/empress_handler/icon.png +0 -0
  577. mindsdb/integrations/handlers/empress_handler/requirements.txt +1 -0
  578. mindsdb/integrations/handlers/empress_handler/tests/__init__.py +0 -0
  579. mindsdb/integrations/handlers/empress_handler/tests/test_empress_handler.py +55 -0
  580. mindsdb/integrations/handlers/eventbrite_handler/__about__.py +9 -0
  581. mindsdb/integrations/handlers/eventbrite_handler/__init__.py +27 -0
  582. mindsdb/integrations/handlers/eventbrite_handler/eventbrite_handler.py +94 -0
  583. mindsdb/integrations/handlers/eventbrite_handler/eventbrite_tables.py +612 -0
  584. mindsdb/integrations/handlers/eventbrite_handler/icon.png +0 -0
  585. mindsdb/integrations/handlers/eventbrite_handler/requirements.txt +1 -0
  586. mindsdb/integrations/handlers/eventstoredb_handler/__about__.py +9 -0
  587. mindsdb/integrations/handlers/eventstoredb_handler/__init__.py +27 -0
  588. mindsdb/integrations/handlers/eventstoredb_handler/eventstoredb_handler.py +216 -0
  589. mindsdb/integrations/handlers/eventstoredb_handler/icon.svg +10 -0
  590. mindsdb/integrations/handlers/faunadb_handler/__about__.py +9 -0
  591. mindsdb/integrations/handlers/faunadb_handler/__init__.py +30 -0
  592. mindsdb/integrations/handlers/faunadb_handler/connection_args.py +39 -0
  593. mindsdb/integrations/handlers/faunadb_handler/faunadb_handler.py +267 -0
  594. mindsdb/integrations/handlers/faunadb_handler/icon.svg +3 -0
  595. mindsdb/integrations/handlers/faunadb_handler/requirements.txt +1 -0
  596. mindsdb/integrations/handlers/faunadb_handler/tests/__init__.py +0 -0
  597. mindsdb/integrations/handlers/faunadb_handler/tests/test_faunadb_handler.py +41 -0
  598. mindsdb/integrations/handlers/file_handler/__about__.py +9 -0
  599. mindsdb/integrations/handlers/file_handler/__init__.py +16 -0
  600. mindsdb/integrations/handlers/file_handler/file_handler.py +528 -0
  601. mindsdb/integrations/handlers/file_handler/icon.svg +8 -0
  602. mindsdb/integrations/handlers/file_handler/requirements.txt +4 -0
  603. mindsdb/integrations/handlers/file_handler/tests/__init__.py +0 -0
  604. mindsdb/integrations/handlers/file_handler/tests/data/test.txt +10 -0
  605. mindsdb/integrations/handlers/file_handler/tests/test_file_handler.py +458 -0
  606. mindsdb/integrations/handlers/financial_modeling_prep_handler/__about__.py +9 -0
  607. mindsdb/integrations/handlers/financial_modeling_prep_handler/__init__.py +19 -0
  608. mindsdb/integrations/handlers/financial_modeling_prep_handler/financial_modeling_handler.py +56 -0
  609. mindsdb/integrations/handlers/financial_modeling_prep_handler/financial_modeling_tables.py +89 -0
  610. mindsdb/integrations/handlers/financial_modeling_prep_handler/icon.svg +67 -0
  611. mindsdb/integrations/handlers/firebird_handler/__about__.py +9 -0
  612. mindsdb/integrations/handlers/firebird_handler/__init__.py +20 -0
  613. mindsdb/integrations/handlers/firebird_handler/connection_args.py +34 -0
  614. mindsdb/integrations/handlers/firebird_handler/firebird_handler.py +240 -0
  615. mindsdb/integrations/handlers/firebird_handler/icon.svg +16 -0
  616. mindsdb/integrations/handlers/firebird_handler/requirements.txt +2 -0
  617. mindsdb/integrations/handlers/firebird_handler/tests/__init__.py +0 -0
  618. mindsdb/integrations/handlers/firebird_handler/tests/test_firebird_handler.py +37 -0
  619. mindsdb/integrations/handlers/flaml_handler/__about__.py +9 -0
  620. mindsdb/integrations/handlers/flaml_handler/__init__.py +19 -0
  621. mindsdb/integrations/handlers/flaml_handler/flaml_handler.py +47 -0
  622. mindsdb/integrations/handlers/flaml_handler/icon.svg +5 -0
  623. mindsdb/integrations/handlers/flaml_handler/requirements.txt +2 -0
  624. mindsdb/integrations/handlers/frappe_handler/__about__.py +9 -0
  625. mindsdb/integrations/handlers/frappe_handler/__init__.py +19 -0
  626. mindsdb/integrations/handlers/frappe_handler/frappe_client.py +111 -0
  627. mindsdb/integrations/handlers/frappe_handler/frappe_handler.py +209 -0
  628. mindsdb/integrations/handlers/frappe_handler/frappe_tables.py +82 -0
  629. mindsdb/integrations/handlers/frappe_handler/icon.svg +11 -0
  630. mindsdb/integrations/handlers/frappe_handler/requirements.txt +0 -0
  631. mindsdb/integrations/handlers/gcs_handler/__about__.py +9 -0
  632. mindsdb/integrations/handlers/gcs_handler/__init__.py +20 -0
  633. mindsdb/integrations/handlers/gcs_handler/connection_args.py +29 -0
  634. mindsdb/integrations/handlers/gcs_handler/gcs_handler.py +375 -0
  635. mindsdb/integrations/handlers/gcs_handler/gcs_tables.py +50 -0
  636. mindsdb/integrations/handlers/gcs_handler/icon.svg +1 -0
  637. mindsdb/integrations/handlers/gcs_handler/requirements.txt +4 -0
  638. mindsdb/integrations/handlers/github_handler/__about__.py +9 -0
  639. mindsdb/integrations/handlers/github_handler/__init__.py +28 -0
  640. mindsdb/integrations/handlers/github_handler/connection_args.py +32 -0
  641. mindsdb/integrations/handlers/github_handler/github_handler.py +124 -0
  642. mindsdb/integrations/handlers/github_handler/github_tables.py +968 -0
  643. mindsdb/integrations/handlers/github_handler/icon.svg +10 -0
  644. mindsdb/integrations/handlers/github_handler/requirements.txt +1 -0
  645. mindsdb/integrations/handlers/gitlab_handler/__about__.py +9 -0
  646. mindsdb/integrations/handlers/gitlab_handler/__init__.py +19 -0
  647. mindsdb/integrations/handlers/gitlab_handler/gitlab_handler.py +84 -0
  648. mindsdb/integrations/handlers/gitlab_handler/gitlab_tables.py +393 -0
  649. mindsdb/integrations/handlers/gitlab_handler/icon.svg +6 -0
  650. mindsdb/integrations/handlers/gitlab_handler/requirements.txt +1 -0
  651. mindsdb/integrations/handlers/gmail_handler/__about__.py +9 -0
  652. mindsdb/integrations/handlers/gmail_handler/__init__.py +20 -0
  653. mindsdb/integrations/handlers/gmail_handler/connection_args.py +27 -0
  654. mindsdb/integrations/handlers/gmail_handler/gmail_handler.py +566 -0
  655. mindsdb/integrations/handlers/gmail_handler/icon.svg +14 -0
  656. mindsdb/integrations/handlers/gmail_handler/requirements.txt +2 -0
  657. mindsdb/integrations/handlers/gmail_handler/tests/__init__.py +0 -0
  658. mindsdb/integrations/handlers/gmail_handler/tests/test_gmail_handler.py +50 -0
  659. mindsdb/integrations/handlers/gmail_handler/utils.py +45 -0
  660. mindsdb/integrations/handlers/google_analytics_handler/__about__.py +9 -0
  661. mindsdb/integrations/handlers/google_analytics_handler/__init__.py +18 -0
  662. mindsdb/integrations/handlers/google_analytics_handler/google_analytics_handler.py +129 -0
  663. mindsdb/integrations/handlers/google_analytics_handler/google_analytics_tables.py +283 -0
  664. mindsdb/integrations/handlers/google_analytics_handler/icon.svg +4 -0
  665. mindsdb/integrations/handlers/google_analytics_handler/requirements.txt +2 -0
  666. mindsdb/integrations/handlers/google_analytics_handler/tests/__init__.py +0 -0
  667. mindsdb/integrations/handlers/google_analytics_handler/tests/test_google_analytics_handler.py +48 -0
  668. mindsdb/integrations/handlers/google_books_handler/__about__.py +9 -0
  669. mindsdb/integrations/handlers/google_books_handler/__init__.py +20 -0
  670. mindsdb/integrations/handlers/google_books_handler/google_books_handler.py +184 -0
  671. mindsdb/integrations/handlers/google_books_handler/google_books_tables.py +185 -0
  672. mindsdb/integrations/handlers/google_books_handler/icon.svg +5 -0
  673. mindsdb/integrations/handlers/google_books_handler/requirements.txt +2 -0
  674. mindsdb/integrations/handlers/google_books_handler/tests/__init__.py +0 -0
  675. mindsdb/integrations/handlers/google_books_handler/tests/test_google_books_handler.py +41 -0
  676. mindsdb/integrations/handlers/google_calendar_handler/__about__.py +9 -0
  677. mindsdb/integrations/handlers/google_calendar_handler/__init__.py +21 -0
  678. mindsdb/integrations/handlers/google_calendar_handler/connection_args.py +12 -0
  679. mindsdb/integrations/handlers/google_calendar_handler/google_calendar_handler.py +292 -0
  680. mindsdb/integrations/handlers/google_calendar_handler/google_calendar_tables.py +228 -0
  681. mindsdb/integrations/handlers/google_calendar_handler/icon.svg +10 -0
  682. mindsdb/integrations/handlers/google_calendar_handler/requirements.txt +3 -0
  683. mindsdb/integrations/handlers/google_calendar_handler/tests/__init__.py +0 -0
  684. mindsdb/integrations/handlers/google_calendar_handler/tests/test_google_calendar_handler.py +56 -0
  685. mindsdb/integrations/handlers/google_content_shopping_handler/__about__.py +9 -0
  686. mindsdb/integrations/handlers/google_content_shopping_handler/__init__.py +20 -0
  687. mindsdb/integrations/handlers/google_content_shopping_handler/connection_args.py +20 -0
  688. mindsdb/integrations/handlers/google_content_shopping_handler/google_content_shopping_handler.py +396 -0
  689. mindsdb/integrations/handlers/google_content_shopping_handler/google_content_shopping_tables.py +435 -0
  690. mindsdb/integrations/handlers/google_content_shopping_handler/icon.svg +15 -0
  691. mindsdb/integrations/handlers/google_content_shopping_handler/requirements.txt +2 -0
  692. mindsdb/integrations/handlers/google_content_shopping_handler/tests/__init__.py +0 -0
  693. mindsdb/integrations/handlers/google_content_shopping_handler/tests/test_google_content_shopping_handler.py +64 -0
  694. mindsdb/integrations/handlers/google_fit_handler/__about__.py +9 -0
  695. mindsdb/integrations/handlers/google_fit_handler/__init__.py +19 -0
  696. mindsdb/integrations/handlers/google_fit_handler/google_fit_handler.py +155 -0
  697. mindsdb/integrations/handlers/google_fit_handler/google_fit_tables.py +69 -0
  698. mindsdb/integrations/handlers/google_fit_handler/icon.svg +13 -0
  699. mindsdb/integrations/handlers/google_fit_handler/requirements.txt +4 -0
  700. mindsdb/integrations/handlers/google_gemini_handler/__about__.py +9 -0
  701. mindsdb/integrations/handlers/google_gemini_handler/__init__.py +30 -0
  702. mindsdb/integrations/handlers/google_gemini_handler/google_gemini_handler.py +370 -0
  703. mindsdb/integrations/handlers/google_gemini_handler/icon.svg +3 -0
  704. mindsdb/integrations/handlers/google_gemini_handler/requirements.txt +2 -0
  705. mindsdb/integrations/handlers/google_search_handler/__about__.py +9 -0
  706. mindsdb/integrations/handlers/google_search_handler/__init__.py +20 -0
  707. mindsdb/integrations/handlers/google_search_handler/connection_args.py +15 -0
  708. mindsdb/integrations/handlers/google_search_handler/google_search_handler.py +205 -0
  709. mindsdb/integrations/handlers/google_search_handler/google_search_tables.py +220 -0
  710. mindsdb/integrations/handlers/google_search_handler/icon.svg +19 -0
  711. mindsdb/integrations/handlers/google_search_handler/requirements.txt +2 -0
  712. mindsdb/integrations/handlers/google_search_handler/tests/__init__.py +0 -0
  713. mindsdb/integrations/handlers/google_search_handler/tests/test_google_search_handler.py +55 -0
  714. mindsdb/integrations/handlers/greptimedb_handler/__about__.py +9 -0
  715. mindsdb/integrations/handlers/greptimedb_handler/__init__.py +19 -0
  716. mindsdb/integrations/handlers/greptimedb_handler/greptimedb_handler.py +21 -0
  717. mindsdb/integrations/handlers/greptimedb_handler/icon.svg +3 -0
  718. mindsdb/integrations/handlers/greptimedb_handler/requirements.txt +1 -0
  719. mindsdb/integrations/handlers/groq_handler/__about__.py +9 -0
  720. mindsdb/integrations/handlers/groq_handler/__init__.py +23 -0
  721. mindsdb/integrations/handlers/groq_handler/groq_handler.py +136 -0
  722. mindsdb/integrations/handlers/groq_handler/icon.svg +30 -0
  723. mindsdb/integrations/handlers/groq_handler/requirements.txt +2 -0
  724. mindsdb/integrations/handlers/groq_handler/settings.py +31 -0
  725. mindsdb/integrations/handlers/hackernews_handler/__about__.py +9 -0
  726. mindsdb/integrations/handlers/hackernews_handler/__init__.py +21 -0
  727. mindsdb/integrations/handlers/hackernews_handler/hn_handler.py +102 -0
  728. mindsdb/integrations/handlers/hackernews_handler/hn_table.py +152 -0
  729. mindsdb/integrations/handlers/hackernews_handler/icon.svg +11 -0
  730. mindsdb/integrations/handlers/hana_handler/__about__.py +9 -0
  731. mindsdb/integrations/handlers/hana_handler/__init__.py +20 -0
  732. mindsdb/integrations/handlers/hana_handler/connection_args.py +57 -0
  733. mindsdb/integrations/handlers/hana_handler/hana_handler.py +259 -0
  734. mindsdb/integrations/handlers/hana_handler/icon.svg +13 -0
  735. mindsdb/integrations/handlers/hana_handler/requirements.txt +2 -0
  736. mindsdb/integrations/handlers/hive_handler/__about__.py +9 -0
  737. mindsdb/integrations/handlers/hive_handler/__init__.py +20 -0
  738. mindsdb/integrations/handlers/hive_handler/connection_args.py +53 -0
  739. mindsdb/integrations/handlers/hive_handler/hive_handler.py +224 -0
  740. mindsdb/integrations/handlers/hive_handler/icon.svg +41 -0
  741. mindsdb/integrations/handlers/hive_handler/requirements.txt +3 -0
  742. mindsdb/integrations/handlers/hive_handler/tests/__init__.py +0 -0
  743. mindsdb/integrations/handlers/hive_handler/tests/test_hive_handler.py +50 -0
  744. mindsdb/integrations/handlers/hsqldb_handler/__about__.py +9 -0
  745. mindsdb/integrations/handlers/hsqldb_handler/__init__.py +20 -0
  746. mindsdb/integrations/handlers/hsqldb_handler/connection_args.py +39 -0
  747. mindsdb/integrations/handlers/hsqldb_handler/hsqldb_handler.py +197 -0
  748. mindsdb/integrations/handlers/hsqldb_handler/icon.png +0 -0
  749. mindsdb/integrations/handlers/hsqldb_handler/requirements.txt +1 -0
  750. mindsdb/integrations/handlers/hubspot_handler/__about__.py +9 -0
  751. mindsdb/integrations/handlers/hubspot_handler/__init__.py +27 -0
  752. mindsdb/integrations/handlers/hubspot_handler/hubspot_handler.py +96 -0
  753. mindsdb/integrations/handlers/hubspot_handler/hubspot_tables.py +589 -0
  754. mindsdb/integrations/handlers/hubspot_handler/icon.svg +3 -0
  755. mindsdb/integrations/handlers/hubspot_handler/requirements.txt +1 -0
  756. mindsdb/integrations/handlers/huggingface_api_handler/__about__.py +9 -0
  757. mindsdb/integrations/handlers/huggingface_api_handler/__init__.py +19 -0
  758. mindsdb/integrations/handlers/huggingface_api_handler/exceptions.py +6 -0
  759. mindsdb/integrations/handlers/huggingface_api_handler/huggingface_api_handler.py +250 -0
  760. mindsdb/integrations/handlers/huggingface_api_handler/icon.svg +24 -0
  761. mindsdb/integrations/handlers/huggingface_api_handler/requirements.txt +2 -0
  762. mindsdb/integrations/handlers/huggingface_api_handler/tests/__init__.py +0 -0
  763. mindsdb/integrations/handlers/huggingface_api_handler/tests/test_huggingface_api_handler.py +9 -0
  764. mindsdb/integrations/handlers/huggingface_handler/__about__.py +9 -0
  765. mindsdb/integrations/handlers/huggingface_handler/__init__.py +20 -0
  766. mindsdb/integrations/handlers/huggingface_handler/finetune.py +223 -0
  767. mindsdb/integrations/handlers/huggingface_handler/huggingface_handler.py +383 -0
  768. mindsdb/integrations/handlers/huggingface_handler/icon.svg +24 -0
  769. mindsdb/integrations/handlers/huggingface_handler/requirements.txt +5 -0
  770. mindsdb/integrations/handlers/huggingface_handler/requirements_cpu.txt +6 -0
  771. mindsdb/integrations/handlers/huggingface_handler/settings.py +27 -0
  772. mindsdb/integrations/handlers/ibm_cos_handler/__about__.py +9 -0
  773. mindsdb/integrations/handlers/ibm_cos_handler/__init__.py +30 -0
  774. mindsdb/integrations/handlers/ibm_cos_handler/connection_args.py +38 -0
  775. mindsdb/integrations/handlers/ibm_cos_handler/ibm_cos_handler.py +338 -0
  776. mindsdb/integrations/handlers/ibm_cos_handler/icon.svg +54 -0
  777. mindsdb/integrations/handlers/ibm_cos_handler/requirements.txt +1 -0
  778. mindsdb/integrations/handlers/ibm_cos_handler/tests/__init__.py +0 -0
  779. mindsdb/integrations/handlers/ibm_cos_handler/tests/test_ibm_cos_handler.py +23 -0
  780. mindsdb/integrations/handlers/ignite_handler/__about__.py +9 -0
  781. mindsdb/integrations/handlers/ignite_handler/__init__.py +20 -0
  782. mindsdb/integrations/handlers/ignite_handler/connection_args.py +46 -0
  783. mindsdb/integrations/handlers/ignite_handler/icon.svg +5 -0
  784. mindsdb/integrations/handlers/ignite_handler/ignite_handler.py +207 -0
  785. mindsdb/integrations/handlers/ignite_handler/requirements.txt +1 -0
  786. mindsdb/integrations/handlers/ignite_handler/tests/__init__.py +0 -0
  787. mindsdb/integrations/handlers/ignite_handler/tests/test_ignite_handler.py +33 -0
  788. mindsdb/integrations/handlers/impala_handler/__about__.py +9 -0
  789. mindsdb/integrations/handlers/impala_handler/__init__.py +20 -0
  790. mindsdb/integrations/handlers/impala_handler/connection_args.py +37 -0
  791. mindsdb/integrations/handlers/impala_handler/icon.svg +13 -0
  792. mindsdb/integrations/handlers/impala_handler/impala_handler.py +156 -0
  793. mindsdb/integrations/handlers/impala_handler/requirements.txt +1 -0
  794. mindsdb/integrations/handlers/impala_handler/tests/__init__.py +0 -0
  795. mindsdb/integrations/handlers/impala_handler/tests/test_impala_handler.py +50 -0
  796. mindsdb/integrations/handlers/influxdb_handler/__about__.py +9 -0
  797. mindsdb/integrations/handlers/influxdb_handler/__init__.py +26 -0
  798. mindsdb/integrations/handlers/influxdb_handler/icon.svg +14 -0
  799. mindsdb/integrations/handlers/influxdb_handler/influxdb_handler.py +105 -0
  800. mindsdb/integrations/handlers/influxdb_handler/influxdb_tables.py +81 -0
  801. mindsdb/integrations/handlers/influxdb_handler/requirements.txt +1 -0
  802. mindsdb/integrations/handlers/informix_handler/__about__.py +9 -0
  803. mindsdb/integrations/handlers/informix_handler/__init__.py +20 -0
  804. mindsdb/integrations/handlers/informix_handler/icon.svg +5 -0
  805. mindsdb/integrations/handlers/informix_handler/informix_handler.py +318 -0
  806. mindsdb/integrations/handlers/informix_handler/requirements.txt +1 -0
  807. mindsdb/integrations/handlers/informix_handler/tests/__init__.py +0 -0
  808. mindsdb/integrations/handlers/informix_handler/tests/test_informix_handler.py +52 -0
  809. mindsdb/integrations/handlers/ingres_handler/__about__.py +10 -0
  810. mindsdb/integrations/handlers/ingres_handler/__init__.py +20 -0
  811. mindsdb/integrations/handlers/ingres_handler/connection_args.py +36 -0
  812. mindsdb/integrations/handlers/ingres_handler/icon.svg +6 -0
  813. mindsdb/integrations/handlers/ingres_handler/ingres_handler.py +210 -0
  814. mindsdb/integrations/handlers/ingres_handler/requirements.txt +2 -0
  815. mindsdb/integrations/handlers/ingres_handler/tests/__init__.py +0 -0
  816. mindsdb/integrations/handlers/ingres_handler/tests/test_ingres_handler.py +53 -0
  817. mindsdb/integrations/handlers/instatus_handler/__about__.py +9 -0
  818. mindsdb/integrations/handlers/instatus_handler/__init__.py +28 -0
  819. mindsdb/integrations/handlers/instatus_handler/icon.svg +5 -0
  820. mindsdb/integrations/handlers/instatus_handler/instatus_handler.py +127 -0
  821. mindsdb/integrations/handlers/instatus_handler/instatus_tables.py +393 -0
  822. mindsdb/integrations/handlers/intercom_handler/__about__.py +9 -0
  823. mindsdb/integrations/handlers/intercom_handler/__init__.py +28 -0
  824. mindsdb/integrations/handlers/intercom_handler/icon.svg +3 -0
  825. mindsdb/integrations/handlers/intercom_handler/intercom_handler.py +117 -0
  826. mindsdb/integrations/handlers/intercom_handler/intercom_tables.py +152 -0
  827. mindsdb/integrations/handlers/jira_handler/__about__.py +9 -0
  828. mindsdb/integrations/handlers/jira_handler/__init__.py +26 -0
  829. mindsdb/integrations/handlers/jira_handler/icon.svg +15 -0
  830. mindsdb/integrations/handlers/jira_handler/jira_handler.py +119 -0
  831. mindsdb/integrations/handlers/jira_handler/jira_table.py +151 -0
  832. mindsdb/integrations/handlers/jira_handler/requirements.txt +1 -0
  833. mindsdb/integrations/handlers/kinetica_handler/__about__.py +9 -0
  834. mindsdb/integrations/handlers/kinetica_handler/__init__.py +22 -0
  835. mindsdb/integrations/handlers/kinetica_handler/connection_args.py +54 -0
  836. mindsdb/integrations/handlers/kinetica_handler/icon.svg +5 -0
  837. mindsdb/integrations/handlers/kinetica_handler/kinetica_handler.py +12 -0
  838. mindsdb/integrations/handlers/lancedb_handler/__about__.py +9 -0
  839. mindsdb/integrations/handlers/lancedb_handler/__init__.py +29 -0
  840. mindsdb/integrations/handlers/lancedb_handler/connection_args.py +35 -0
  841. mindsdb/integrations/handlers/lancedb_handler/icon.svg +8 -0
  842. mindsdb/integrations/handlers/lancedb_handler/lancedb_handler.py +329 -0
  843. mindsdb/integrations/handlers/lancedb_handler/requirements.txt +3 -0
  844. mindsdb/integrations/handlers/lancedb_handler/tests/__init__.py +0 -0
  845. mindsdb/integrations/handlers/lancedb_handler/tests/test_lancedb_handler.py +99 -0
  846. mindsdb/integrations/handlers/langchain_embedding_handler/__about__.py +9 -0
  847. mindsdb/integrations/handlers/langchain_embedding_handler/__init__.py +23 -0
  848. mindsdb/integrations/handlers/langchain_embedding_handler/icon.svg +14 -0
  849. mindsdb/integrations/handlers/langchain_embedding_handler/langchain_embedding_handler.py +221 -0
  850. mindsdb/integrations/handlers/langchain_embedding_handler/requirements.txt +2 -0
  851. mindsdb/integrations/handlers/langchain_embedding_handler/vllm_embeddings.py +111 -0
  852. mindsdb/integrations/handlers/langchain_handler/__about__.py +9 -0
  853. mindsdb/integrations/handlers/langchain_handler/__init__.py +19 -0
  854. mindsdb/integrations/handlers/langchain_handler/icon.svg +14 -0
  855. mindsdb/integrations/handlers/langchain_handler/langchain_handler.py +278 -0
  856. mindsdb/integrations/handlers/langchain_handler/requirements.txt +8 -0
  857. mindsdb/integrations/handlers/langchain_handler/tools.py +247 -0
  858. mindsdb/integrations/handlers/leonardoai_handler/__about__.py +9 -0
  859. mindsdb/integrations/handlers/leonardoai_handler/__init__.py +19 -0
  860. mindsdb/integrations/handlers/leonardoai_handler/icon.svg +306 -0
  861. mindsdb/integrations/handlers/leonardoai_handler/leonardo_ai_handler.py +225 -0
  862. mindsdb/integrations/handlers/leonardoai_handler/requirements.txt +0 -0
  863. mindsdb/integrations/handlers/libsql_handler/__about__.py +9 -0
  864. mindsdb/integrations/handlers/libsql_handler/__init__.py +28 -0
  865. mindsdb/integrations/handlers/libsql_handler/connection_args.py +22 -0
  866. mindsdb/integrations/handlers/libsql_handler/icon.svg +3 -0
  867. mindsdb/integrations/handlers/libsql_handler/libsql_handler.py +192 -0
  868. mindsdb/integrations/handlers/libsql_handler/requirements.txt +1 -0
  869. mindsdb/integrations/handlers/libsql_handler/tests/__init__.py +0 -0
  870. mindsdb/integrations/handlers/libsql_handler/tests/test_libsql_handler.py +45 -0
  871. mindsdb/integrations/handlers/lightdash_handler/__about__.py +9 -0
  872. mindsdb/integrations/handlers/lightdash_handler/__init__.py +27 -0
  873. mindsdb/integrations/handlers/lightdash_handler/api.py +513 -0
  874. mindsdb/integrations/handlers/lightdash_handler/icon.png +0 -0
  875. mindsdb/integrations/handlers/lightdash_handler/lightdash_handler.py +108 -0
  876. mindsdb/integrations/handlers/lightdash_handler/lightdash_tables.py +648 -0
  877. mindsdb/integrations/handlers/lightdash_handler/tests/__init__.py +0 -0
  878. mindsdb/integrations/handlers/lightfm_handler/__about__.py +9 -0
  879. mindsdb/integrations/handlers/lightfm_handler/__init__.py +21 -0
  880. mindsdb/integrations/handlers/lightfm_handler/helpers.py +175 -0
  881. mindsdb/integrations/handlers/lightfm_handler/icon.svg +14 -0
  882. mindsdb/integrations/handlers/lightfm_handler/lightfm_handler.py +198 -0
  883. mindsdb/integrations/handlers/lightfm_handler/requirements.txt +1 -0
  884. mindsdb/integrations/handlers/lightfm_handler/settings.py +7 -0
  885. mindsdb/integrations/handlers/lightwood_handler/__about__.py +9 -0
  886. mindsdb/integrations/handlers/lightwood_handler/__init__.py +19 -0
  887. mindsdb/integrations/handlers/lightwood_handler/functions.py +252 -0
  888. mindsdb/integrations/handlers/lightwood_handler/icon.svg +13 -0
  889. mindsdb/integrations/handlers/lightwood_handler/lightwood_handler.py +581 -0
  890. mindsdb/integrations/handlers/lightwood_handler/requirements.txt +4 -0
  891. mindsdb/integrations/handlers/lightwood_handler/tests/__init__.py +0 -0
  892. mindsdb/integrations/handlers/lightwood_handler/tests/test_lightwood_handler.py +258 -0
  893. mindsdb/integrations/handlers/lightwood_handler/utils.py +76 -0
  894. mindsdb/integrations/handlers/lindorm_handler/__about__.py +9 -0
  895. mindsdb/integrations/handlers/lindorm_handler/__init__.py +28 -0
  896. mindsdb/integrations/handlers/lindorm_handler/icon.svg +5 -0
  897. mindsdb/integrations/handlers/lindorm_handler/lindorm_handler.py +220 -0
  898. mindsdb/integrations/handlers/lindorm_handler/requirements.txt +2 -0
  899. mindsdb/integrations/handlers/lindorm_handler/tests/__init__.py +0 -0
  900. mindsdb/integrations/handlers/lindorm_handler/tests/test_lindorm_handler.py +33 -0
  901. mindsdb/integrations/handlers/litellm_handler/__about__.py +9 -0
  902. mindsdb/integrations/handlers/litellm_handler/__init__.py +30 -0
  903. mindsdb/integrations/handlers/litellm_handler/icon.png +0 -0
  904. mindsdb/integrations/handlers/litellm_handler/litellm_handler.py +141 -0
  905. mindsdb/integrations/handlers/litellm_handler/requirements.txt +2 -0
  906. mindsdb/integrations/handlers/litellm_handler/settings.py +39 -0
  907. mindsdb/integrations/handlers/llama_index_handler/__about__.py +9 -0
  908. mindsdb/integrations/handlers/llama_index_handler/__init__.py +19 -0
  909. mindsdb/integrations/handlers/llama_index_handler/icon.svg +9 -0
  910. mindsdb/integrations/handlers/llama_index_handler/llama_index_handler.py +201 -0
  911. mindsdb/integrations/handlers/llama_index_handler/requirements.txt +5 -0
  912. mindsdb/integrations/handlers/llama_index_handler/settings.py +65 -0
  913. mindsdb/integrations/handlers/ludwig_handler/__about__.py +9 -0
  914. mindsdb/integrations/handlers/ludwig_handler/__init__.py +19 -0
  915. mindsdb/integrations/handlers/ludwig_handler/functions.py +0 -0
  916. mindsdb/integrations/handlers/ludwig_handler/icon.svg +5 -0
  917. mindsdb/integrations/handlers/ludwig_handler/ludwig_handler.py +68 -0
  918. mindsdb/integrations/handlers/ludwig_handler/requirements.txt +3 -0
  919. mindsdb/integrations/handlers/ludwig_handler/utils.py +12 -0
  920. mindsdb/integrations/handlers/luma_handler/__about__.py +9 -0
  921. mindsdb/integrations/handlers/luma_handler/__init__.py +28 -0
  922. mindsdb/integrations/handlers/luma_handler/connection_args.py +18 -0
  923. mindsdb/integrations/handlers/luma_handler/icon.png +0 -0
  924. mindsdb/integrations/handlers/luma_handler/luma.py +47 -0
  925. mindsdb/integrations/handlers/luma_handler/luma_handler.py +77 -0
  926. mindsdb/integrations/handlers/luma_handler/luma_tables.py +164 -0
  927. mindsdb/integrations/handlers/luma_handler/requirements.txt +0 -0
  928. mindsdb/integrations/handlers/mariadb_handler/__about__.py +9 -0
  929. mindsdb/integrations/handlers/mariadb_handler/__init__.py +20 -0
  930. mindsdb/integrations/handlers/mariadb_handler/connection_args.py +76 -0
  931. mindsdb/integrations/handlers/mariadb_handler/icon.svg +3 -0
  932. mindsdb/integrations/handlers/mariadb_handler/mariadb_handler.py +12 -0
  933. mindsdb/integrations/handlers/mariadb_handler/requirements.txt +1 -0
  934. mindsdb/integrations/handlers/materialize_handler/__about__.py +9 -0
  935. mindsdb/integrations/handlers/materialize_handler/__init__.py +20 -0
  936. mindsdb/integrations/handlers/materialize_handler/icon.svg +7 -0
  937. mindsdb/integrations/handlers/materialize_handler/materialize_handler.py +43 -0
  938. mindsdb/integrations/handlers/materialize_handler/tests/__init__.py +0 -0
  939. mindsdb/integrations/handlers/materialize_handler/tests/test_materialize_handler.py +56 -0
  940. mindsdb/integrations/handlers/matrixone_handler/__about__.py +9 -0
  941. mindsdb/integrations/handlers/matrixone_handler/__init__.py +20 -0
  942. mindsdb/integrations/handlers/matrixone_handler/connection_args.py +52 -0
  943. mindsdb/integrations/handlers/matrixone_handler/icon.svg +9 -0
  944. mindsdb/integrations/handlers/matrixone_handler/matrixone_handler.py +168 -0
  945. mindsdb/integrations/handlers/matrixone_handler/requirements.txt +1 -0
  946. mindsdb/integrations/handlers/matrixone_handler/tests/__init__.py +0 -0
  947. mindsdb/integrations/handlers/matrixone_handler/tests/test_matrixone_handler.py +56 -0
  948. mindsdb/integrations/handlers/maxdb_handler/__about__.py +9 -0
  949. mindsdb/integrations/handlers/maxdb_handler/__init__.py +28 -0
  950. mindsdb/integrations/handlers/maxdb_handler/connection_args.py +42 -0
  951. mindsdb/integrations/handlers/maxdb_handler/icon.svg +13 -0
  952. mindsdb/integrations/handlers/maxdb_handler/maxdb_handler.py +185 -0
  953. mindsdb/integrations/handlers/maxdb_handler/requirements.txt +1 -0
  954. mindsdb/integrations/handlers/maxdb_handler/tests/__init__.py +0 -0
  955. mindsdb/integrations/handlers/maxdb_handler/tests/test_maxdb_handler.py +55 -0
  956. mindsdb/integrations/handlers/mediawiki_handler/__about__.py +9 -0
  957. mindsdb/integrations/handlers/mediawiki_handler/__init__.py +27 -0
  958. mindsdb/integrations/handlers/mediawiki_handler/icon.svg +153 -0
  959. mindsdb/integrations/handlers/mediawiki_handler/mediawiki_handler.py +87 -0
  960. mindsdb/integrations/handlers/mediawiki_handler/mediawiki_tables.py +98 -0
  961. mindsdb/integrations/handlers/mediawiki_handler/requirements.txt +1 -0
  962. mindsdb/integrations/handlers/mendeley_handler/__about__.py +9 -0
  963. mindsdb/integrations/handlers/mendeley_handler/__init__.py +19 -0
  964. mindsdb/integrations/handlers/mendeley_handler/icon.svg +14 -0
  965. mindsdb/integrations/handlers/mendeley_handler/mendeley_handler.py +225 -0
  966. mindsdb/integrations/handlers/mendeley_handler/mendeley_tables.py +134 -0
  967. mindsdb/integrations/handlers/mendeley_handler/requirements.txt +1 -0
  968. mindsdb/integrations/handlers/mendeley_handler/tests/__init__.py +0 -0
  969. mindsdb/integrations/handlers/mendeley_handler/tests/test_mendeley_handler.py +108 -0
  970. mindsdb/integrations/handlers/merlion_handler/__about__.py +9 -0
  971. mindsdb/integrations/handlers/merlion_handler/__init__.py +19 -0
  972. mindsdb/integrations/handlers/merlion_handler/adapters.py +182 -0
  973. mindsdb/integrations/handlers/merlion_handler/icon.svg +16 -0
  974. mindsdb/integrations/handlers/merlion_handler/merlion_handler.py +205 -0
  975. mindsdb/integrations/handlers/merlion_handler/requirements.txt +2 -0
  976. mindsdb/integrations/handlers/milvus_handler/__about__.py +9 -0
  977. mindsdb/integrations/handlers/milvus_handler/__init__.py +29 -0
  978. mindsdb/integrations/handlers/milvus_handler/connection_args.py +112 -0
  979. mindsdb/integrations/handlers/milvus_handler/icon.svg +5 -0
  980. mindsdb/integrations/handlers/milvus_handler/milvus_handler.py +332 -0
  981. mindsdb/integrations/handlers/milvus_handler/requirements.txt +1 -0
  982. mindsdb/integrations/handlers/milvus_handler/tests/__init__.py +0 -0
  983. mindsdb/integrations/handlers/minds_endpoint_handler/__about__.py +9 -0
  984. mindsdb/integrations/handlers/minds_endpoint_handler/__init__.py +23 -0
  985. mindsdb/integrations/handlers/minds_endpoint_handler/icon.svg +13 -0
  986. mindsdb/integrations/handlers/minds_endpoint_handler/minds_endpoint_handler.py +132 -0
  987. mindsdb/integrations/handlers/minds_endpoint_handler/requirements.txt +2 -0
  988. mindsdb/integrations/handlers/minds_endpoint_handler/settings.py +18 -0
  989. mindsdb/integrations/handlers/minds_endpoint_handler/tests/__init__.py +0 -0
  990. mindsdb/integrations/handlers/minds_endpoint_handler/tests/test_minds_endpoint_handler.py +160 -0
  991. mindsdb/integrations/handlers/mlflow_handler/__about__.py +9 -0
  992. mindsdb/integrations/handlers/mlflow_handler/__init__.py +18 -0
  993. mindsdb/integrations/handlers/mlflow_handler/icon.svg +4 -0
  994. mindsdb/integrations/handlers/mlflow_handler/mlflow_handler.py +83 -0
  995. mindsdb/integrations/handlers/mlflow_handler/requirements.txt +1 -0
  996. mindsdb/integrations/handlers/monetdb_handler/__about__.py +9 -0
  997. mindsdb/integrations/handlers/monetdb_handler/__init__.py +20 -0
  998. mindsdb/integrations/handlers/monetdb_handler/connection_args.py +44 -0
  999. mindsdb/integrations/handlers/monetdb_handler/icon.svg +4 -0
  1000. mindsdb/integrations/handlers/monetdb_handler/monetdb_handler.py +219 -0
  1001. mindsdb/integrations/handlers/monetdb_handler/requirements.txt +2 -0
  1002. mindsdb/integrations/handlers/monetdb_handler/tests/__init__.py +0 -0
  1003. mindsdb/integrations/handlers/monetdb_handler/tests/test_monetdb_handler.py +50 -0
  1004. mindsdb/integrations/handlers/monetdb_handler/utils/__init__.py +0 -0
  1005. mindsdb/integrations/handlers/monetdb_handler/utils/monet_get_id.py +50 -0
  1006. mindsdb/integrations/handlers/mongodb_handler/__about__.py +9 -0
  1007. mindsdb/integrations/handlers/mongodb_handler/__init__.py +21 -0
  1008. mindsdb/integrations/handlers/mongodb_handler/connection_args.py +46 -0
  1009. mindsdb/integrations/handlers/mongodb_handler/icon.svg +3 -0
  1010. mindsdb/integrations/handlers/mongodb_handler/mongodb_handler.py +372 -0
  1011. mindsdb/integrations/handlers/mongodb_handler/tests/__init__.py +0 -0
  1012. mindsdb/integrations/handlers/mongodb_handler/tests/test_mongodb_handler.py +125 -0
  1013. mindsdb/integrations/handlers/mongodb_handler/utils/__init__.py +0 -0
  1014. mindsdb/integrations/handlers/mongodb_handler/utils/mongodb_render.py +286 -0
  1015. mindsdb/integrations/handlers/monkeylearn_handler/__about__.py +9 -0
  1016. mindsdb/integrations/handlers/monkeylearn_handler/__init__.py +19 -0
  1017. mindsdb/integrations/handlers/monkeylearn_handler/icon.png +0 -0
  1018. mindsdb/integrations/handlers/monkeylearn_handler/monkeylearn_handler.py +81 -0
  1019. mindsdb/integrations/handlers/monkeylearn_handler/requirements.txt +1 -0
  1020. mindsdb/integrations/handlers/ms_one_drive_handler/__about__.py +9 -0
  1021. mindsdb/integrations/handlers/ms_one_drive_handler/__init__.py +27 -0
  1022. mindsdb/integrations/handlers/ms_one_drive_handler/icon.svg +31 -0
  1023. mindsdb/integrations/handlers/ms_one_drive_handler/ms_graph_api_one_drive_client.py +102 -0
  1024. mindsdb/integrations/handlers/ms_one_drive_handler/ms_one_drive_handler.py +252 -0
  1025. mindsdb/integrations/handlers/ms_one_drive_handler/ms_one_drive_tables.py +100 -0
  1026. mindsdb/integrations/handlers/ms_teams_handler/__about__.py +9 -0
  1027. mindsdb/integrations/handlers/ms_teams_handler/__init__.py +27 -0
  1028. mindsdb/integrations/handlers/ms_teams_handler/icon.svg +23 -0
  1029. mindsdb/integrations/handlers/ms_teams_handler/ms_teams_handler.py +193 -0
  1030. mindsdb/integrations/handlers/ms_teams_handler/requirements.txt +2 -0
  1031. mindsdb/integrations/handlers/mssql_handler/__about__.py +9 -0
  1032. mindsdb/integrations/handlers/mssql_handler/__init__.py +21 -0
  1033. mindsdb/integrations/handlers/mssql_handler/connection_args.py +52 -0
  1034. mindsdb/integrations/handlers/mssql_handler/icon.svg +21 -0
  1035. mindsdb/integrations/handlers/mssql_handler/mssql_handler.py +218 -0
  1036. mindsdb/integrations/handlers/mssql_handler/requirements.txt +1 -0
  1037. mindsdb/integrations/handlers/mssql_handler/tests/__init__.py +0 -0
  1038. mindsdb/integrations/handlers/mssql_handler/tests/test_mssql_handler.py +169 -0
  1039. mindsdb/integrations/handlers/mysql_handler/__about__.py +9 -0
  1040. mindsdb/integrations/handlers/mysql_handler/__init__.py +20 -0
  1041. mindsdb/integrations/handlers/mysql_handler/connection_args.py +76 -0
  1042. mindsdb/integrations/handlers/mysql_handler/icon.svg +4 -0
  1043. mindsdb/integrations/handlers/mysql_handler/mysql_handler.py +214 -0
  1044. mindsdb/integrations/handlers/mysql_handler/requirements.txt +1 -0
  1045. mindsdb/integrations/handlers/mysql_handler/settings.py +46 -0
  1046. mindsdb/integrations/handlers/neuralforecast_handler/__about__.py +9 -0
  1047. mindsdb/integrations/handlers/neuralforecast_handler/__init__.py +19 -0
  1048. mindsdb/integrations/handlers/neuralforecast_handler/icon.svg +5 -0
  1049. mindsdb/integrations/handlers/neuralforecast_handler/neuralforecast_handler.py +135 -0
  1050. mindsdb/integrations/handlers/neuralforecast_handler/requirements.txt +2 -0
  1051. mindsdb/integrations/handlers/neuralforecast_handler/requirements_extra.txt +2 -0
  1052. mindsdb/integrations/handlers/newsapi_handler/__about__.py +9 -0
  1053. mindsdb/integrations/handlers/newsapi_handler/__init__.py +29 -0
  1054. mindsdb/integrations/handlers/newsapi_handler/connection_args.py +14 -0
  1055. mindsdb/integrations/handlers/newsapi_handler/icon.png +0 -0
  1056. mindsdb/integrations/handlers/newsapi_handler/newsapi_handler.py +209 -0
  1057. mindsdb/integrations/handlers/newsapi_handler/requirements.txt +1 -0
  1058. mindsdb/integrations/handlers/newsapi_handler/tests/__init__.py +0 -0
  1059. mindsdb/integrations/handlers/newsapi_handler/tests/test_newsapi_handler.py +90 -0
  1060. mindsdb/integrations/handlers/notion_handler/__about__.py +9 -0
  1061. mindsdb/integrations/handlers/notion_handler/__init__.py +30 -0
  1062. mindsdb/integrations/handlers/notion_handler/icon.svg +11 -0
  1063. mindsdb/integrations/handlers/notion_handler/notion_handler.py +238 -0
  1064. mindsdb/integrations/handlers/notion_handler/notion_table.py +422 -0
  1065. mindsdb/integrations/handlers/notion_handler/requirements.txt +1 -0
  1066. mindsdb/integrations/handlers/notion_handler/tests/__init__.py +0 -0
  1067. mindsdb/integrations/handlers/notion_handler/tests/test_notion_handler.py +62 -0
  1068. mindsdb/integrations/handlers/npm_handler/__about__.py +9 -0
  1069. mindsdb/integrations/handlers/npm_handler/__init__.py +27 -0
  1070. mindsdb/integrations/handlers/npm_handler/api.py +26 -0
  1071. mindsdb/integrations/handlers/npm_handler/icon.svg +11 -0
  1072. mindsdb/integrations/handlers/npm_handler/npm_handler.py +53 -0
  1073. mindsdb/integrations/handlers/npm_handler/npm_tables.py +242 -0
  1074. mindsdb/integrations/handlers/npm_handler/tests/__init__.py +0 -0
  1075. mindsdb/integrations/handlers/nuo_jdbc_handler/__about__.py +9 -0
  1076. mindsdb/integrations/handlers/nuo_jdbc_handler/__init__.py +21 -0
  1077. mindsdb/integrations/handlers/nuo_jdbc_handler/connection_args.py +65 -0
  1078. mindsdb/integrations/handlers/nuo_jdbc_handler/icon.svg +3 -0
  1079. mindsdb/integrations/handlers/nuo_jdbc_handler/nuo_jdbc_handler.py +228 -0
  1080. mindsdb/integrations/handlers/nuo_jdbc_handler/requirements.txt +1 -0
  1081. mindsdb/integrations/handlers/nuo_jdbc_handler/tests/__init__.py +0 -0
  1082. mindsdb/integrations/handlers/nuo_jdbc_handler/tests/test_nuo_handler.py +50 -0
  1083. mindsdb/integrations/handlers/oceanbase_handler/__about__.py +9 -0
  1084. mindsdb/integrations/handlers/oceanbase_handler/__init__.py +20 -0
  1085. mindsdb/integrations/handlers/oceanbase_handler/icon.svg +4 -0
  1086. mindsdb/integrations/handlers/oceanbase_handler/oceanbase_handler.py +48 -0
  1087. mindsdb/integrations/handlers/oceanbase_handler/requirements.txt +1 -0
  1088. mindsdb/integrations/handlers/oceanbase_handler/tests/__init__.py +0 -0
  1089. mindsdb/integrations/handlers/oceanbase_handler/tests/test_oceanbase_handler.py +56 -0
  1090. mindsdb/integrations/handlers/oilpriceapi_handler/__about__.py +9 -0
  1091. mindsdb/integrations/handlers/oilpriceapi_handler/__init__.py +28 -0
  1092. mindsdb/integrations/handlers/oilpriceapi_handler/connection_args.py +18 -0
  1093. mindsdb/integrations/handlers/oilpriceapi_handler/icon.svg +7 -0
  1094. mindsdb/integrations/handlers/oilpriceapi_handler/oilpriceapi.py +45 -0
  1095. mindsdb/integrations/handlers/oilpriceapi_handler/oilpriceapi_handler.py +100 -0
  1096. mindsdb/integrations/handlers/oilpriceapi_handler/oilpriceapi_tables.py +208 -0
  1097. mindsdb/integrations/handlers/ollama_handler/__about__.py +9 -0
  1098. mindsdb/integrations/handlers/ollama_handler/__init__.py +19 -0
  1099. mindsdb/integrations/handlers/ollama_handler/icon.png +0 -0
  1100. mindsdb/integrations/handlers/ollama_handler/ollama_handler.py +171 -0
  1101. mindsdb/integrations/handlers/openai_handler/__about__.py +9 -0
  1102. mindsdb/integrations/handlers/openai_handler/__init__.py +22 -0
  1103. mindsdb/integrations/handlers/openai_handler/constants.py +36 -0
  1104. mindsdb/integrations/handlers/openai_handler/creation_args.py +14 -0
  1105. mindsdb/integrations/handlers/openai_handler/helpers.py +197 -0
  1106. mindsdb/integrations/handlers/openai_handler/icon.svg +10 -0
  1107. mindsdb/integrations/handlers/openai_handler/model_using_args.py +5 -0
  1108. mindsdb/integrations/handlers/openai_handler/openai_handler.py +1188 -0
  1109. mindsdb/integrations/handlers/openai_handler/requirements.txt +2 -0
  1110. mindsdb/integrations/handlers/openai_handler/tests/__init__.py +0 -0
  1111. mindsdb/integrations/handlers/openai_handler/tests/test_openai_handler.py +509 -0
  1112. mindsdb/integrations/handlers/openbb_handler/__about__.py +9 -0
  1113. mindsdb/integrations/handlers/openbb_handler/__init__.py +27 -0
  1114. mindsdb/integrations/handlers/openbb_handler/icon.svg +3 -0
  1115. mindsdb/integrations/handlers/openbb_handler/openbb_handler.py +119 -0
  1116. mindsdb/integrations/handlers/openbb_handler/openbb_tables.py +337 -0
  1117. mindsdb/integrations/handlers/openbb_handler/requirements.txt +2 -0
  1118. mindsdb/integrations/handlers/opengauss_handler/__about__.py +9 -0
  1119. mindsdb/integrations/handlers/opengauss_handler/__init__.py +21 -0
  1120. mindsdb/integrations/handlers/opengauss_handler/connection_args.py +36 -0
  1121. mindsdb/integrations/handlers/opengauss_handler/icon.svg +6 -0
  1122. mindsdb/integrations/handlers/opengauss_handler/opengauss_handler.py +11 -0
  1123. mindsdb/integrations/handlers/opengauss_handler/tests/__init__.py +0 -0
  1124. mindsdb/integrations/handlers/opengauss_handler/tests/test_opengauss_handler.py +45 -0
  1125. mindsdb/integrations/handlers/openstreetmap_handler/__about__.py +9 -0
  1126. mindsdb/integrations/handlers/openstreetmap_handler/__init__.py +27 -0
  1127. mindsdb/integrations/handlers/openstreetmap_handler/icon.svg +10 -0
  1128. mindsdb/integrations/handlers/openstreetmap_handler/openstreetmap_handler.py +90 -0
  1129. mindsdb/integrations/handlers/openstreetmap_handler/openstreetmap_tables.py +243 -0
  1130. mindsdb/integrations/handlers/openstreetmap_handler/requirements.txt +1 -0
  1131. mindsdb/integrations/handlers/openstreetmap_handler/tests/__init__.py +0 -0
  1132. mindsdb/integrations/handlers/openstreetmap_handler/tests/test_openstreetmap_handler.py +37 -0
  1133. mindsdb/integrations/handlers/oracle_handler/__about__.py +9 -0
  1134. mindsdb/integrations/handlers/oracle_handler/__init__.py +28 -0
  1135. mindsdb/integrations/handlers/oracle_handler/connection_args.py +70 -0
  1136. mindsdb/integrations/handlers/oracle_handler/icon.svg +3 -0
  1137. mindsdb/integrations/handlers/oracle_handler/oracle_handler.py +246 -0
  1138. mindsdb/integrations/handlers/oracle_handler/requirements.txt +1 -0
  1139. mindsdb/integrations/handlers/oracle_handler/tests/__init__.py +0 -0
  1140. mindsdb/integrations/handlers/oracle_handler/tests/test_oracle_handler.py +32 -0
  1141. mindsdb/integrations/handlers/orioledb_handler/__about__.py +9 -0
  1142. mindsdb/integrations/handlers/orioledb_handler/__init__.py +21 -0
  1143. mindsdb/integrations/handlers/orioledb_handler/connection_args.py +36 -0
  1144. mindsdb/integrations/handlers/orioledb_handler/icon.svg +6 -0
  1145. mindsdb/integrations/handlers/orioledb_handler/orioledb_handler.py +11 -0
  1146. mindsdb/integrations/handlers/orioledb_handler/tests/__init__.py +0 -0
  1147. mindsdb/integrations/handlers/orioledb_handler/tests/test_orioledb_handler.py +56 -0
  1148. mindsdb/integrations/handlers/palm_handler/__about__.py +9 -0
  1149. mindsdb/integrations/handlers/palm_handler/__init__.py +19 -0
  1150. mindsdb/integrations/handlers/palm_handler/icon.svg +9 -0
  1151. mindsdb/integrations/handlers/palm_handler/palm_handler.py +448 -0
  1152. mindsdb/integrations/handlers/palm_handler/requirements.txt +1 -0
  1153. mindsdb/integrations/handlers/paypal_handler/__about__.py +9 -0
  1154. mindsdb/integrations/handlers/paypal_handler/__init__.py +27 -0
  1155. mindsdb/integrations/handlers/paypal_handler/icon.svg +5 -0
  1156. mindsdb/integrations/handlers/paypal_handler/paypal_handler.py +145 -0
  1157. mindsdb/integrations/handlers/paypal_handler/paypal_tables.py +283 -0
  1158. mindsdb/integrations/handlers/paypal_handler/requirements.txt +1 -0
  1159. mindsdb/integrations/handlers/pgvector_handler/__about__.py +9 -0
  1160. mindsdb/integrations/handlers/pgvector_handler/__init__.py +29 -0
  1161. mindsdb/integrations/handlers/pgvector_handler/connection_args.py +54 -0
  1162. mindsdb/integrations/handlers/pgvector_handler/icon.svg +23 -0
  1163. mindsdb/integrations/handlers/pgvector_handler/pgvector_handler.py +447 -0
  1164. mindsdb/integrations/handlers/pgvector_handler/requirements.txt +0 -0
  1165. mindsdb/integrations/handlers/phoenix_handler/__about__.py +9 -0
  1166. mindsdb/integrations/handlers/phoenix_handler/__init__.py +20 -0
  1167. mindsdb/integrations/handlers/phoenix_handler/connection_args.py +50 -0
  1168. mindsdb/integrations/handlers/phoenix_handler/icon.png +0 -0
  1169. mindsdb/integrations/handlers/phoenix_handler/phoenix_handler.py +229 -0
  1170. mindsdb/integrations/handlers/phoenix_handler/requirements.txt +2 -0
  1171. mindsdb/integrations/handlers/phoenix_handler/tests/__init__.py +0 -0
  1172. mindsdb/integrations/handlers/phoenix_handler/tests/test_phoenix_handler.py +33 -0
  1173. mindsdb/integrations/handlers/pinecone_handler/__about__.py +9 -0
  1174. mindsdb/integrations/handlers/pinecone_handler/__init__.py +29 -0
  1175. mindsdb/integrations/handlers/pinecone_handler/connection_args.py +53 -0
  1176. mindsdb/integrations/handlers/pinecone_handler/icon.svg +21 -0
  1177. mindsdb/integrations/handlers/pinecone_handler/pinecone_handler.py +304 -0
  1178. mindsdb/integrations/handlers/pinecone_handler/requirements.txt +1 -0
  1179. mindsdb/integrations/handlers/pinecone_handler/tests/__init__.py +0 -0
  1180. mindsdb/integrations/handlers/pinot_handler/__about__.py +9 -0
  1181. mindsdb/integrations/handlers/pinot_handler/__init__.py +20 -0
  1182. mindsdb/integrations/handlers/pinot_handler/connection_args.py +49 -0
  1183. mindsdb/integrations/handlers/pinot_handler/icon.svg +7 -0
  1184. mindsdb/integrations/handlers/pinot_handler/pinot_handler.py +223 -0
  1185. mindsdb/integrations/handlers/pinot_handler/requirements.txt +1 -0
  1186. mindsdb/integrations/handlers/pinot_handler/tests/__init__.py +0 -0
  1187. mindsdb/integrations/handlers/pinot_handler/tests/test_pinot_handler.py +36 -0
  1188. mindsdb/integrations/handlers/pirateweather_handler/__about__.py +9 -0
  1189. mindsdb/integrations/handlers/pirateweather_handler/__init__.py +29 -0
  1190. mindsdb/integrations/handlers/pirateweather_handler/connection_args.py +14 -0
  1191. mindsdb/integrations/handlers/pirateweather_handler/icon.png +0 -0
  1192. mindsdb/integrations/handlers/pirateweather_handler/pirateweather_handler.py +236 -0
  1193. mindsdb/integrations/handlers/plaid_handler/__about__.py +9 -0
  1194. mindsdb/integrations/handlers/plaid_handler/__init__.py +21 -0
  1195. mindsdb/integrations/handlers/plaid_handler/icon.svg +3 -0
  1196. mindsdb/integrations/handlers/plaid_handler/plaid_handler.py +225 -0
  1197. mindsdb/integrations/handlers/plaid_handler/plaid_tables.py +159 -0
  1198. mindsdb/integrations/handlers/plaid_handler/requirements.txt +1 -0
  1199. mindsdb/integrations/handlers/plaid_handler/utils.py +9 -0
  1200. mindsdb/integrations/handlers/planetscale_handler/__about__.py +9 -0
  1201. mindsdb/integrations/handlers/planetscale_handler/__init__.py +20 -0
  1202. mindsdb/integrations/handlers/planetscale_handler/connection_args.py +36 -0
  1203. mindsdb/integrations/handlers/planetscale_handler/icon.svg +3 -0
  1204. mindsdb/integrations/handlers/planetscale_handler/planetscale_handler.py +14 -0
  1205. mindsdb/integrations/handlers/planetscale_handler/requirements.txt +1 -0
  1206. mindsdb/integrations/handlers/popularity_recommender_handler/__about__.py +9 -0
  1207. mindsdb/integrations/handlers/popularity_recommender_handler/__init__.py +21 -0
  1208. mindsdb/integrations/handlers/popularity_recommender_handler/icon.svg +10 -0
  1209. mindsdb/integrations/handlers/popularity_recommender_handler/popularity_recommender_handler.py +103 -0
  1210. mindsdb/integrations/handlers/popularity_recommender_handler/requirements.txt +1 -0
  1211. mindsdb/integrations/handlers/portkey_handler/__about__.py +9 -0
  1212. mindsdb/integrations/handlers/portkey_handler/__init__.py +22 -0
  1213. mindsdb/integrations/handlers/portkey_handler/icon.svg +9 -0
  1214. mindsdb/integrations/handlers/portkey_handler/portkey_handler.py +79 -0
  1215. mindsdb/integrations/handlers/portkey_handler/requirements.txt +1 -0
  1216. mindsdb/integrations/handlers/postgres_handler/__about__.py +9 -0
  1217. mindsdb/integrations/handlers/postgres_handler/__init__.py +20 -0
  1218. mindsdb/integrations/handlers/postgres_handler/connection_args.py +65 -0
  1219. mindsdb/integrations/handlers/postgres_handler/icon.svg +23 -0
  1220. mindsdb/integrations/handlers/postgres_handler/postgres_handler.py +396 -0
  1221. mindsdb/integrations/handlers/postgres_handler/tests/__init__.py +0 -0
  1222. mindsdb/integrations/handlers/postgres_handler/tests/test_postgres_handler.py +172 -0
  1223. mindsdb/integrations/handlers/pycaret_handler/__about__.py +9 -0
  1224. mindsdb/integrations/handlers/pycaret_handler/__init__.py +22 -0
  1225. mindsdb/integrations/handlers/pycaret_handler/icon.png +0 -0
  1226. mindsdb/integrations/handlers/pycaret_handler/pycaret_handler.py +116 -0
  1227. mindsdb/integrations/handlers/pycaret_handler/requirements.txt +2 -0
  1228. mindsdb/integrations/handlers/pycaret_handler/test/__init__.py +0 -0
  1229. mindsdb/integrations/handlers/pycaret_handler/test/test_pycaret.py +242 -0
  1230. mindsdb/integrations/handlers/pypi_handler/__about__.py +9 -0
  1231. mindsdb/integrations/handlers/pypi_handler/__init__.py +28 -0
  1232. mindsdb/integrations/handlers/pypi_handler/api.py +152 -0
  1233. mindsdb/integrations/handlers/pypi_handler/icon.svg +123 -0
  1234. mindsdb/integrations/handlers/pypi_handler/pypi_handler.py +73 -0
  1235. mindsdb/integrations/handlers/pypi_handler/pypi_tables.py +263 -0
  1236. mindsdb/integrations/handlers/qdrant_handler/__about__.py +9 -0
  1237. mindsdb/integrations/handlers/qdrant_handler/__init__.py +29 -0
  1238. mindsdb/integrations/handlers/qdrant_handler/connection_args.py +75 -0
  1239. mindsdb/integrations/handlers/qdrant_handler/icon.svg +10 -0
  1240. mindsdb/integrations/handlers/qdrant_handler/qdrant_handler.py +402 -0
  1241. mindsdb/integrations/handlers/qdrant_handler/requirements.txt +1 -0
  1242. mindsdb/integrations/handlers/questdb_handler/__about__.py +9 -0
  1243. mindsdb/integrations/handlers/questdb_handler/__init__.py +20 -0
  1244. mindsdb/integrations/handlers/questdb_handler/icon.svg +25 -0
  1245. mindsdb/integrations/handlers/questdb_handler/questdb_handler.py +72 -0
  1246. mindsdb/integrations/handlers/questdb_handler/requirements.txt +1 -0
  1247. mindsdb/integrations/handlers/questdb_handler/tests/__init__.py +0 -0
  1248. mindsdb/integrations/handlers/questdb_handler/tests/test_questdb_handler.py +35 -0
  1249. mindsdb/integrations/handlers/quickbooks_handler/__about__.py +9 -0
  1250. mindsdb/integrations/handlers/quickbooks_handler/__init__.py +21 -0
  1251. mindsdb/integrations/handlers/quickbooks_handler/icon.svg +11 -0
  1252. mindsdb/integrations/handlers/quickbooks_handler/quickbooks_handler.py +97 -0
  1253. mindsdb/integrations/handlers/quickbooks_handler/quickbooks_table.py +374 -0
  1254. mindsdb/integrations/handlers/quickbooks_handler/requirements.txt +1 -0
  1255. mindsdb/integrations/handlers/rag_handler/__about__.py +9 -0
  1256. mindsdb/integrations/handlers/rag_handler/__init__.py +29 -0
  1257. mindsdb/integrations/handlers/rag_handler/exceptions.py +26 -0
  1258. mindsdb/integrations/handlers/rag_handler/icon.svg +13 -0
  1259. mindsdb/integrations/handlers/rag_handler/ingest.py +185 -0
  1260. mindsdb/integrations/handlers/rag_handler/rag.py +147 -0
  1261. mindsdb/integrations/handlers/rag_handler/rag_handler.py +144 -0
  1262. mindsdb/integrations/handlers/rag_handler/requirements.txt +6 -0
  1263. mindsdb/integrations/handlers/rag_handler/settings.py +479 -0
  1264. mindsdb/integrations/handlers/ray_serve_handler/__about__.py +9 -0
  1265. mindsdb/integrations/handlers/ray_serve_handler/__init__.py +18 -0
  1266. mindsdb/integrations/handlers/ray_serve_handler/icon.svg +3 -0
  1267. mindsdb/integrations/handlers/ray_serve_handler/ray_serve_handler.py +66 -0
  1268. mindsdb/integrations/handlers/reddit_handler/__about__.py +9 -0
  1269. mindsdb/integrations/handlers/reddit_handler/__init__.py +21 -0
  1270. mindsdb/integrations/handlers/reddit_handler/icon.svg +11 -0
  1271. mindsdb/integrations/handlers/reddit_handler/reddit_handler.py +106 -0
  1272. mindsdb/integrations/handlers/reddit_handler/reddit_tables.py +195 -0
  1273. mindsdb/integrations/handlers/reddit_handler/requirements.txt +1 -0
  1274. mindsdb/integrations/handlers/redshift_handler/__about__.py +9 -0
  1275. mindsdb/integrations/handlers/redshift_handler/__init__.py +20 -0
  1276. mindsdb/integrations/handlers/redshift_handler/connection_args.py +58 -0
  1277. mindsdb/integrations/handlers/redshift_handler/icon.svg +9 -0
  1278. mindsdb/integrations/handlers/redshift_handler/redshift_handler.py +69 -0
  1279. mindsdb/integrations/handlers/redshift_handler/tests/__init__.py +0 -0
  1280. mindsdb/integrations/handlers/redshift_handler/tests/test_redshift_handler.py +154 -0
  1281. mindsdb/integrations/handlers/replicate_handler/__about__.py +9 -0
  1282. mindsdb/integrations/handlers/replicate_handler/__init__.py +19 -0
  1283. mindsdb/integrations/handlers/replicate_handler/assets/Arjuna.png +0 -0
  1284. mindsdb/integrations/handlers/replicate_handler/assets/groot.png +0 -0
  1285. mindsdb/integrations/handlers/replicate_handler/assets/warrior.png +0 -0
  1286. mindsdb/integrations/handlers/replicate_handler/icon.svg +5 -0
  1287. mindsdb/integrations/handlers/replicate_handler/replicate_handler.py +162 -0
  1288. mindsdb/integrations/handlers/replicate_handler/requirements.txt +1 -0
  1289. mindsdb/integrations/handlers/rocket_chat_handler/__about__.py +9 -0
  1290. mindsdb/integrations/handlers/rocket_chat_handler/__init__.py +19 -0
  1291. mindsdb/integrations/handlers/rocket_chat_handler/icon.svg +6 -0
  1292. mindsdb/integrations/handlers/rocket_chat_handler/requirements.txt +1 -0
  1293. mindsdb/integrations/handlers/rocket_chat_handler/rocket_chat_handler.py +153 -0
  1294. mindsdb/integrations/handlers/rocket_chat_handler/rocket_chat_tables.py +201 -0
  1295. mindsdb/integrations/handlers/rockset_handler/__about__.py +9 -0
  1296. mindsdb/integrations/handlers/rockset_handler/__init__.py +21 -0
  1297. mindsdb/integrations/handlers/rockset_handler/connection_args.py +45 -0
  1298. mindsdb/integrations/handlers/rockset_handler/icon.svg +5 -0
  1299. mindsdb/integrations/handlers/rockset_handler/requirements.txt +1 -0
  1300. mindsdb/integrations/handlers/rockset_handler/rockset_handler.py +11 -0
  1301. mindsdb/integrations/handlers/rockset_handler/tests/__init__.py +0 -0
  1302. mindsdb/integrations/handlers/rockset_handler/tests/test.png +0 -0
  1303. mindsdb/integrations/handlers/rockset_handler/tests/test2.png +0 -0
  1304. mindsdb/integrations/handlers/rockset_handler/tests/test_rockset_handler.py +32 -0
  1305. mindsdb/integrations/handlers/s3_handler/__about__.py +9 -0
  1306. mindsdb/integrations/handlers/s3_handler/__init__.py +20 -0
  1307. mindsdb/integrations/handlers/s3_handler/connection_args.py +47 -0
  1308. mindsdb/integrations/handlers/s3_handler/icon.svg +15 -0
  1309. mindsdb/integrations/handlers/s3_handler/s3_handler.py +454 -0
  1310. mindsdb/integrations/handlers/s3_handler/tests/__init__.py +0 -0
  1311. mindsdb/integrations/handlers/s3_handler/tests/test_s3_handler.py +37 -0
  1312. mindsdb/integrations/handlers/salesforce_handler/__about__.py +9 -0
  1313. mindsdb/integrations/handlers/salesforce_handler/__init__.py +30 -0
  1314. mindsdb/integrations/handlers/salesforce_handler/connection_args.py +39 -0
  1315. mindsdb/integrations/handlers/salesforce_handler/icon.svg +1 -0
  1316. mindsdb/integrations/handlers/salesforce_handler/requirements.txt +1 -0
  1317. mindsdb/integrations/handlers/salesforce_handler/salesforce_handler.py +180 -0
  1318. mindsdb/integrations/handlers/salesforce_handler/salesforce_tables.py +129 -0
  1319. mindsdb/integrations/handlers/sap_erp_handler/__about__.py +9 -0
  1320. mindsdb/integrations/handlers/sap_erp_handler/__init__.py +27 -0
  1321. mindsdb/integrations/handlers/sap_erp_handler/api.py +79 -0
  1322. mindsdb/integrations/handlers/sap_erp_handler/icon.svg +13 -0
  1323. mindsdb/integrations/handlers/sap_erp_handler/sap_erp_handler.py +161 -0
  1324. mindsdb/integrations/handlers/sap_erp_handler/sap_erp_tables.py +1928 -0
  1325. mindsdb/integrations/handlers/sap_erp_handler/tests/__init__.py +0 -0
  1326. mindsdb/integrations/handlers/scylla_handler/__about__.py +9 -0
  1327. mindsdb/integrations/handlers/scylla_handler/__init__.py +21 -0
  1328. mindsdb/integrations/handlers/scylla_handler/connection_args.py +50 -0
  1329. mindsdb/integrations/handlers/scylla_handler/icon.svg +17 -0
  1330. mindsdb/integrations/handlers/scylla_handler/requirements.txt +1 -0
  1331. mindsdb/integrations/handlers/scylla_handler/scylla_handler.py +205 -0
  1332. mindsdb/integrations/handlers/scylla_handler/tests/__init__.py +0 -0
  1333. mindsdb/integrations/handlers/scylla_handler/tests/test_scylla_handler.py +38 -0
  1334. mindsdb/integrations/handlers/sendinblue_handler/__about__.py +9 -0
  1335. mindsdb/integrations/handlers/sendinblue_handler/__init__.py +27 -0
  1336. mindsdb/integrations/handlers/sendinblue_handler/icon.svg +3 -0
  1337. mindsdb/integrations/handlers/sendinblue_handler/requirements.txt +1 -0
  1338. mindsdb/integrations/handlers/sendinblue_handler/sendinblue_handler.py +94 -0
  1339. mindsdb/integrations/handlers/sendinblue_handler/sendinblue_tables.py +276 -0
  1340. mindsdb/integrations/handlers/sentence_transformers_handler/__about__.py +9 -0
  1341. mindsdb/integrations/handlers/sentence_transformers_handler/__init__.py +21 -0
  1342. mindsdb/integrations/handlers/sentence_transformers_handler/icon.svg +21 -0
  1343. mindsdb/integrations/handlers/sentence_transformers_handler/requirements.txt +1 -0
  1344. mindsdb/integrations/handlers/sentence_transformers_handler/sentence_transformers_handler.py +75 -0
  1345. mindsdb/integrations/handlers/sentence_transformers_handler/settings.py +12 -0
  1346. mindsdb/integrations/handlers/serpstack_handler/__about__.py +9 -0
  1347. mindsdb/integrations/handlers/serpstack_handler/__init__.py +27 -0
  1348. mindsdb/integrations/handlers/serpstack_handler/icon.svg +86 -0
  1349. mindsdb/integrations/handlers/serpstack_handler/serpstack_handler.py +123 -0
  1350. mindsdb/integrations/handlers/serpstack_handler/serpstack_tables.py +260 -0
  1351. mindsdb/integrations/handlers/sharepoint_handler/__about__.py +9 -0
  1352. mindsdb/integrations/handlers/sharepoint_handler/__init__.py +27 -0
  1353. mindsdb/integrations/handlers/sharepoint_handler/icon.svg +23 -0
  1354. mindsdb/integrations/handlers/sharepoint_handler/sharepoint_api.py +579 -0
  1355. mindsdb/integrations/handlers/sharepoint_handler/sharepoint_handler.py +147 -0
  1356. mindsdb/integrations/handlers/sharepoint_handler/sharepoint_tables.py +581 -0
  1357. mindsdb/integrations/handlers/sharepoint_handler/tests/__init__.py +0 -0
  1358. mindsdb/integrations/handlers/sharepoint_handler/tests/test_sharepoint_handler.py +53 -0
  1359. mindsdb/integrations/handlers/sharepoint_handler/utils.py +163 -0
  1360. mindsdb/integrations/handlers/sheets_handler/__about__.py +9 -0
  1361. mindsdb/integrations/handlers/sheets_handler/__init__.py +20 -0
  1362. mindsdb/integrations/handlers/sheets_handler/connection_args.py +20 -0
  1363. mindsdb/integrations/handlers/sheets_handler/icon.svg +55 -0
  1364. mindsdb/integrations/handlers/sheets_handler/sheets_handler.py +176 -0
  1365. mindsdb/integrations/handlers/sheets_handler/tests/__init__.py +0 -0
  1366. mindsdb/integrations/handlers/sheets_handler/tests/test_sheets_handler.py +33 -0
  1367. mindsdb/integrations/handlers/shopify_handler/__about__.py +9 -0
  1368. mindsdb/integrations/handlers/shopify_handler/__init__.py +27 -0
  1369. mindsdb/integrations/handlers/shopify_handler/icon.svg +5 -0
  1370. mindsdb/integrations/handlers/shopify_handler/requirements.txt +1 -0
  1371. mindsdb/integrations/handlers/shopify_handler/shopify_handler.py +143 -0
  1372. mindsdb/integrations/handlers/shopify_handler/shopify_tables.py +1083 -0
  1373. mindsdb/integrations/handlers/singlestore_handler/__about__.py +9 -0
  1374. mindsdb/integrations/handlers/singlestore_handler/__init__.py +21 -0
  1375. mindsdb/integrations/handlers/singlestore_handler/icon.svg +16 -0
  1376. mindsdb/integrations/handlers/singlestore_handler/requirements.txt +1 -0
  1377. mindsdb/integrations/handlers/singlestore_handler/singlestore_handler.py +12 -0
  1378. mindsdb/integrations/handlers/singlestore_handler/tests/__init__.py +0 -0
  1379. mindsdb/integrations/handlers/singlestore_handler/tests/test_singlestore_handler.py +42 -0
  1380. mindsdb/integrations/handlers/slack_handler/__about__.py +9 -0
  1381. mindsdb/integrations/handlers/slack_handler/__init__.py +28 -0
  1382. mindsdb/integrations/handlers/slack_handler/connection_args.py +26 -0
  1383. mindsdb/integrations/handlers/slack_handler/icon.svg +13 -0
  1384. mindsdb/integrations/handlers/slack_handler/requirements.txt +1 -0
  1385. mindsdb/integrations/handlers/slack_handler/slack_handler.py +339 -0
  1386. mindsdb/integrations/handlers/slack_handler/slack_tables.py +718 -0
  1387. mindsdb/integrations/handlers/slack_handler/tests/__init__.py +0 -0
  1388. mindsdb/integrations/handlers/slack_handler/tests/test_slack.py +27 -0
  1389. mindsdb/integrations/handlers/snowflake_handler/__about__.py +9 -0
  1390. mindsdb/integrations/handlers/snowflake_handler/__init__.py +21 -0
  1391. mindsdb/integrations/handlers/snowflake_handler/connection_args.py +63 -0
  1392. mindsdb/integrations/handlers/snowflake_handler/icon.svg +10 -0
  1393. mindsdb/integrations/handlers/snowflake_handler/requirements.txt +2 -0
  1394. mindsdb/integrations/handlers/snowflake_handler/snowflake_handler.py +280 -0
  1395. mindsdb/integrations/handlers/snowflake_handler/tests/__init__.py +0 -0
  1396. mindsdb/integrations/handlers/snowflake_handler/tests/test_snowflake_handler.py +230 -0
  1397. mindsdb/integrations/handlers/solace_handler/__about__.py +9 -0
  1398. mindsdb/integrations/handlers/solace_handler/__init__.py +19 -0
  1399. mindsdb/integrations/handlers/solace_handler/icon.svg +3 -0
  1400. mindsdb/integrations/handlers/solace_handler/requirements.txt +1 -0
  1401. mindsdb/integrations/handlers/solace_handler/solace_handler.py +169 -0
  1402. mindsdb/integrations/handlers/solr_handler/__about__.py +9 -0
  1403. mindsdb/integrations/handlers/solr_handler/__init__.py +20 -0
  1404. mindsdb/integrations/handlers/solr_handler/connection_args.py +46 -0
  1405. mindsdb/integrations/handlers/solr_handler/icon.svg +10 -0
  1406. mindsdb/integrations/handlers/solr_handler/requirements.txt +1 -0
  1407. mindsdb/integrations/handlers/solr_handler/solr_handler.py +176 -0
  1408. mindsdb/integrations/handlers/solr_handler/tests/__init__.py +0 -0
  1409. mindsdb/integrations/handlers/solr_handler/tests/test_solr_handler.py +38 -0
  1410. mindsdb/integrations/handlers/spacy_handler/__about__.py +9 -0
  1411. mindsdb/integrations/handlers/spacy_handler/__init__.py +19 -0
  1412. mindsdb/integrations/handlers/spacy_handler/icon.svg +3 -0
  1413. mindsdb/integrations/handlers/spacy_handler/requirements.txt +1 -0
  1414. mindsdb/integrations/handlers/spacy_handler/spacy_handler.py +194 -0
  1415. mindsdb/integrations/handlers/sqlany_handler/__about__.py +9 -0
  1416. mindsdb/integrations/handlers/sqlany_handler/__init__.py +20 -0
  1417. mindsdb/integrations/handlers/sqlany_handler/connection_args.py +46 -0
  1418. mindsdb/integrations/handlers/sqlany_handler/icon.svg +13 -0
  1419. mindsdb/integrations/handlers/sqlany_handler/requirements.txt +2 -0
  1420. mindsdb/integrations/handlers/sqlany_handler/sqlany_handler.py +179 -0
  1421. mindsdb/integrations/handlers/sqlite_handler/__about__.py +9 -0
  1422. mindsdb/integrations/handlers/sqlite_handler/__init__.py +20 -0
  1423. mindsdb/integrations/handlers/sqlite_handler/connection_args.py +16 -0
  1424. mindsdb/integrations/handlers/sqlite_handler/icon.svg +12 -0
  1425. mindsdb/integrations/handlers/sqlite_handler/sqlite_handler.py +184 -0
  1426. mindsdb/integrations/handlers/sqlite_handler/tests/__init__.py +0 -0
  1427. mindsdb/integrations/handlers/sqlite_handler/tests/test_sqlite_handler.py +32 -0
  1428. mindsdb/integrations/handlers/sqreamdb_handler/__about__.py +9 -0
  1429. mindsdb/integrations/handlers/sqreamdb_handler/__init__.py +20 -0
  1430. mindsdb/integrations/handlers/sqreamdb_handler/connection_args.py +48 -0
  1431. mindsdb/integrations/handlers/sqreamdb_handler/icon.svg +21 -0
  1432. mindsdb/integrations/handlers/sqreamdb_handler/requirements.txt +2 -0
  1433. mindsdb/integrations/handlers/sqreamdb_handler/sqreamdb_handler.py +154 -0
  1434. mindsdb/integrations/handlers/sqreamdb_handler/tests/__init__.py +0 -0
  1435. mindsdb/integrations/handlers/sqreamdb_handler/tests/test_sqreamdb_handler.py +45 -0
  1436. mindsdb/integrations/handlers/stabilityai_handler/__about__.py +9 -0
  1437. mindsdb/integrations/handlers/stabilityai_handler/__init__.py +19 -0
  1438. mindsdb/integrations/handlers/stabilityai_handler/icon.svg +10 -0
  1439. mindsdb/integrations/handlers/stabilityai_handler/requirements.txt +2 -0
  1440. mindsdb/integrations/handlers/stabilityai_handler/stabilityai.py +186 -0
  1441. mindsdb/integrations/handlers/stabilityai_handler/stabilityai_handler.py +172 -0
  1442. mindsdb/integrations/handlers/starrocks_handler/__about__.py +9 -0
  1443. mindsdb/integrations/handlers/starrocks_handler/__init__.py +20 -0
  1444. mindsdb/integrations/handlers/starrocks_handler/icon.svg +9 -0
  1445. mindsdb/integrations/handlers/starrocks_handler/requirements.txt +1 -0
  1446. mindsdb/integrations/handlers/starrocks_handler/starrocks_handler.py +48 -0
  1447. mindsdb/integrations/handlers/starrocks_handler/tests/__init__.py +0 -0
  1448. mindsdb/integrations/handlers/starrocks_handler/tests/test_starrocks_handler.py +56 -0
  1449. mindsdb/integrations/handlers/statsforecast_handler/__about__.py +9 -0
  1450. mindsdb/integrations/handlers/statsforecast_handler/__init__.py +19 -0
  1451. mindsdb/integrations/handlers/statsforecast_handler/icon.svg +5 -0
  1452. mindsdb/integrations/handlers/statsforecast_handler/requirements.txt +1 -0
  1453. mindsdb/integrations/handlers/statsforecast_handler/requirements_extra.txt +1 -0
  1454. mindsdb/integrations/handlers/statsforecast_handler/statsforecast_handler.py +192 -0
  1455. mindsdb/integrations/handlers/strapi_handler/__about__.py +9 -0
  1456. mindsdb/integrations/handlers/strapi_handler/__init__.py +28 -0
  1457. mindsdb/integrations/handlers/strapi_handler/icon.svg +7 -0
  1458. mindsdb/integrations/handlers/strapi_handler/strapi_handler.py +153 -0
  1459. mindsdb/integrations/handlers/strapi_handler/strapi_tables.py +131 -0
  1460. mindsdb/integrations/handlers/strapi_handler/tests/__init__.py +0 -0
  1461. mindsdb/integrations/handlers/strapi_handler/tests/test_strapi_handler.py +51 -0
  1462. mindsdb/integrations/handlers/strava_handler/__about__.py +9 -0
  1463. mindsdb/integrations/handlers/strava_handler/__init__.py +27 -0
  1464. mindsdb/integrations/handlers/strava_handler/icon.svg +12 -0
  1465. mindsdb/integrations/handlers/strava_handler/requirements.txt +1 -0
  1466. mindsdb/integrations/handlers/strava_handler/strava_handler.py +113 -0
  1467. mindsdb/integrations/handlers/strava_handler/strava_tables.py +247 -0
  1468. mindsdb/integrations/handlers/stripe_handler/__about__.py +9 -0
  1469. mindsdb/integrations/handlers/stripe_handler/__init__.py +27 -0
  1470. mindsdb/integrations/handlers/stripe_handler/icon.svg +4 -0
  1471. mindsdb/integrations/handlers/stripe_handler/requirements.txt +1 -0
  1472. mindsdb/integrations/handlers/stripe_handler/stripe_handler.py +102 -0
  1473. mindsdb/integrations/handlers/stripe_handler/stripe_tables.py +508 -0
  1474. mindsdb/integrations/handlers/supabase_handler/__about__.py +9 -0
  1475. mindsdb/integrations/handlers/supabase_handler/__init__.py +20 -0
  1476. mindsdb/integrations/handlers/supabase_handler/icon.svg +15 -0
  1477. mindsdb/integrations/handlers/supabase_handler/supabase_handler.py +11 -0
  1478. mindsdb/integrations/handlers/supabase_handler/tests/__init__.py +0 -0
  1479. mindsdb/integrations/handlers/supabase_handler/tests/test_supabase_handler.py +46 -0
  1480. mindsdb/integrations/handlers/surrealdb_handler/__about__.py +9 -0
  1481. mindsdb/integrations/handlers/surrealdb_handler/__init__.py +20 -0
  1482. mindsdb/integrations/handlers/surrealdb_handler/connection_args.py +52 -0
  1483. mindsdb/integrations/handlers/surrealdb_handler/icon.svg +9 -0
  1484. mindsdb/integrations/handlers/surrealdb_handler/requirements.txt +1 -0
  1485. mindsdb/integrations/handlers/surrealdb_handler/surrealdb_handler.py +196 -0
  1486. mindsdb/integrations/handlers/surrealdb_handler/tests/__init__.py +0 -0
  1487. mindsdb/integrations/handlers/surrealdb_handler/tests/test_surrealdb_handler.py +57 -0
  1488. mindsdb/integrations/handlers/surrealdb_handler/utils/__init__.py +0 -0
  1489. mindsdb/integrations/handlers/surrealdb_handler/utils/surreal_get_info.py +20 -0
  1490. mindsdb/integrations/handlers/symbl_handler/__about__.py +9 -0
  1491. mindsdb/integrations/handlers/symbl_handler/__init__.py +28 -0
  1492. mindsdb/integrations/handlers/symbl_handler/connection_args.py +25 -0
  1493. mindsdb/integrations/handlers/symbl_handler/icon.svg +4 -0
  1494. mindsdb/integrations/handlers/symbl_handler/requirements.txt +1 -0
  1495. mindsdb/integrations/handlers/symbl_handler/symbl_handler.py +106 -0
  1496. mindsdb/integrations/handlers/symbl_handler/symbl_tables.py +648 -0
  1497. mindsdb/integrations/handlers/tdengine_handler/__about__.py +9 -0
  1498. mindsdb/integrations/handlers/tdengine_handler/__init__.py +20 -0
  1499. mindsdb/integrations/handlers/tdengine_handler/connection_args.py +36 -0
  1500. mindsdb/integrations/handlers/tdengine_handler/icon.svg +59 -0
  1501. mindsdb/integrations/handlers/tdengine_handler/requirements.txt +1 -0
  1502. mindsdb/integrations/handlers/tdengine_handler/tdengine_handler.py +146 -0
  1503. mindsdb/integrations/handlers/tdengine_handler/tests/__init__.py +0 -0
  1504. mindsdb/integrations/handlers/tdengine_handler/tests/test_tdengine_handler.py +48 -0
  1505. mindsdb/integrations/handlers/teradata_handler/__about__.py +9 -0
  1506. mindsdb/integrations/handlers/teradata_handler/__init__.py +20 -0
  1507. mindsdb/integrations/handlers/teradata_handler/connection_args.py +39 -0
  1508. mindsdb/integrations/handlers/teradata_handler/icon.svg +4 -0
  1509. mindsdb/integrations/handlers/teradata_handler/requirements.txt +2 -0
  1510. mindsdb/integrations/handlers/teradata_handler/teradata_handler.py +245 -0
  1511. mindsdb/integrations/handlers/tidb_handler/__about__.py +9 -0
  1512. mindsdb/integrations/handlers/tidb_handler/__init__.py +21 -0
  1513. mindsdb/integrations/handlers/tidb_handler/connection_args.py +36 -0
  1514. mindsdb/integrations/handlers/tidb_handler/icon.svg +5 -0
  1515. mindsdb/integrations/handlers/tidb_handler/requirements.txt +1 -0
  1516. mindsdb/integrations/handlers/tidb_handler/tests/__init__.py +0 -0
  1517. mindsdb/integrations/handlers/tidb_handler/tests/test_tidb_handler.py +45 -0
  1518. mindsdb/integrations/handlers/tidb_handler/tidb_handler.py +11 -0
  1519. mindsdb/integrations/handlers/timegpt_handler/__about__.py +9 -0
  1520. mindsdb/integrations/handlers/timegpt_handler/__init__.py +18 -0
  1521. mindsdb/integrations/handlers/timegpt_handler/icon.svg +5 -0
  1522. mindsdb/integrations/handlers/timegpt_handler/requirements.txt +1 -0
  1523. mindsdb/integrations/handlers/timegpt_handler/timegpt_handler.py +205 -0
  1524. mindsdb/integrations/handlers/timescaledb_handler/__about__.py +9 -0
  1525. mindsdb/integrations/handlers/timescaledb_handler/__init__.py +19 -0
  1526. mindsdb/integrations/handlers/timescaledb_handler/icon.svg +9 -0
  1527. mindsdb/integrations/handlers/timescaledb_handler/tests/__init__.py +0 -0
  1528. mindsdb/integrations/handlers/timescaledb_handler/tests/test_timescaledb_handler.py +47 -0
  1529. mindsdb/integrations/handlers/timescaledb_handler/timescaledb_handler.py +46 -0
  1530. mindsdb/integrations/handlers/tpot_handler/__about__.py +9 -0
  1531. mindsdb/integrations/handlers/tpot_handler/__init__.py +19 -0
  1532. mindsdb/integrations/handlers/tpot_handler/icon.png +0 -0
  1533. mindsdb/integrations/handlers/tpot_handler/requirements.txt +2 -0
  1534. mindsdb/integrations/handlers/tpot_handler/tpot_handler.py +80 -0
  1535. mindsdb/integrations/handlers/trino_handler/__about__.py +9 -0
  1536. mindsdb/integrations/handlers/trino_handler/__init__.py +19 -0
  1537. mindsdb/integrations/handlers/trino_handler/icon.svg +23 -0
  1538. mindsdb/integrations/handlers/trino_handler/requirements.txt +2 -0
  1539. mindsdb/integrations/handlers/trino_handler/tests/__init__.py +0 -0
  1540. mindsdb/integrations/handlers/trino_handler/tests/test_trino_handler.py +48 -0
  1541. mindsdb/integrations/handlers/trino_handler/trino_config_provider.py +12 -0
  1542. mindsdb/integrations/handlers/trino_handler/trino_handler.py +182 -0
  1543. mindsdb/integrations/handlers/tripadvisor_handler/__about__.py +9 -0
  1544. mindsdb/integrations/handlers/tripadvisor_handler/__init__.py +27 -0
  1545. mindsdb/integrations/handlers/tripadvisor_handler/icon.svg +4 -0
  1546. mindsdb/integrations/handlers/tripadvisor_handler/tripadvisor_api.py +215 -0
  1547. mindsdb/integrations/handlers/tripadvisor_handler/tripadvisor_handler.py +275 -0
  1548. mindsdb/integrations/handlers/tripadvisor_handler/tripadvisor_table.py +477 -0
  1549. mindsdb/integrations/handlers/twelve_labs_handler/__about__.py +9 -0
  1550. mindsdb/integrations/handlers/twelve_labs_handler/__init__.py +19 -0
  1551. mindsdb/integrations/handlers/twelve_labs_handler/icon.svg +7 -0
  1552. mindsdb/integrations/handlers/twelve_labs_handler/requirements.txt +2 -0
  1553. mindsdb/integrations/handlers/twelve_labs_handler/settings.py +271 -0
  1554. mindsdb/integrations/handlers/twelve_labs_handler/twelve_labs_api_client.py +567 -0
  1555. mindsdb/integrations/handlers/twelve_labs_handler/twelve_labs_handler.py +285 -0
  1556. mindsdb/integrations/handlers/twilio_handler/__about__.py +9 -0
  1557. mindsdb/integrations/handlers/twilio_handler/__init__.py +21 -0
  1558. mindsdb/integrations/handlers/twilio_handler/icon.svg +11 -0
  1559. mindsdb/integrations/handlers/twilio_handler/requirements.txt +1 -0
  1560. mindsdb/integrations/handlers/twilio_handler/twilio_handler.py +385 -0
  1561. mindsdb/integrations/handlers/twitter_handler/__about__.py +9 -0
  1562. mindsdb/integrations/handlers/twitter_handler/__init__.py +21 -0
  1563. mindsdb/integrations/handlers/twitter_handler/icon.svg +10 -0
  1564. mindsdb/integrations/handlers/twitter_handler/requirements.txt +1 -0
  1565. mindsdb/integrations/handlers/twitter_handler/twitter_handler.py +471 -0
  1566. mindsdb/integrations/handlers/unify_handler/__about__.py +9 -0
  1567. mindsdb/integrations/handlers/unify_handler/__init__.py +22 -0
  1568. mindsdb/integrations/handlers/unify_handler/creation_args.py +14 -0
  1569. mindsdb/integrations/handlers/unify_handler/icon.svg +25 -0
  1570. mindsdb/integrations/handlers/unify_handler/model_using_args.py +5 -0
  1571. mindsdb/integrations/handlers/unify_handler/requirements.txt +1 -0
  1572. mindsdb/integrations/handlers/unify_handler/tests/__init__.py +0 -0
  1573. mindsdb/integrations/handlers/unify_handler/tests/test_unify_handler.py +60 -0
  1574. mindsdb/integrations/handlers/unify_handler/unify_handler.py +67 -0
  1575. mindsdb/integrations/handlers/vertex_handler/__about__.py +9 -0
  1576. mindsdb/integrations/handlers/vertex_handler/__init__.py +19 -0
  1577. mindsdb/integrations/handlers/vertex_handler/icon.png +0 -0
  1578. mindsdb/integrations/handlers/vertex_handler/requirements.txt +1 -0
  1579. mindsdb/integrations/handlers/vertex_handler/vertex_client.py +95 -0
  1580. mindsdb/integrations/handlers/vertex_handler/vertex_handler.py +87 -0
  1581. mindsdb/integrations/handlers/vertica_handler/__about__.py +9 -0
  1582. mindsdb/integrations/handlers/vertica_handler/__init__.py +20 -0
  1583. mindsdb/integrations/handlers/vertica_handler/connection_args.py +41 -0
  1584. mindsdb/integrations/handlers/vertica_handler/icon.svg +8 -0
  1585. mindsdb/integrations/handlers/vertica_handler/requirements.txt +2 -0
  1586. mindsdb/integrations/handlers/vertica_handler/tests/__init__.py +0 -0
  1587. mindsdb/integrations/handlers/vertica_handler/tests/test_vertica_handler.py +53 -0
  1588. mindsdb/integrations/handlers/vertica_handler/vertica_handler.py +160 -0
  1589. mindsdb/integrations/handlers/vitess_handler/__about__.py +9 -0
  1590. mindsdb/integrations/handlers/vitess_handler/__init__.py +20 -0
  1591. mindsdb/integrations/handlers/vitess_handler/icon.svg +23 -0
  1592. mindsdb/integrations/handlers/vitess_handler/requirements.txt +1 -0
  1593. mindsdb/integrations/handlers/vitess_handler/tests/__init__.py +0 -0
  1594. mindsdb/integrations/handlers/vitess_handler/tests/test_vitess_handler.py +56 -0
  1595. mindsdb/integrations/handlers/vitess_handler/vitess_handler.py +48 -0
  1596. mindsdb/integrations/handlers/weaviate_handler/__about__.py +9 -0
  1597. mindsdb/integrations/handlers/weaviate_handler/__init__.py +29 -0
  1598. mindsdb/integrations/handlers/weaviate_handler/connection_args.py +29 -0
  1599. mindsdb/integrations/handlers/weaviate_handler/icon.svg +197 -0
  1600. mindsdb/integrations/handlers/weaviate_handler/requirements.txt +1 -0
  1601. mindsdb/integrations/handlers/weaviate_handler/weaviate_handler.py +652 -0
  1602. mindsdb/integrations/handlers/web_handler/__about__.py +9 -0
  1603. mindsdb/integrations/handlers/web_handler/__init__.py +24 -0
  1604. mindsdb/integrations/handlers/web_handler/icon.svg +11 -0
  1605. mindsdb/integrations/handlers/web_handler/requirements.txt +3 -0
  1606. mindsdb/integrations/handlers/web_handler/urlcrawl_helpers.py +343 -0
  1607. mindsdb/integrations/handlers/web_handler/web_handler.py +91 -0
  1608. mindsdb/integrations/handlers/webz_handler/__about__.py +9 -0
  1609. mindsdb/integrations/handlers/webz_handler/__init__.py +28 -0
  1610. mindsdb/integrations/handlers/webz_handler/icon.svg +4 -0
  1611. mindsdb/integrations/handlers/webz_handler/requirements.txt +3 -0
  1612. mindsdb/integrations/handlers/webz_handler/webz_handler.py +175 -0
  1613. mindsdb/integrations/handlers/webz_handler/webz_tables.py +218 -0
  1614. mindsdb/integrations/handlers/whatsapp_handler/__about__.py +9 -0
  1615. mindsdb/integrations/handlers/whatsapp_handler/__init__.py +28 -0
  1616. mindsdb/integrations/handlers/whatsapp_handler/icon.svg +19 -0
  1617. mindsdb/integrations/handlers/whatsapp_handler/requirements.txt +1 -0
  1618. mindsdb/integrations/handlers/whatsapp_handler/whatsapp_handler.py +420 -0
  1619. mindsdb/integrations/handlers/writer_handler/__about__.py +9 -0
  1620. mindsdb/integrations/handlers/writer_handler/__init__.py +30 -0
  1621. mindsdb/integrations/handlers/writer_handler/evaluate.py +362 -0
  1622. mindsdb/integrations/handlers/writer_handler/icon.svg +10 -0
  1623. mindsdb/integrations/handlers/writer_handler/ingest.py +11 -0
  1624. mindsdb/integrations/handlers/writer_handler/rag.py +14 -0
  1625. mindsdb/integrations/handlers/writer_handler/requirements.txt +4 -0
  1626. mindsdb/integrations/handlers/writer_handler/settings.py +86 -0
  1627. mindsdb/integrations/handlers/writer_handler/writer_handler.py +188 -0
  1628. mindsdb/integrations/handlers/xata_handler/__about__.py +9 -0
  1629. mindsdb/integrations/handlers/xata_handler/__init__.py +29 -0
  1630. mindsdb/integrations/handlers/xata_handler/connection_args.py +35 -0
  1631. mindsdb/integrations/handlers/xata_handler/icon.svg +29 -0
  1632. mindsdb/integrations/handlers/xata_handler/requirements.txt +1 -0
  1633. mindsdb/integrations/handlers/xata_handler/tests/__init__.py +0 -0
  1634. mindsdb/integrations/handlers/xata_handler/xata_handler.py +347 -0
  1635. mindsdb/integrations/handlers/youtube_handler/__about__.py +9 -0
  1636. mindsdb/integrations/handlers/youtube_handler/__init__.py +27 -0
  1637. mindsdb/integrations/handlers/youtube_handler/icon.svg +11 -0
  1638. mindsdb/integrations/handlers/youtube_handler/requirements.txt +2 -0
  1639. mindsdb/integrations/handlers/youtube_handler/youtube_handler.py +164 -0
  1640. mindsdb/integrations/handlers/youtube_handler/youtube_tables.py +448 -0
  1641. mindsdb/integrations/handlers/yugabyte_handler/__about__.py +9 -0
  1642. mindsdb/integrations/handlers/yugabyte_handler/__init__.py +19 -0
  1643. mindsdb/integrations/handlers/yugabyte_handler/icon.svg +4 -0
  1644. mindsdb/integrations/handlers/yugabyte_handler/tests/__init__.py +0 -0
  1645. mindsdb/integrations/handlers/yugabyte_handler/tests/test_yugabyte_handler.py +49 -0
  1646. mindsdb/integrations/handlers/yugabyte_handler/yugabyte_handler.py +60 -0
  1647. mindsdb/integrations/handlers/zendesk_handler/__about__.py +9 -0
  1648. mindsdb/integrations/handlers/zendesk_handler/__init__.py +28 -0
  1649. mindsdb/integrations/handlers/zendesk_handler/connection_args.py +33 -0
  1650. mindsdb/integrations/handlers/zendesk_handler/icon.svg +1 -0
  1651. mindsdb/integrations/handlers/zendesk_handler/requirements.txt +1 -0
  1652. mindsdb/integrations/handlers/zendesk_handler/zendesk_handler.py +89 -0
  1653. mindsdb/integrations/handlers/zendesk_handler/zendesk_tables.py +463 -0
  1654. mindsdb/integrations/handlers/zipcodebase_handler/__about__.py +9 -0
  1655. mindsdb/integrations/handlers/zipcodebase_handler/__init__.py +28 -0
  1656. mindsdb/integrations/handlers/zipcodebase_handler/connection_args.py +18 -0
  1657. mindsdb/integrations/handlers/zipcodebase_handler/icon.svg +4 -0
  1658. mindsdb/integrations/handlers/zipcodebase_handler/tests/__init__.py +0 -0
  1659. mindsdb/integrations/handlers/zipcodebase_handler/zipcodebase.py +67 -0
  1660. mindsdb/integrations/handlers/zipcodebase_handler/zipcodebase_handler.py +107 -0
  1661. mindsdb/integrations/handlers/zipcodebase_handler/zipcodebase_tables.py +499 -0
  1662. mindsdb/integrations/handlers/zotero_handler/__about__.py +9 -0
  1663. mindsdb/integrations/handlers/zotero_handler/__init__.py +21 -0
  1664. mindsdb/integrations/handlers/zotero_handler/icon.svg +102 -0
  1665. mindsdb/integrations/handlers/zotero_handler/requirements.txt +1 -0
  1666. mindsdb/integrations/handlers/zotero_handler/zotero_handler.py +109 -0
  1667. mindsdb/integrations/handlers/zotero_handler/zotero_tables.py +157 -0
  1668. mindsdb/integrations/libs/__init__.py +3 -0
  1669. mindsdb/integrations/libs/api_handler.py +444 -0
  1670. mindsdb/integrations/libs/api_handler_exceptions.py +18 -0
  1671. mindsdb/integrations/libs/base.py +355 -0
  1672. mindsdb/integrations/libs/const.py +23 -0
  1673. mindsdb/integrations/libs/llm/__init__.py +0 -0
  1674. mindsdb/integrations/libs/llm/config.py +106 -0
  1675. mindsdb/integrations/libs/llm/utils.py +603 -0
  1676. mindsdb/integrations/libs/ml_exec_base.py +453 -0
  1677. mindsdb/integrations/libs/ml_handler_process/__init__.py +8 -0
  1678. mindsdb/integrations/libs/ml_handler_process/create_engine_process.py +28 -0
  1679. mindsdb/integrations/libs/ml_handler_process/create_validation_process.py +14 -0
  1680. mindsdb/integrations/libs/ml_handler_process/describe_process.py +117 -0
  1681. mindsdb/integrations/libs/ml_handler_process/func_call_process.py +26 -0
  1682. mindsdb/integrations/libs/ml_handler_process/handlers_cacher.py +28 -0
  1683. mindsdb/integrations/libs/ml_handler_process/learn_process.py +156 -0
  1684. mindsdb/integrations/libs/ml_handler_process/predict_process.py +35 -0
  1685. mindsdb/integrations/libs/ml_handler_process/update_engine_process.py +28 -0
  1686. mindsdb/integrations/libs/ml_handler_process/update_process.py +27 -0
  1687. mindsdb/integrations/libs/process_cache.py +430 -0
  1688. mindsdb/integrations/libs/realtime_chat_handler.py +33 -0
  1689. mindsdb/integrations/libs/response.py +95 -0
  1690. mindsdb/integrations/libs/storage_handler.py +88 -0
  1691. mindsdb/integrations/libs/vectordatabase_handler.py +534 -0
  1692. mindsdb/integrations/utilities/__init__.py +0 -0
  1693. mindsdb/integrations/utilities/datasets/__init__.py +0 -0
  1694. mindsdb/integrations/utilities/datasets/dataset.py +73 -0
  1695. mindsdb/integrations/utilities/datasets/question_answering/fda_style_qa.csv +21 -0
  1696. mindsdb/integrations/utilities/datasets/question_answering/squad_v2_val_100_sample.csv +106 -0
  1697. mindsdb/integrations/utilities/date_utils.py +79 -0
  1698. mindsdb/integrations/utilities/handler_utils.py +70 -0
  1699. mindsdb/integrations/utilities/handlers/__init__.py +0 -0
  1700. mindsdb/integrations/utilities/handlers/api_utilities/__init__.py +1 -0
  1701. mindsdb/integrations/utilities/handlers/api_utilities/microsoft/__init__.py +1 -0
  1702. mindsdb/integrations/utilities/handlers/api_utilities/microsoft/ms_graph_api_utilities.py +138 -0
  1703. mindsdb/integrations/utilities/handlers/auth_utilities/__init__.py +2 -0
  1704. mindsdb/integrations/utilities/handlers/auth_utilities/exceptions.py +11 -0
  1705. mindsdb/integrations/utilities/handlers/auth_utilities/google/__init__.py +2 -0
  1706. mindsdb/integrations/utilities/handlers/auth_utilities/google/google_service_account_oauth_utilities.py +59 -0
  1707. mindsdb/integrations/utilities/handlers/auth_utilities/google/google_user_oauth_utilities.py +108 -0
  1708. mindsdb/integrations/utilities/handlers/auth_utilities/microsoft/__init__.py +1 -0
  1709. mindsdb/integrations/utilities/handlers/auth_utilities/microsoft/ms_graph_api_auth_utilities.py +128 -0
  1710. mindsdb/integrations/utilities/handlers/query_utilities/__init__.py +4 -0
  1711. mindsdb/integrations/utilities/handlers/query_utilities/base_query_utilities.py +63 -0
  1712. mindsdb/integrations/utilities/handlers/query_utilities/delete_query_utilities.py +44 -0
  1713. mindsdb/integrations/utilities/handlers/query_utilities/exceptions.py +17 -0
  1714. mindsdb/integrations/utilities/handlers/query_utilities/insert_query_utilities.py +71 -0
  1715. mindsdb/integrations/utilities/handlers/query_utilities/select_query_utilities.py +134 -0
  1716. mindsdb/integrations/utilities/handlers/query_utilities/update_query_utilities.py +67 -0
  1717. mindsdb/integrations/utilities/handlers/validation_utilities/__init__.py +1 -0
  1718. mindsdb/integrations/utilities/handlers/validation_utilities/parameter_validation_utilities.py +18 -0
  1719. mindsdb/integrations/utilities/install.py +134 -0
  1720. mindsdb/integrations/utilities/query_traversal.py +239 -0
  1721. mindsdb/integrations/utilities/rag/__init__.py +0 -0
  1722. mindsdb/integrations/utilities/rag/chains/__init__.py +0 -0
  1723. mindsdb/integrations/utilities/rag/chains/map_reduce_summarizer_chain.py +218 -0
  1724. mindsdb/integrations/utilities/rag/config_loader.py +77 -0
  1725. mindsdb/integrations/utilities/rag/loaders/__init__.py +0 -0
  1726. mindsdb/integrations/utilities/rag/loaders/file_loader.py +44 -0
  1727. mindsdb/integrations/utilities/rag/loaders/vector_store_loader/MDBVectorStore.py +54 -0
  1728. mindsdb/integrations/utilities/rag/loaders/vector_store_loader/__init__.py +0 -0
  1729. mindsdb/integrations/utilities/rag/loaders/vector_store_loader/pgvector.py +84 -0
  1730. mindsdb/integrations/utilities/rag/loaders/vector_store_loader/vector_store_loader.py +60 -0
  1731. mindsdb/integrations/utilities/rag/pipelines/__init__.py +0 -0
  1732. mindsdb/integrations/utilities/rag/pipelines/rag.py +253 -0
  1733. mindsdb/integrations/utilities/rag/rag_pipeline_builder.py +83 -0
  1734. mindsdb/integrations/utilities/rag/rerankers/__init__.py +0 -0
  1735. mindsdb/integrations/utilities/rag/rerankers/reranker_compressor.py +156 -0
  1736. mindsdb/integrations/utilities/rag/retrievers/__init__.py +0 -0
  1737. mindsdb/integrations/utilities/rag/retrievers/auto_retriever.py +117 -0
  1738. mindsdb/integrations/utilities/rag/retrievers/base.py +10 -0
  1739. mindsdb/integrations/utilities/rag/retrievers/multi_vector_retriever.py +101 -0
  1740. mindsdb/integrations/utilities/rag/retrievers/sql_retriever.py +149 -0
  1741. mindsdb/integrations/utilities/rag/settings.py +511 -0
  1742. mindsdb/integrations/utilities/rag/splitters/__init__.py +0 -0
  1743. mindsdb/integrations/utilities/rag/splitters/file_splitter.py +132 -0
  1744. mindsdb/integrations/utilities/rag/utils.py +52 -0
  1745. mindsdb/integrations/utilities/rag/vector_store.py +99 -0
  1746. mindsdb/integrations/utilities/sql_utils.py +225 -0
  1747. mindsdb/integrations/utilities/test_utils.py +30 -0
  1748. mindsdb/integrations/utilities/time_series_utils.py +191 -0
  1749. mindsdb/integrations/utilities/utils.py +32 -0
  1750. mindsdb/interfaces/__init__.py +1 -0
  1751. mindsdb/interfaces/agents/__init__.py +0 -0
  1752. mindsdb/interfaces/agents/agents_controller.py +435 -0
  1753. mindsdb/interfaces/agents/callback_handlers.py +130 -0
  1754. mindsdb/interfaces/agents/constants.py +179 -0
  1755. mindsdb/interfaces/agents/langchain_agent.py +676 -0
  1756. mindsdb/interfaces/agents/langfuse_callback_handler.py +163 -0
  1757. mindsdb/interfaces/agents/mindsdb_chat_model.py +196 -0
  1758. mindsdb/interfaces/agents/mindsdb_database_agent.py +54 -0
  1759. mindsdb/interfaces/agents/safe_output_parser.py +51 -0
  1760. mindsdb/interfaces/chatbot/__init__.py +1 -0
  1761. mindsdb/interfaces/chatbot/chatbot_controller.py +409 -0
  1762. mindsdb/interfaces/chatbot/chatbot_executor.py +226 -0
  1763. mindsdb/interfaces/chatbot/chatbot_task.py +174 -0
  1764. mindsdb/interfaces/chatbot/memory.py +223 -0
  1765. mindsdb/interfaces/chatbot/model_executor.py +107 -0
  1766. mindsdb/interfaces/chatbot/polling.py +233 -0
  1767. mindsdb/interfaces/chatbot/types.py +38 -0
  1768. mindsdb/interfaces/database/__init__.py +0 -0
  1769. mindsdb/interfaces/database/database.py +122 -0
  1770. mindsdb/interfaces/database/integrations.py +931 -0
  1771. mindsdb/interfaces/database/log.py +297 -0
  1772. mindsdb/interfaces/database/projects.py +397 -0
  1773. mindsdb/interfaces/database/views.py +139 -0
  1774. mindsdb/interfaces/file/__init__.py +0 -0
  1775. mindsdb/interfaces/file/file_controller.py +146 -0
  1776. mindsdb/interfaces/functions/__init__.py +0 -0
  1777. mindsdb/interfaces/functions/controller.py +207 -0
  1778. mindsdb/interfaces/jobs/__init__.py +0 -0
  1779. mindsdb/interfaces/jobs/jobs_controller.py +549 -0
  1780. mindsdb/interfaces/jobs/scheduler.py +143 -0
  1781. mindsdb/interfaces/knowledge_base/__init__.py +0 -0
  1782. mindsdb/interfaces/knowledge_base/controller.py +899 -0
  1783. mindsdb/interfaces/knowledge_base/preprocessing/__init__.py +0 -0
  1784. mindsdb/interfaces/knowledge_base/preprocessing/constants.py +13 -0
  1785. mindsdb/interfaces/knowledge_base/preprocessing/document_loader.py +176 -0
  1786. mindsdb/interfaces/knowledge_base/preprocessing/document_preprocessor.py +401 -0
  1787. mindsdb/interfaces/knowledge_base/preprocessing/models.py +108 -0
  1788. mindsdb/interfaces/model/__init__.py +0 -0
  1789. mindsdb/interfaces/model/functions.py +155 -0
  1790. mindsdb/interfaces/model/model_controller.py +488 -0
  1791. mindsdb/interfaces/query_context/__init__.py +0 -0
  1792. mindsdb/interfaces/query_context/context_controller.py +289 -0
  1793. mindsdb/interfaces/query_context/last_query.py +266 -0
  1794. mindsdb/interfaces/skills/__init__.py +1 -0
  1795. mindsdb/interfaces/skills/custom/__init__.py +0 -0
  1796. mindsdb/interfaces/skills/custom/text2sql/__init__.py +0 -0
  1797. mindsdb/interfaces/skills/custom/text2sql/mindsdb_sql_tool.py +37 -0
  1798. mindsdb/interfaces/skills/custom/text2sql/mindsdb_sql_toolkit.py +88 -0
  1799. mindsdb/interfaces/skills/retrieval_tool.py +110 -0
  1800. mindsdb/interfaces/skills/skill_tool.py +255 -0
  1801. mindsdb/interfaces/skills/skills_controller.py +175 -0
  1802. mindsdb/interfaces/skills/sql_agent.py +256 -0
  1803. mindsdb/interfaces/storage/__init__.py +1 -0
  1804. mindsdb/interfaces/storage/db.py +597 -0
  1805. mindsdb/interfaces/storage/fs.py +661 -0
  1806. mindsdb/interfaces/storage/json.py +97 -0
  1807. mindsdb/interfaces/storage/model_fs.py +282 -0
  1808. mindsdb/interfaces/tabs/__init__.py +0 -0
  1809. mindsdb/interfaces/tabs/tabs_controller.py +291 -0
  1810. mindsdb/interfaces/tasks/__init__.py +0 -0
  1811. mindsdb/interfaces/tasks/task.py +16 -0
  1812. mindsdb/interfaces/tasks/task_monitor.py +150 -0
  1813. mindsdb/interfaces/tasks/task_thread.py +55 -0
  1814. mindsdb/interfaces/triggers/__init__.py +0 -0
  1815. mindsdb/interfaces/triggers/trigger_task.py +95 -0
  1816. mindsdb/interfaces/triggers/triggers_controller.py +167 -0
  1817. mindsdb/metrics/__init__.py +0 -0
  1818. mindsdb/metrics/metrics.py +50 -0
  1819. mindsdb/metrics/server.py +26 -0
  1820. mindsdb/migrations/__init__.py +0 -0
  1821. mindsdb/migrations/alembic.ini +65 -0
  1822. mindsdb/migrations/env.py +87 -0
  1823. mindsdb/migrations/migrate.py +53 -0
  1824. mindsdb/migrations/versions/2021-11-30_17c3d2384711_init.py +178 -0
  1825. mindsdb/migrations/versions/2022-01-26_47f97b83cee4_views.py +38 -0
  1826. mindsdb/migrations/versions/2022-02-09_27c5aca9e47e_db_files.py +256 -0
  1827. mindsdb/migrations/versions/2022-05-25_d74c189b87e6_predictor_integration.py +156 -0
  1828. mindsdb/migrations/versions/2022-07-08_999bceb904df_integration_args.py +106 -0
  1829. mindsdb/migrations/versions/2022-07-15_b5b53e0ea7f8_training_data_rows_columns_count.py +29 -0
  1830. mindsdb/migrations/versions/2022-07-22_6e834843e7e9_training_time.py +33 -0
  1831. mindsdb/migrations/versions/2022-08-19_976f15a37e6a_predictors_versioning.py +42 -0
  1832. mindsdb/migrations/versions/2022-08-25_6a54ba55872e_view_integration.py +36 -0
  1833. mindsdb/migrations/versions/2022-08-29_473e8f239481_straighten.py +81 -0
  1834. mindsdb/migrations/versions/2022-09-06_96d5fef10caa_data_integration_id.py +69 -0
  1835. mindsdb/migrations/versions/2022-09-08_87b2df2b83e1_predictor_status.py +74 -0
  1836. mindsdb/migrations/versions/2022-09-19_3d5e70105df7_content_storage.py +59 -0
  1837. mindsdb/migrations/versions/2022-09-29_cada7d2be947_json_storage.py +90 -0
  1838. mindsdb/migrations/versions/2022-10-14_43c52d23845a_projects.py +115 -0
  1839. mindsdb/migrations/versions/2022-11-07_1e60096fc817_predictor_version.py +66 -0
  1840. mindsdb/migrations/versions/2022-11-11_d429095b570f_data_integration_id.py +106 -0
  1841. mindsdb/migrations/versions/2022-12-26_459218b0844c_fix_unique_constraint.py +34 -0
  1842. mindsdb/migrations/versions/2023-02-02_b6d0a47294ac_jobs.py +56 -0
  1843. mindsdb/migrations/versions/2023-02-17_ee63d868fa84_predictor_integration_null.py +42 -0
  1844. mindsdb/migrations/versions/2023-02-25_3154382dab17_training_progress.py +36 -0
  1845. mindsdb/migrations/versions/2023-02-27_ef04cdbe51ed_jobs_user_class.py +33 -0
  1846. mindsdb/migrations/versions/2023-04-11_b8be148dbc85_jobs_history_query.py +35 -0
  1847. mindsdb/migrations/versions/2023-05-24_6d748f2c7b0b_remove_streams.py +46 -0
  1848. mindsdb/migrations/versions/2023-05-31_aaecd7012a78_chatbot.py +41 -0
  1849. mindsdb/migrations/versions/2023-06-16_9d6271bb2c38_update_chat_bots_table.py +28 -0
  1850. mindsdb/migrations/versions/2023-06-19_b5bf593ba659_create_chat_bots_history_table.py +35 -0
  1851. mindsdb/migrations/versions/2023-06-27_607709e1615b_update_project_names.py +60 -0
  1852. mindsdb/migrations/versions/2023-07-13_a57506731839_triggers.py +54 -0
  1853. mindsdb/migrations/versions/2023-07-19_ad04ee0bd385_chatbot_to_task.py +38 -0
  1854. mindsdb/migrations/versions/2023-08-29_b0382f5be48d_predictor_hostname.py +26 -0
  1855. mindsdb/migrations/versions/2023-08-31_4c26ad04eeaa_add_skills_table.py +32 -0
  1856. mindsdb/migrations/versions/2023-09-06_d44ab65a6a35_add_agents_table.py +35 -0
  1857. mindsdb/migrations/versions/2023-09-06_e187961e844a_add_agent_skills_table.py +29 -0
  1858. mindsdb/migrations/versions/2023-09-18_011e6f2dd9c2_backfill_agent_id.py +82 -0
  1859. mindsdb/migrations/versions/2023-09-18_f16d4ab03091_add_agent_id.py +28 -0
  1860. mindsdb/migrations/versions/2023-09-20_309db3d07cf4_add_knowledge_base.py +54 -0
  1861. mindsdb/migrations/versions/2023-10-03_6cb02dfd7f61_query_context.py +38 -0
  1862. mindsdb/migrations/versions/2023-11-01_c67822e96833_jobs_active.py +33 -0
  1863. mindsdb/migrations/versions/2023-12-25_4b3c9d63e89c_predictor_index.py +44 -0
  1864. mindsdb/migrations/versions/2024-02-02_5a5c49313e52_job_condition.py +32 -0
  1865. mindsdb/migrations/versions/2024-02-12_9461892bd889_llm_log.py +44 -0
  1866. mindsdb/migrations/versions/2024-04-25_2958416fbe75_drop_semaphor.py +36 -0
  1867. mindsdb/migrations/versions/2024-06-06_cbedc4968d5d_store_llm_data.py +34 -0
  1868. mindsdb/migrations/versions/2024-07-09_bfc6f44f5bc9_agent_model_optional.py +50 -0
  1869. mindsdb/migrations/versions/2024-07-19_45eb2eb61f70_add_provider_to_agent.py +47 -0
  1870. mindsdb/migrations/versions/2024-08-12_8e17ff6b75e9_agents_deleted_at.py +42 -0
  1871. mindsdb/migrations/versions/2024-10-07_6c57ed39a82b_added_webhook_token_to_chat_bots.py +27 -0
  1872. mindsdb/migrations/versions/2024-11-15_9d559f68d535_add_llm_log_columns.py +41 -0
  1873. mindsdb/migrations/versions/2024-11-19_0f89b523f346_agent_skills_parameters.py +28 -0
  1874. mindsdb/migrations/versions/2024-11-28_a8a3fac369e7_llm_log_json_in_out.py +103 -0
  1875. mindsdb/migrations/versions/2024-11-29_f6dc924079fa_predictor_training_metadata.py +44 -0
  1876. mindsdb/migrations/versions/__init__.py +0 -0
  1877. mindsdb/utilities/__init__.py +0 -0
  1878. mindsdb/utilities/auth.py +73 -0
  1879. mindsdb/utilities/cache.py +282 -0
  1880. mindsdb/utilities/config.py +530 -0
  1881. mindsdb/utilities/context.py +57 -0
  1882. mindsdb/utilities/context_executor.py +59 -0
  1883. mindsdb/utilities/exception.py +29 -0
  1884. mindsdb/utilities/fs.py +153 -0
  1885. mindsdb/utilities/functions.py +197 -0
  1886. mindsdb/utilities/hooks/__init__.py +34 -0
  1887. mindsdb/utilities/hooks/profiling.py +74 -0
  1888. mindsdb/utilities/json_encoder.py +33 -0
  1889. mindsdb/utilities/log.py +97 -0
  1890. mindsdb/utilities/log_controller.py +39 -0
  1891. mindsdb/utilities/ml_task_queue/__init__.py +57 -0
  1892. mindsdb/utilities/ml_task_queue/base.py +14 -0
  1893. mindsdb/utilities/ml_task_queue/const.py +26 -0
  1894. mindsdb/utilities/ml_task_queue/consumer.py +252 -0
  1895. mindsdb/utilities/ml_task_queue/producer.py +81 -0
  1896. mindsdb/utilities/ml_task_queue/task.py +82 -0
  1897. mindsdb/utilities/ml_task_queue/utils.py +124 -0
  1898. mindsdb/utilities/otel.py +72 -0
  1899. mindsdb/utilities/profiler/__init__.py +19 -0
  1900. mindsdb/utilities/profiler/profiler.py +144 -0
  1901. mindsdb/utilities/ps.py +78 -0
  1902. mindsdb/utilities/render/__init__.py +0 -0
  1903. mindsdb/utilities/render/sqlalchemy_render.py +831 -0
  1904. mindsdb/utilities/security.py +54 -0
  1905. mindsdb/utilities/sentry.py +46 -0
  1906. mindsdb/utilities/starters.py +33 -0
  1907. mindsdb/utilities/telemetry.py +44 -0
  1908. mindsdb/utilities/wizards.py +49 -0
  1909. MindsDB-1.3.1.dist-info/LICENSE +0 -21
  1910. MindsDB-1.3.1.dist-info/METADATA +0 -112
  1911. MindsDB-1.3.1.dist-info/RECORD +0 -55
  1912. mindsdb/config/__init__.py +0 -32
  1913. mindsdb/config/helpers.py +0 -21
  1914. mindsdb/external_libs/stats.py +0 -61
  1915. mindsdb/libs/__init__.py +0 -6
  1916. mindsdb/libs/backends/lightwood.py +0 -180
  1917. mindsdb/libs/backends/ludwig.py +0 -456
  1918. mindsdb/libs/constants/mindsdb.py +0 -81
  1919. mindsdb/libs/controllers/predictor.py +0 -583
  1920. mindsdb/libs/controllers/transaction.py +0 -254
  1921. mindsdb/libs/data_sources/file_ds.py +0 -196
  1922. mindsdb/libs/data_types/data_source.py +0 -59
  1923. mindsdb/libs/data_types/mindsdb_logger.py +0 -127
  1924. mindsdb/libs/data_types/probability_evaluation.py +0 -56
  1925. mindsdb/libs/data_types/transaction_data.py +0 -15
  1926. mindsdb/libs/data_types/transaction_output_data.py +0 -29
  1927. mindsdb/libs/data_types/transaction_output_row.py +0 -35
  1928. mindsdb/libs/helpers/explain_prediction.py +0 -114
  1929. mindsdb/libs/helpers/file_helpers.py +0 -66
  1930. mindsdb/libs/helpers/general_helpers.py +0 -276
  1931. mindsdb/libs/helpers/multi_data_source.py +0 -28
  1932. mindsdb/libs/helpers/parser.py +0 -161
  1933. mindsdb/libs/helpers/probabilistic_validator.py +0 -198
  1934. mindsdb/libs/helpers/sqlite_helpers.py +0 -33
  1935. mindsdb/libs/helpers/text_helpers.py +0 -79
  1936. mindsdb/libs/helpers/train_helpers.py +0 -4
  1937. mindsdb/libs/phases/base_module.py +0 -62
  1938. mindsdb/libs/phases/data_extractor/data_extractor.py +0 -233
  1939. mindsdb/libs/phases/data_transformer/data_transformer.py +0 -103
  1940. mindsdb/libs/phases/model_analyzer/helpers/column_evaluator.py +0 -120
  1941. mindsdb/libs/phases/model_analyzer/model_analyzer.py +0 -119
  1942. mindsdb/libs/phases/model_interface/model_interface.py +0 -31
  1943. mindsdb/libs/phases/stats_generator/scores.py +0 -377
  1944. mindsdb/libs/phases/stats_generator/stats_generator.py +0 -691
  1945. mindsdb/scraps.py +0 -133
  1946. {MindsDB-1.3.1.dist-info → MindsDB-25.1.2.0.dist-info}/top_level.txt +0 -0
  1947. /mindsdb/{external_libs → api}/__init__.py +0 -0
  1948. /mindsdb/{libs/backends → api/common}/__init__.py +0 -0
  1949. /mindsdb/{libs/constants → api/executor/data_types}/__init__.py +0 -0
  1950. /mindsdb/{libs/controllers → api/executor/datahub/classes}/__init__.py +0 -0
  1951. /mindsdb/{libs/data_sources → api/executor/sql_query}/__init__.py +0 -0
  1952. /mindsdb/{libs/data_types → api/executor/utilities}/__init__.py +0 -0
  1953. /mindsdb/{libs/helpers → api/http}/__init__.py +0 -0
  1954. /mindsdb/{libs/phases → api/http/namespaces}/__init__.py +0 -0
  1955. /mindsdb/{libs/phases/data_extractor → api/http/namespaces/configs}/__init__.py +0 -0
  1956. /mindsdb/{libs/phases/data_transformer → api/mongo}/__init__.py +0 -0
  1957. /mindsdb/{libs/phases/model_analyzer → api/mongo/utilities}/__init__.py +0 -0
  1958. /mindsdb/{libs/phases/model_analyzer/helpers → api/mysql}/__init__.py +0 -0
  1959. /mindsdb/{libs/phases/model_interface → api/mysql/mysql_proxy}/__init__.py +0 -0
  1960. /mindsdb/{libs/phases/stats_generator → api/mysql/mysql_proxy/classes}/__init__.py +0 -0
@@ -0,0 +1,479 @@
1
+ import json
2
+ from dataclasses import dataclass
3
+ from functools import lru_cache, partial
4
+ from typing import Any, Dict, List, Union, Optional
5
+
6
+ import html2text
7
+ import openai
8
+ import pandas as pd
9
+ import requests
10
+ import writer
11
+ from langchain_community.embeddings.huggingface import HuggingFaceEmbeddings
12
+ from langchain_community.llms import Writer
13
+ from langchain_community.document_loaders import DataFrameLoader
14
+ from langchain_community.vectorstores import FAISS, Chroma
15
+ from pydantic import BaseModel, Extra, Field, field_validator, ValidationInfo
16
+
17
+
18
+ from mindsdb.integrations.handlers.chromadb_handler.chromadb_handler import get_chromadb
19
+ from mindsdb.integrations.handlers.rag_handler.exceptions import (
20
+ InvalidOpenAIModel,
21
+ InvalidPromptTemplate,
22
+ InvalidWriterModel,
23
+ UnsupportedLLM,
24
+ UnsupportedVectorStore,
25
+ )
26
+ from langchain_core.callbacks import StreamingStdOutCallbackHandler
27
+ from langchain_core.documents import Document
28
+ from langchain_core.embeddings import Embeddings
29
+ from langchain_core.vectorstores import VectorStore
30
+
31
+ DEFAULT_EMBEDDINGS_MODEL = "BAAI/bge-base-en"
32
+
33
+ SUPPORTED_VECTOR_STORES = ("chromadb", "faiss")
34
+
35
+ SUPPORTED_LLMS = ("writer", "openai")
36
+
37
+ ## Default parameters for RAG Handler
38
+
39
+ # this is the default prompt template for qa
40
+ DEFAULT_QA_PROMPT_TEMPLATE = """
41
+ Use the following pieces of context to answer the question at the end. If you do not know the answer,
42
+ just say that you do not know, do not try to make up an answer.
43
+ Context: {context}
44
+ Question: {question}
45
+ Helpful Answer:"""
46
+
47
+ # this is the default prompt template for if the user wants to summarize the context before qa prompt
48
+ DEFAULT_SUMMARIZATION_PROMPT_TEMPLATE = """
49
+ Summarize the following texts for me:
50
+ {context}
51
+
52
+ When summarizing, please keep the following in mind the following question:
53
+ {question}
54
+ """
55
+
56
+ DEFAULT_CHUNK_SIZE = 750
57
+ DEFAULT_CHUNK_OVERLAP = 250
58
+ DEFAULT_VECTOR_STORE_NAME = "chromadb"
59
+ DEFAULT_VECTOR_STORE_COLLECTION_NAME = "collection"
60
+ MAX_EMBEDDINGS_BATCH_SIZE = 2000
61
+
62
+ chromadb = get_chromadb()
63
+
64
+
65
+ def is_valid_store(name) -> bool:
66
+ return name in SUPPORTED_VECTOR_STORES
67
+
68
+
69
+ class VectorStoreFactory:
70
+ """Factory class for vector stores"""
71
+
72
+ @staticmethod
73
+ def get_vectorstore_class(name) -> Union[FAISS, Chroma, VectorStore]:
74
+
75
+ if not isinstance(name, str):
76
+ raise TypeError("name must be a string")
77
+
78
+ if not is_valid_store(name):
79
+ raise ValueError(f"Invalid vector store {name}")
80
+
81
+ if name == "faiss":
82
+ return FAISS
83
+
84
+ if name == "chromadb":
85
+ return Chroma
86
+
87
+
88
+ def get_chroma_client(persist_directory: str) -> chromadb.PersistentClient:
89
+ """Get Chroma client"""
90
+ return chromadb.PersistentClient(path=persist_directory)
91
+
92
+
93
+ def get_available_writer_model_ids(args: ValidationInfo) -> list:
94
+ """Get available writer LLM model ids"""
95
+
96
+ args = args.data
97
+
98
+ writer_client = writer.Writer(
99
+ api_key=args["writer_api_key"],
100
+ organization_id=args["writer_org_id"],
101
+ )
102
+
103
+ res = writer_client.models.list(organization_id=args["writer_org_id"])
104
+
105
+ available_models_dict = json.loads(res.raw_response.text)
106
+
107
+ return [model["id"] for model in available_models_dict["models"]]
108
+
109
+
110
+ def get_available_openai_model_ids(args: ValidationInfo) -> list:
111
+ """Get available openai LLM model ids"""
112
+
113
+ args = args.data
114
+
115
+ models = openai.OpenAI(api_key=args["openai_api_key"], base_url=args.get("base_url")).models.list().data
116
+
117
+ return [models.id for models in models]
118
+
119
+
120
+ @dataclass
121
+ class PersistedVectorStoreSaverConfig:
122
+ vector_store_name: str
123
+ persist_directory: str
124
+ collection_name: str
125
+ vector_store: VectorStore
126
+
127
+
128
+ @dataclass
129
+ class PersistedVectorStoreLoaderConfig:
130
+ vector_store_name: str
131
+ embeddings_model: Embeddings
132
+ persist_directory: str
133
+ collection_name: str
134
+
135
+
136
+ class PersistedVectorStoreSaver:
137
+ """Saves vector store to disk"""
138
+
139
+ def __init__(self, config: PersistedVectorStoreSaverConfig):
140
+ self.config = config
141
+
142
+ def save_vector_store(self, vector_store: VectorStore):
143
+ method_name = f"save_{self.config.vector_store_name}"
144
+ getattr(self, method_name)(vector_store)
145
+
146
+ def save_chromadb(self, vector_store: Chroma):
147
+ """Save Chroma vector store to disk"""
148
+ # no need to save chroma vector store to disk, auto save
149
+ pass
150
+
151
+ def save_faiss(self, vector_store: FAISS):
152
+ vector_store.save_local(
153
+ folder_path=self.config.persist_directory,
154
+ index_name=self.config.collection_name,
155
+ )
156
+
157
+
158
+ class PersistedVectorStoreLoader:
159
+ """Loads vector store from disk"""
160
+
161
+ def __init__(self, config: PersistedVectorStoreLoaderConfig):
162
+ self.config = config
163
+
164
+ def load_vector_store_client(
165
+ self,
166
+ vector_store: str,
167
+ ):
168
+ """Load vector store from the persisted vector store"""
169
+
170
+ if vector_store == "chromadb":
171
+
172
+ return Chroma(
173
+ collection_name=self.config.collection_name,
174
+ embedding_function=self.config.embeddings_model,
175
+ client=get_chroma_client(self.config.persist_directory),
176
+ )
177
+
178
+ elif vector_store == "faiss":
179
+
180
+ return FAISS.load_local(
181
+ folder_path=self.config.persist_directory,
182
+ embeddings=self.config.embeddings_model,
183
+ index_name=self.config.collection_name,
184
+ allow_dangerous_deserialization=True
185
+ )
186
+
187
+ else:
188
+ raise NotImplementedError(f"{vector_store} client is not yet supported")
189
+
190
+ def load_vector_store(self) -> VectorStore:
191
+ """Load vector store from the persisted vector store"""
192
+ method_name = f"load_{self.config.vector_store_name}"
193
+ return getattr(self, method_name)()
194
+
195
+ def load_chromadb(self) -> Chroma:
196
+ """Load Chroma vector store from the persisted vector store"""
197
+ return self.load_vector_store_client(vector_store="chromadb")
198
+
199
+ def load_faiss(self) -> FAISS:
200
+ """Load FAISS vector store from the persisted vector store"""
201
+ return self.load_vector_store_client(vector_store="faiss")
202
+
203
+
204
+ class LLMParameters(BaseModel):
205
+ """Model parameters for the LLM API interface"""
206
+
207
+ llm_name: str = Field(default_factory=str, title="LLM API name")
208
+ max_tokens: int = Field(default=100, title="max tokens in response")
209
+ temperature: float = Field(default=0.0, title="temperature")
210
+ base_url: Optional[str] = None
211
+ top_p: float = 1
212
+ best_of: int = 5
213
+ stop: Optional[List[str]] = None
214
+
215
+ class Config:
216
+ extra = Extra.forbid
217
+ arbitrary_types_allowed = True
218
+ use_enum_values = True
219
+ protected_namespaces = ()
220
+
221
+
222
+ class OpenAIParameters(LLMParameters):
223
+ """Model parameters for the LLM API interface"""
224
+
225
+ openai_api_key: str
226
+ model_id: str = Field(default="gpt-3.5-turbo-instruct", title="model name")
227
+ n: int = Field(default=1, title="number of responses to return")
228
+
229
+ @field_validator("model_id", mode="after")
230
+ def openai_model_must_be_supported(cls, v, values):
231
+ supported_models = get_available_openai_model_ids(values)
232
+ if v not in supported_models:
233
+ raise InvalidOpenAIModel(
234
+ f"'model_id' must be one of {supported_models}, got {v}"
235
+ )
236
+ return v
237
+
238
+
239
+ class WriterLLMParameters(LLMParameters):
240
+ """Model parameters for the Writer LLM API interface"""
241
+
242
+ writer_api_key: str
243
+ writer_org_id: Optional[str] = None
244
+ model_id: str = "palmyra-x"
245
+ callbacks: List[StreamingStdOutCallbackHandler] = [StreamingStdOutCallbackHandler()]
246
+ verbose: bool = False
247
+
248
+ @field_validator("model_id")
249
+ def writer_model_must_be_supported(cls, v, values):
250
+ supported_models = get_available_writer_model_ids(values)
251
+ if v not in supported_models:
252
+ raise InvalidWriterModel(
253
+ f"'model_id' must be one of {supported_models}, got {v}"
254
+ )
255
+ return v
256
+
257
+
258
+ class LLMLoader(BaseModel):
259
+ llm_config: dict
260
+ config_dict: dict = None
261
+
262
+ def load_llm(self) -> Union[Writer, partial]:
263
+ """Load LLM"""
264
+ method_name = f"load_{self.llm_config['llm_name']}_llm"
265
+ self.config_dict = self.llm_config.copy()
266
+ self.config_dict.pop("llm_name")
267
+ return getattr(self, method_name)()
268
+
269
+ def load_writer_llm(self) -> Writer:
270
+ """Load Writer LLM API interface"""
271
+ return Writer(**self.config_dict)
272
+
273
+ def load_openai_llm(self) -> partial:
274
+ """Load OpenAI LLM API interface"""
275
+ client = openai.OpenAI(api_key=self.config_dict["openai_api_key"], base_url=self.config_dict["base_url"])
276
+ config = self.config_dict.copy()
277
+ keys_to_remove = ["openai_api_key", "base_url"]
278
+ for key in keys_to_remove:
279
+ config.pop(key)
280
+ config["model"] = config.pop("model_id")
281
+
282
+ return partial(client.completions.create, **config)
283
+
284
+
285
+ class RAGBaseParameters(BaseModel):
286
+ """Base model parameters for RAG Handler"""
287
+
288
+ llm_params: Any
289
+ vector_store_folder_name: str
290
+ input_column: str
291
+ use_gpu: bool = False
292
+ embeddings_batch_size: int = MAX_EMBEDDINGS_BATCH_SIZE # not used, leaving in place to prevent breaking changes
293
+ prompt_template: str = DEFAULT_QA_PROMPT_TEMPLATE
294
+ chunk_size: int = DEFAULT_CHUNK_SIZE
295
+ chunk_overlap: int = DEFAULT_CHUNK_OVERLAP
296
+ url: Optional[Union[str, List[str]]] = None
297
+ url_column_name: Optional[str] = None
298
+ run_embeddings: Optional[bool] = True
299
+ top_k: int = 4
300
+ embeddings_model: Optional[Embeddings] = None
301
+ embeddings_model_name: str = DEFAULT_EMBEDDINGS_MODEL
302
+ context_columns: Optional[Union[List[str], str]] = None
303
+ vector_store_name: str = DEFAULT_VECTOR_STORE_NAME
304
+ vector_store: Optional[VectorStore] = None
305
+ collection_name: str = DEFAULT_VECTOR_STORE_COLLECTION_NAME
306
+ summarize_context: bool = True
307
+ summarization_prompt_template: str = DEFAULT_SUMMARIZATION_PROMPT_TEMPLATE
308
+ vector_store_storage_path: Optional[str] = Field(
309
+ default=None, title="don't use this field, it's for internal use only"
310
+ )
311
+
312
+ class Config:
313
+ extra = Extra.forbid
314
+ arbitrary_types_allowed = True
315
+ use_enum_values = True
316
+
317
+ @field_validator("prompt_template")
318
+ def prompt_format_must_be_valid(cls, v):
319
+ if "{context}" not in v or "{question}" not in v:
320
+ raise InvalidPromptTemplate(
321
+ "prompt_template must contain {context} and {question}"
322
+ f"\n For example, {DEFAULT_QA_PROMPT_TEMPLATE}"
323
+ )
324
+ return v
325
+
326
+ @field_validator("vector_store_name")
327
+ def name_must_be_lower(cls, v):
328
+ return v.lower()
329
+
330
+ @field_validator("vector_store_name")
331
+ def vector_store_must_be_supported(cls, v):
332
+ if not is_valid_store(v):
333
+ raise UnsupportedVectorStore(
334
+ f"we don't support {v}. currently we only support {', '.join(str(v) for v in SUPPORTED_VECTOR_STORES)} vector store"
335
+ )
336
+ return v
337
+
338
+
339
+ class RAGHandlerParameters(RAGBaseParameters):
340
+ """Model parameters for create model"""
341
+
342
+ llm_type: str
343
+ llm_params: LLMParameters
344
+
345
+ @field_validator("llm_type")
346
+ def llm_type_must_be_supported(cls, v):
347
+ if v not in SUPPORTED_LLMS:
348
+ raise UnsupportedLLM(f"'llm_type' must be one of {SUPPORTED_LLMS}, got {v}")
349
+ return v
350
+
351
+
352
+ class DfLoader(DataFrameLoader):
353
+ """
354
+ override the load method of langchain.document_loaders.DataFrameLoaders to ignore rows with 'None' values
355
+ """
356
+
357
+ def __init__(self, data_frame: pd.DataFrame, page_content_column: str):
358
+ super().__init__(data_frame=data_frame, page_content_column=page_content_column)
359
+ self._data_frame = data_frame
360
+ self._page_content_column = page_content_column
361
+
362
+ def load(self) -> List[Document]:
363
+ """Loads the dataframe as a list of documents"""
364
+ documents = []
365
+ for n_row, frame in self._data_frame[self._page_content_column].items():
366
+ if pd.notnull(frame):
367
+ # ignore rows with None values
368
+ column_name = self._page_content_column
369
+
370
+ document_contents = frame
371
+
372
+ documents.append(
373
+ Document(
374
+ page_content=document_contents,
375
+ metadata={
376
+ "source": "dataframe",
377
+ "row": n_row,
378
+ "column": column_name,
379
+ },
380
+ )
381
+ )
382
+ return documents
383
+
384
+
385
+ def df_to_documents(
386
+ df: pd.DataFrame,
387
+ page_content_columns: Union[List[str], str],
388
+ url_column_name: str = None,
389
+ ) -> List[Document]:
390
+ """Converts a given dataframe to a list of documents"""
391
+ documents = []
392
+
393
+ if isinstance(page_content_columns, str):
394
+ page_content_columns = [page_content_columns]
395
+
396
+ for _, page_content_column in enumerate(page_content_columns):
397
+ if page_content_column not in df.columns.tolist():
398
+ raise ValueError(
399
+ f"page_content_column {page_content_column} not in dataframe columns"
400
+ )
401
+ if url_column_name is not None and page_content_column == url_column_name:
402
+ documents.extend(url_to_documents(df[page_content_column].tolist()))
403
+ continue
404
+
405
+ loader = DfLoader(data_frame=df, page_content_column=page_content_column)
406
+ documents.extend(loader.load())
407
+
408
+ return documents
409
+
410
+
411
+ def url_to_documents(urls: Union[List[str], str]) -> List[Document]:
412
+ """Converts a given url to a document"""
413
+ documents = []
414
+ if isinstance(urls, str):
415
+ urls = [urls]
416
+
417
+ for url in urls:
418
+ response = requests.get(url, headers=None).text
419
+ html_to_text = html2text.html2text(response)
420
+ documents.append(Document(page_content=html_to_text, metadata={"source": url}))
421
+
422
+ return documents
423
+
424
+
425
+ @lru_cache()
426
+ def load_embeddings_model(embeddings_model_name, use_gpu=False):
427
+ """Load embeddings model from Hugging Face Hub"""
428
+ try:
429
+ model_kwargs = dict(device="cuda" if use_gpu else "cpu")
430
+ embedding_model = HuggingFaceEmbeddings(
431
+ model_name=embeddings_model_name, model_kwargs=model_kwargs
432
+ )
433
+ except ValueError:
434
+ raise ValueError(
435
+ f"The {embeddings_model_name} is not supported, please select a valid option from Hugging Face Hub!"
436
+ )
437
+ return embedding_model
438
+
439
+
440
+ def on_create_build_llm_params(
441
+ args: dict, llm_config_class: Union[WriterLLMParameters, OpenAIParameters]
442
+ ) -> Dict:
443
+ """build llm params from create args"""
444
+
445
+ llm_params = {"llm_name": args["llm_type"]}
446
+
447
+ for param in llm_config_class.model_fields.keys():
448
+ if param in args:
449
+ llm_params[param] = args.pop(param)
450
+
451
+ return llm_params
452
+
453
+
454
+ def build_llm_params(args: dict, update=False) -> Dict:
455
+ """build llm params from args"""
456
+
457
+ if args["llm_type"] == "writer":
458
+ llm_config_class = WriterLLMParameters
459
+ elif args["llm_type"] == "openai":
460
+ llm_config_class = OpenAIParameters
461
+ else:
462
+ raise UnsupportedLLM(
463
+ f"'llm_type' must be one of {SUPPORTED_LLMS}, got {args['llm_type']}"
464
+ )
465
+
466
+ if not args.get("llm_params"):
467
+ # for create method only
468
+ llm_params = on_create_build_llm_params(args, llm_config_class)
469
+ else:
470
+ # for predict method only
471
+ llm_params = args.pop("llm_params")
472
+ if update:
473
+ # for update method only
474
+ args["llm_params"] = llm_params
475
+ return args
476
+
477
+ args["llm_params"] = llm_config_class(**llm_params)
478
+
479
+ return args
@@ -0,0 +1,9 @@
1
+ __title__ = 'MindsDB Ray Serve handler'
2
+ __package_name__ = 'mindsdb_ray_serve_handler'
3
+ __version__ = '0.0.1'
4
+ __description__ = "MindsDB handler for Ray Serve"
5
+ __author__ = 'MindsDB Inc'
6
+ __github__ = 'https://github.com/mindsdb/mindsdb'
7
+ __pypi__ = 'https://pypi.org/project/mindsdb/'
8
+ __license__ = 'MIT'
9
+ __copyright__ = 'Copyright 2023- mindsdb'
@@ -0,0 +1,18 @@
1
+ from mindsdb.integrations.libs.const import HANDLER_TYPE
2
+ from mindsdb.integrations.handlers.ray_serve_handler.__about__ import __version__ as version, __description__ as description
3
+ try:
4
+ from mindsdb.integrations.handlers.ray_serve_handler.ray_serve_handler import RayServeHandler as Handler
5
+ import_error = None
6
+ except Exception as e:
7
+ Handler = None
8
+ import_error = e
9
+
10
+ title = 'Ray Serve'
11
+ name = 'ray_serve'
12
+ type = HANDLER_TYPE.ML
13
+ icon_path = 'icon.svg'
14
+ permanent = False
15
+
16
+ __all__ = [
17
+ 'Handler', 'version', 'name', 'type', 'title', 'description', 'import_error', 'icon_path'
18
+ ]
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40" fill="none">
2
+ <path d="M2.1775 35.2068C2.1775 33.7622 3.35329 32.5878 4.79952 32.5878C6.24482 32.5878 7.42148 33.7622 7.42148 35.2068C7.42148 36.6505 6.24482 37.8249 4.79952 37.8249C3.35329 37.8249 2.1775 36.6505 2.1775 35.2068ZM25.3847 34.1198H9.46333C9.34219 33.6021 9.13549 33.1209 8.86225 32.6834L17.4796 24.0622C18.2136 24.5189 19.0724 24.7945 19.9996 24.7945C22.2709 24.7945 24.1679 23.2071 24.6643 21.0875H25.3847C28.982 21.0875 31.9073 24.0103 31.9073 27.6037C31.9073 31.196 28.982 34.1198 25.3847 34.1198ZM35.2005 7.4131C33.7542 7.4131 32.5785 6.23778 32.5785 4.79406C32.5785 3.34947 33.7542 2.17509 35.2005 2.17509C36.6458 2.17509 37.8225 3.34947 37.8225 4.79406C37.8225 6.23778 36.6458 7.4131 35.2005 7.4131ZM14.7373 5.88118H30.5367C30.6578 6.39789 30.8645 6.88002 31.1378 7.31843L22.5204 15.9396C21.7864 15.4829 20.9267 15.2073 19.9996 15.2073C17.73 15.2073 15.833 16.7938 15.3366 18.9125H14.7373C11.14 18.9125 8.21382 15.9897 8.21382 12.3973C8.21382 8.804 11.14 5.88118 14.7373 5.88118ZM22.6215 20.0014C22.6215 21.4451 21.4458 22.6194 19.9996 22.6194C18.5542 22.6194 17.3785 21.4451 17.3785 20.0014C17.3785 18.5568 18.5542 17.3824 19.9996 17.3824C21.4458 17.3824 22.6215 18.5568 22.6215 20.0014ZM0 35.2068C0 37.8495 2.15293 40 4.79952 40C7.06992 40 8.967 38.4126 9.46333 36.2939H25.3847C30.1824 36.2939 34.0857 32.3959 34.0857 27.6037C34.0857 22.8114 30.1824 18.9125 25.3847 18.9125H24.6634C24.5422 18.3958 24.3364 17.9137 24.0623 17.4761L32.6787 8.85495C33.4128 9.3116 34.2733 9.58726 35.2005 9.58726C37.8471 9.58726 40 7.43764 40 4.79406C40 2.15055 37.8471 0 35.2005 0C32.9301 0 31.033 1.5874 30.5367 3.70608H14.7373C9.93968 3.70608 6.03624 7.605 6.03624 12.3973C6.03624 17.1886 9.93968 21.0875 14.7373 21.0875H15.3366C15.4578 21.6052 15.6635 22.0873 15.9377 22.5248L7.32132 31.146C6.58631 30.6884 5.72665 30.4119 4.79952 30.4119C2.15293 30.4119 0 32.5633 0 35.2068Z" fill="#04A1E9"/>
3
+ </svg>
@@ -0,0 +1,66 @@
1
+ import requests
2
+ from typing import Dict, Optional
3
+
4
+ import pandas as pd
5
+
6
+ from mindsdb.integrations.libs.base import BaseMLEngine
7
+
8
+
9
+ class RayServeHandler(BaseMLEngine):
10
+ """
11
+ The Ray Serve integration engine needs to have a working connection to Ray Serve. For this:
12
+ - A Ray Serve server should be running
13
+
14
+ Example:
15
+
16
+ """ # noqa
17
+ name = 'ray_serve'
18
+
19
+ @staticmethod
20
+ def create_validation(target, args=None, **kwargs):
21
+ if not args.get('using'):
22
+ raise Exception("Error: This engine requires some parameters via the 'using' clause. Please refer to the documentation of the Ray Serve handler and try again.") # noqa
23
+ if not args['using'].get('train_url'):
24
+ raise Exception("Error: Please provide a URL for the training endpoint.")
25
+ if not args['using'].get('predict_url'):
26
+ raise Exception("Error: Please provide a URL for the prediction endpoint.")
27
+
28
+ def create(self, target: str, df: Optional[pd.DataFrame] = None, args: Optional[Dict] = None) -> None:
29
+ # TODO: use join_learn_process to notify users when ray has finished the training process
30
+ args = args['using'] # ignore the rest of the problem definition
31
+ args['target'] = target
32
+ self.model_storage.json_set('args', args)
33
+ try:
34
+ resp = requests.post(args['train_url'],
35
+ json={'df': df.to_json(orient='records'), 'target': target},
36
+ headers={'content-type': 'application/json; format=pandas-records'})
37
+ except requests.exceptions.InvalidSchema:
38
+ raise Exception("Error: The URL provided for the training endpoint is invalid.")
39
+
40
+ resp = resp.json()
41
+ if resp['status'] != 'ok':
42
+ raise Exception("Error: Training failed: " + resp['status'])
43
+
44
+ def predict(self, df, args=None):
45
+ args = self.model_storage.json_get('args') # override any incoming args for now
46
+ resp = requests.post(args['predict_url'],
47
+ json={'df': df.to_json(orient='records')},
48
+ headers={'content-type': 'application/json; format=pandas-records'})
49
+ response = resp.json()
50
+
51
+ target = args['target']
52
+ if target != 'prediction':
53
+ # rename prediction to target
54
+ response[target] = response.pop('prediction')
55
+
56
+ predictions = pd.DataFrame(response)
57
+ return predictions
58
+
59
+ def describe(self, key: Optional[str] = None) -> pd.DataFrame:
60
+ args = self.model_storage.json_get('args')
61
+ description = {
62
+ 'TRAIN_URL': [args['train_url']],
63
+ 'PREDICT_URL': [args['predict_url']],
64
+ 'TARGET': [args['target']],
65
+ }
66
+ return pd.DataFrame.from_dict(description)
@@ -0,0 +1,9 @@
1
+ __title__ = 'MindsDB Reddit handler'
2
+ __package_name__ = 'mindsdb_reddit_handler'
3
+ __version__ = '0.0.1'
4
+ __description__ = "MindsDB handler for Reddit"
5
+ __author__ = 'Maro Akpobi'
6
+ __github__ = 'https://github.com/mindsdb/mindsdb'
7
+ __pypi__ = 'https://pypi.org/project/mindsdb/'
8
+ __license__ = 'MIT'
9
+ __copyright__ = 'Copyright 2022- mindsdb'
@@ -0,0 +1,21 @@
1
+ from mindsdb.integrations.libs.const import HANDLER_TYPE
2
+
3
+ from .__about__ import __version__ as version, __description__ as description
4
+ try:
5
+ from .reddit_handler import (
6
+ RedditHandler as Handler
7
+ )
8
+ import_error = None
9
+ except Exception as e:
10
+ Handler = None
11
+ import_error = e
12
+
13
+ title = 'Reddit'
14
+ name = 'reddit'
15
+ type = HANDLER_TYPE.DATA
16
+ icon_path = 'icon.svg'
17
+
18
+ __all__ = [
19
+ 'Handler', 'version', 'name', 'type', 'title', 'description',
20
+ 'import_error', 'icon_path'
21
+ ]
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40" fill="none">
2
+ <g clip-path="url(#clip0_195_341)">
3
+ <path d="M20 40C31.0457 40 40 31.0457 40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40Z" fill="#FF4500"/>
4
+ <path d="M33.34 20C33.344 20.274 33.31 20.5475 33.238 20.812C33.166 21.0765 33.057 21.33 32.914 21.564C32.7715 21.798 32.5965 22.011 32.3945 22.1965C32.1925 22.382 31.9655 22.538 31.72 22.66C31.7255 22.733 31.73 22.8065 31.7325 22.88C31.7385 23.0266 31.7385 23.1734 31.7325 23.32C31.73 23.3935 31.7255 23.467 31.72 23.54C31.72 28.02 26.5 31.66 20.06 31.66C13.62 31.66 8.39999 28.02 8.39999 23.54C8.39449 23.467 8.38999 23.3935 8.38749 23.32C8.38148 23.1734 8.38148 23.0266 8.38749 22.88C8.38999 22.8065 8.39449 22.733 8.39999 22.66C8.01537 22.4832 7.67376 22.225 7.39879 21.9031C7.12382 21.5813 6.92207 21.2035 6.80749 20.796C6.69311 20.3883 6.66874 19.9606 6.73609 19.5426C6.80343 19.1246 6.96087 18.7262 7.19749 18.375C7.43391 18.0239 7.74389 17.7285 8.10591 17.5092C8.46793 17.2899 8.87334 17.152 9.29399 17.105C9.7147 17.0579 10.1406 17.1027 10.5423 17.2366C10.9439 17.3704 11.3116 17.5899 11.62 17.88C12.1924 17.492 12.7921 17.146 13.4145 16.8445C14.037 16.5435 14.6805 16.2875 15.34 16.0795C15.9995 15.8715 16.6735 15.712 17.356 15.6015C18.0385 15.491 18.7285 15.4305 19.42 15.42L20.9 8.48001C20.9165 8.39951 20.949 8.32351 20.9955 8.25551C21.0415 8.18801 21.101 8.13001 21.1695 8.08551C21.2385 8.04101 21.3155 8.01051 21.3965 7.99551C21.477 7.98101 21.56 7.98251 21.64 8.00001L26.54 8.98001C27.0345 8.13051 28.0725 7.76651 28.989 8.12051C29.9055 8.47451 30.4295 9.44201 30.2245 10.403C30.02 11.364 29.147 12.034 28.166 11.9835C27.1845 11.933 26.385 11.177 26.28 10.2L22 9.30001L20.7 15.54C21.383 15.5545 22.0645 15.6185 22.7385 15.731C24.0882 15.956 25.3984 16.3746 26.6285 16.974C27.2429 17.273 27.8349 17.6159 28.4 18C28.8063 17.6099 29.3169 17.3458 29.87 17.2395C30.4231 17.1329 30.9953 17.1886 31.5175 17.4C32.0397 17.6113 32.4896 17.9692 32.813 18.4305C33.1364 18.8919 33.3195 19.4369 33.34 20ZM13.492 22.7655C13.593 23.008 13.74 23.2285 13.926 23.414C14.1115 23.6 14.332 23.747 14.5745 23.848C14.8172 23.9484 15.0773 24 15.34 24C16.149 24 16.878 23.5125 17.188 22.7655C17.4975 22.018 17.326 21.158 16.754 20.586C16.182 20.014 15.322 19.8425 14.5745 20.152C13.8275 20.462 13.34 21.191 13.34 22C13.34 22.2625 13.3915 22.5225 13.492 22.7655ZM24.947 27.5665C25.0495 27.4665 25.108 27.33 25.11 27.187C25.112 27.0435 25.0565 26.9055 24.9565 26.803C24.8565 26.7005 24.72 26.642 24.577 26.64C24.4335 26.638 24.2955 26.6935 24.18 26.78C23.8793 26.9957 23.5608 27.1856 23.228 27.3475C22.8952 27.5095 22.5493 27.6432 22.194 27.747C21.839 27.8505 21.4755 27.924 21.108 27.9665C20.74 28.009 20.3695 28.02 20 28C19.631 28.0165 19.261 28.0015 18.8945 27.9555C18.5279 27.91 18.1659 27.833 17.8125 27.7255C17.4585 27.6185 17.115 27.4815 16.7845 27.3165C16.454 27.1515 16.138 26.9585 15.84 26.74C15.7365 26.655 15.605 26.6115 15.471 26.618C15.337 26.6245 15.2105 26.681 15.1155 26.7755C15.021 26.8705 14.9645 26.997 14.958 27.131C14.9515 27.265 14.995 27.3965 15.08 27.5C15.4315 27.765 15.805 27.999 16.1965 28.2C16.588 28.401 16.9965 28.5675 17.4165 28.6985C17.8365 28.8295 18.267 28.924 18.7035 28.9815C19.14 29.0385 19.5805 29.058 20.02 29.04C20.4595 29.058 20.9 29.0385 21.3365 28.9815C22.2108 28.8665 23.0588 28.6022 23.8435 28.2C24.235 27.999 24.6085 27.765 24.96 27.5L24.947 27.5665ZM24.58 24.16C24.851 24.163 25.12 24.1105 25.3705 24.0065C25.621 23.902 25.8475 23.748 26.0365 23.5535C26.2255 23.359 26.3725 23.128 26.4695 22.8745C26.5666 22.6213 26.611 22.351 26.6 22.08C26.6 21.271 26.1125 20.542 25.3655 20.232C24.618 19.9225 23.758 20.094 23.186 20.666C22.614 21.238 22.4425 22.098 22.752 22.8455C23.062 23.5925 23.791 24.08 24.6 24.08L24.58 24.16Z" fill="white"/>
5
+ </g>
6
+ <defs>
7
+ <clipPath id="clip0_195_341">
8
+ <rect width="40" height="40" fill="white"/>
9
+ </clipPath>
10
+ </defs>
11
+ </svg>