MindsDB 25.2.2.2__py3-none-any.whl → 25.2.4.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.
- {MindsDB-25.2.2.2.dist-info → MindsDB-25.2.4.0.dist-info}/METADATA +209 -228
- {MindsDB-25.2.2.2.dist-info → MindsDB-25.2.4.0.dist-info}/RECORD +52 -50
- mindsdb/__about__.py +1 -1
- mindsdb/__main__.py +1 -11
- mindsdb/api/executor/datahub/datanodes/system_tables.py +4 -1
- mindsdb/api/http/initialize.py +8 -5
- mindsdb/api/http/namespaces/agents.py +0 -7
- mindsdb/api/http/namespaces/config.py +0 -48
- mindsdb/api/http/namespaces/databases.py +69 -1
- mindsdb/api/http/namespaces/knowledge_bases.py +1 -1
- mindsdb/api/http/namespaces/util.py +0 -28
- mindsdb/integrations/handlers/anyscale_endpoints_handler/requirements.txt +0 -1
- mindsdb/integrations/handlers/dspy_handler/requirements.txt +0 -1
- mindsdb/integrations/handlers/file_handler/file_handler.py +28 -46
- mindsdb/integrations/handlers/file_handler/tests/test_file_handler.py +8 -11
- mindsdb/integrations/handlers/langchain_embedding_handler/requirements.txt +0 -1
- mindsdb/integrations/handlers/langchain_handler/requirements.txt +0 -1
- mindsdb/integrations/handlers/llama_index_handler/requirements.txt +0 -1
- mindsdb/integrations/handlers/ms_one_drive_handler/ms_one_drive_tables.py +1 -1
- mindsdb/integrations/handlers/openai_handler/constants.py +3 -1
- mindsdb/integrations/handlers/openai_handler/requirements.txt +0 -1
- mindsdb/integrations/handlers/rag_handler/requirements.txt +0 -1
- mindsdb/integrations/handlers/ray_serve_handler/ray_serve_handler.py +33 -8
- mindsdb/integrations/handlers/timegpt_handler/requirements.txt +1 -1
- mindsdb/integrations/handlers/web_handler/urlcrawl_helpers.py +3 -2
- mindsdb/integrations/handlers/web_handler/web_handler.py +42 -33
- mindsdb/integrations/handlers/youtube_handler/__init__.py +2 -0
- mindsdb/integrations/handlers/youtube_handler/connection_args.py +32 -0
- mindsdb/integrations/libs/llm/utils.py +5 -0
- mindsdb/integrations/libs/process_cache.py +2 -2
- mindsdb/integrations/utilities/files/file_reader.py +66 -14
- mindsdb/integrations/utilities/rag/chains/local_context_summarizer_chain.py +227 -0
- mindsdb/interfaces/agents/agents_controller.py +3 -3
- mindsdb/interfaces/agents/callback_handlers.py +52 -5
- mindsdb/interfaces/agents/langchain_agent.py +5 -3
- mindsdb/interfaces/database/database.py +1 -1
- mindsdb/interfaces/database/integrations.py +1 -1
- mindsdb/interfaces/file/file_controller.py +140 -11
- mindsdb/interfaces/jobs/scheduler.py +1 -1
- mindsdb/interfaces/knowledge_base/preprocessing/constants.py +2 -2
- mindsdb/interfaces/skills/skills_controller.py +2 -2
- mindsdb/interfaces/skills/sql_agent.py +6 -1
- mindsdb/interfaces/storage/db.py +1 -12
- mindsdb/migrations/versions/2025-02-09_4943359e354a_file_metadata.py +31 -0
- mindsdb/migrations/versions/2025-02-10_6ab9903fc59a_del_log_table.py +33 -0
- mindsdb/utilities/config.py +1 -0
- mindsdb/utilities/log.py +17 -2
- mindsdb/utilities/ml_task_queue/consumer.py +4 -2
- mindsdb/utilities/render/sqlalchemy_render.py +15 -5
- mindsdb/utilities/log_controller.py +0 -39
- mindsdb/utilities/telemetry.py +0 -44
- {MindsDB-25.2.2.2.dist-info → MindsDB-25.2.4.0.dist-info}/LICENSE +0 -0
- {MindsDB-25.2.2.2.dist-info → MindsDB-25.2.4.0.dist-info}/WHEEL +0 -0
- {MindsDB-25.2.2.2.dist-info → MindsDB-25.2.4.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
mindsdb/__about__.py,sha256=
|
|
1
|
+
mindsdb/__about__.py,sha256=Cczo3csgLqV54TPiLNKJJ0h1HywaDq533ptSGtsHnvs,444
|
|
2
2
|
mindsdb/__init__.py,sha256=fZopLiAYa9MzMZ0d48JgHc_LddfFKDzh7n_8icsjrVs,54
|
|
3
|
-
mindsdb/__main__.py,sha256=
|
|
3
|
+
mindsdb/__main__.py,sha256=8KKIorKRykSKOaeysKUWfAYaydHNIN6noTJMXZ5bMdo,20978
|
|
4
4
|
mindsdb/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
mindsdb/api/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
mindsdb/api/common/check_auth.py,sha256=cQEZqsnCbrRtUf8j4H6uPF98cDPu79t8TdtwBi5g30w,1345
|
|
@@ -21,7 +21,7 @@ mindsdb/api/executor/datahub/datanodes/information_schema_datanode.py,sha256=9gs
|
|
|
21
21
|
mindsdb/api/executor/datahub/datanodes/integration_datanode.py,sha256=HowB1lnbs__qiVOE63uAuOqhDEj-2IcuiPh5bb3RgPg,9797
|
|
22
22
|
mindsdb/api/executor/datahub/datanodes/mindsdb_tables.py,sha256=OQJbmzGLYzbA0v-_rwmzB5gvwpJVO0c9h6oNjeGjGPU,12554
|
|
23
23
|
mindsdb/api/executor/datahub/datanodes/project_datanode.py,sha256=KAYGMEDY4hVf7hZtyB26ehEwu1SCooql3mtoaN0itHs,6336
|
|
24
|
-
mindsdb/api/executor/datahub/datanodes/system_tables.py,sha256=
|
|
24
|
+
mindsdb/api/executor/datahub/datanodes/system_tables.py,sha256=Btb_0lgI2Zt-CdbZ29HCyVBRojslxvdo-ZuxGS-dt7w,14092
|
|
25
25
|
mindsdb/api/executor/planner/__init__.py,sha256=Ysh8feXwejpVhJ9yDbrE_lBA3EsGqyWnrbIPdmtE1Oc,143
|
|
26
26
|
mindsdb/api/executor/planner/exceptions.py,sha256=rvLQoFZgCpVsGWomSBdPeuOyr_6FM-QKmseVvUIw5E8,46
|
|
27
27
|
mindsdb/api/executor/planner/plan_join.py,sha256=rZn21LGxWyRou4iVOpNpt9IY4TytPoIDJy8rfGqfhoE,22506
|
|
@@ -57,28 +57,28 @@ mindsdb/api/executor/utilities/sql.py,sha256=vULbEMKN3ZB5RULqC_VPRhuROQ0_CotHYqA
|
|
|
57
57
|
mindsdb/api/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
58
|
mindsdb/api/http/gui.py,sha256=V1_SYzBvEbRfpwSaNdxdlU2ylS-OhJ8IK6p6pcHNJXo,3087
|
|
59
59
|
mindsdb/api/http/gunicorn_wrapper.py,sha256=U11cza-mn71RcLcJZOYwo2Aee3fRIhAYQxby_FF6_Yc,534
|
|
60
|
-
mindsdb/api/http/initialize.py,sha256=
|
|
60
|
+
mindsdb/api/http/initialize.py,sha256=mjeQLszyfSXkbD_EVzrvbQp0w01Jl-OwyRlV8Wz-8_U,16121
|
|
61
61
|
mindsdb/api/http/start.py,sha256=3F2iob1EHNh9cCeuxD1RjlVp0wnRw-ybh7lU5KaYGK8,2350
|
|
62
62
|
mindsdb/api/http/utils.py,sha256=nWP2HxeS0Ami0VSFCyoWyhLsz52mRaYkylQCKzH6d7c,1155
|
|
63
63
|
mindsdb/api/http/namespaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
64
|
-
mindsdb/api/http/namespaces/agents.py,sha256=
|
|
64
|
+
mindsdb/api/http/namespaces/agents.py,sha256=wLo4msX2kp1X9F--HN0_s5dS0RXg6d21a5jQctIgb7I,18712
|
|
65
65
|
mindsdb/api/http/namespaces/analysis.py,sha256=Dp3izdLkG35cSAKNUPJfuGoFSRe34CzFPKk2CEVjDoI,3821
|
|
66
66
|
mindsdb/api/http/namespaces/auth.py,sha256=Qm1ZUBdbv_nTDzSQHdzXEosdpYCRzIa17k1yYErOeuk,5483
|
|
67
67
|
mindsdb/api/http/namespaces/chatbots.py,sha256=9UBguchWd04wfYCrsNcFkkt0RCbg-eJcv79RIcJa5Zk,11738
|
|
68
|
-
mindsdb/api/http/namespaces/config.py,sha256
|
|
69
|
-
mindsdb/api/http/namespaces/databases.py,sha256=
|
|
68
|
+
mindsdb/api/http/namespaces/config.py,sha256=-OZaCf32lHIi1hZ3gt6nuR0XF1gxkh3zv-oU28Z9Tfs,8382
|
|
69
|
+
mindsdb/api/http/namespaces/databases.py,sha256=HAr2pvEuj3n2t1Wmxje0ZsSRxrY3sz9k_MGQ-yvgYWg,18570
|
|
70
70
|
mindsdb/api/http/namespaces/default.py,sha256=r8PXn00Um2eyKB5e_Kj7fzk4e4LYH-JCzXCpxgJA2vY,4729
|
|
71
71
|
mindsdb/api/http/namespaces/file.py,sha256=u6xYa_moAMb0UXWGkNtErGw9nk-FbloRuLHrLCANjoU,6644
|
|
72
72
|
mindsdb/api/http/namespaces/handlers.py,sha256=zRWZvPOplwSAbKDKeQz93J38TsCQT89-GSlSug6Mtug,7911
|
|
73
73
|
mindsdb/api/http/namespaces/jobs.py,sha256=Oif6biw5Bii1fboSbYbpkFJ7cZW9Ad1jpednWX14Xws,3186
|
|
74
|
-
mindsdb/api/http/namespaces/knowledge_bases.py,sha256=
|
|
74
|
+
mindsdb/api/http/namespaces/knowledge_bases.py,sha256=ZwzSXn_6DNn3awCnMlvCbZfCOTPM3VcsQNotMM05v3U,16653
|
|
75
75
|
mindsdb/api/http/namespaces/models.py,sha256=rCUFF02CQcF_QKeCQJcyAWIZzyyNXw-Jl-aX5lGnvBc,11240
|
|
76
76
|
mindsdb/api/http/namespaces/projects.py,sha256=g2dv_f4MGy7xZRARRqpjghLGSxq_FjHx-fHqPBfRP-E,1407
|
|
77
77
|
mindsdb/api/http/namespaces/skills.py,sha256=2eG5NtaqJSXQ_ex9Tus0sHA7oF4_SKOxPTdlpnz2tkk,5923
|
|
78
78
|
mindsdb/api/http/namespaces/sql.py,sha256=-uLWZPsd8q2vUjJeZE3c4qjBbatnrWgPhlHROSaFVnc,5964
|
|
79
79
|
mindsdb/api/http/namespaces/tab.py,sha256=3qgdc6q2WmQQIonSTFvrSvbEgBdGAe98czWWx4OMRNQ,4054
|
|
80
80
|
mindsdb/api/http/namespaces/tree.py,sha256=8I_X7Uhn6OAEsgWOfneF1UBif0T0YFmj-SG_iT20C3E,3807
|
|
81
|
-
mindsdb/api/http/namespaces/util.py,sha256=
|
|
81
|
+
mindsdb/api/http/namespaces/util.py,sha256=3A_Ab16mHC83362PILbF6L4hh9zGAn8NG3nPlQZMhqk,3636
|
|
82
82
|
mindsdb/api/http/namespaces/views.py,sha256=fIuK_D0-jr_F2UmYSdfxBWXhpbYjPhwxTs8yF0v35XI,6172
|
|
83
83
|
mindsdb/api/http/namespaces/webhooks.py,sha256=HjSFv5MZatwrkU1CMVDJKx5bDeZsmuLnUs7nnEQ7kvw,1146
|
|
84
84
|
mindsdb/api/http/namespaces/configs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -248,7 +248,7 @@ mindsdb/integrations/handlers/anyscale_endpoints_handler/__init__.py,sha256=E93a
|
|
|
248
248
|
mindsdb/integrations/handlers/anyscale_endpoints_handler/anyscale_endpoints_handler.py,sha256=qIu1OxZZ3hzrQGAaQ0_eqNB6sBB-4zNhqfU6XCGHIII,10699
|
|
249
249
|
mindsdb/integrations/handlers/anyscale_endpoints_handler/creation_args.py,sha256=RUBy6Cw_gEUXq_7OXPGgeShUgFzPe5uoMhZ6qIFBmt8,374
|
|
250
250
|
mindsdb/integrations/handlers/anyscale_endpoints_handler/icon.svg,sha256=VBWUTscZjn_SpZAC_2i5lvAE-LH6OixgH7KWNPtkpP8,1743
|
|
251
|
-
mindsdb/integrations/handlers/anyscale_endpoints_handler/requirements.txt,sha256=
|
|
251
|
+
mindsdb/integrations/handlers/anyscale_endpoints_handler/requirements.txt,sha256=akRKyhwvLrsRKZlseLcE3aKK82dAx5Y5ARfJ3b_Nn4c,92
|
|
252
252
|
mindsdb/integrations/handlers/anyscale_endpoints_handler/settings.py,sha256=5vF3QvzIO8M1g-Kaja1zrpzohl7IM2Tt41VAVR2Kilk,1468
|
|
253
253
|
mindsdb/integrations/handlers/anyscale_endpoints_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
254
254
|
mindsdb/integrations/handlers/anyscale_endpoints_handler/tests/test_anyscale_endpoints_handler.py,sha256=gq0GHcJ-d21bqTl5NeIF6clAPlmMEaUniJMkXS4ryw8,7255
|
|
@@ -535,7 +535,7 @@ mindsdb/integrations/handlers/dspy_handler/__about__.py,sha256=ccuDl-tLUGQXL38nv
|
|
|
535
535
|
mindsdb/integrations/handlers/dspy_handler/__init__.py,sha256=jM_sypbHyhUmaDeyUfNI4YjSBFtbioGXlHU6uda0dCQ,484
|
|
536
536
|
mindsdb/integrations/handlers/dspy_handler/dspy_handler.py,sha256=58hr9suXP0vOwypIpyRCHKmHorjFnJbcquTSJkMOt9w,9817
|
|
537
537
|
mindsdb/integrations/handlers/dspy_handler/icon.svg,sha256=dMV03a2BDQvZTwxDAxRmd-GzmCCVXyYvJqTwdZb5Hbw,73222
|
|
538
|
-
mindsdb/integrations/handlers/dspy_handler/requirements.txt,sha256=
|
|
538
|
+
mindsdb/integrations/handlers/dspy_handler/requirements.txt,sha256=NStfVY_eYfySgFjgDohbv7wf-Bjss-m4TaZan0dqMbs,101
|
|
539
539
|
mindsdb/integrations/handlers/duckdb_handler/__about__.py,sha256=3-dlZBVENpzU6Ixavw99OK8O5jLNG1h-K1AMB9KFRTY,342
|
|
540
540
|
mindsdb/integrations/handlers/duckdb_handler/__init__.py,sha256=wlBN2aVSGipXwSyszMaa2dTwENjoZEh2ybWjYwNpKlk,629
|
|
541
541
|
mindsdb/integrations/handlers/duckdb_handler/connection_args.py,sha256=-NWJxBuJCbVPPFqVgNt-_1aeYvC6TIhDymOGMb7lTkY,589
|
|
@@ -607,11 +607,11 @@ mindsdb/integrations/handlers/faunadb_handler/tests/__init__.py,sha256=47DEQpj8H
|
|
|
607
607
|
mindsdb/integrations/handlers/faunadb_handler/tests/test_faunadb_handler.py,sha256=JrgVIq6jucZjUCr8FpbC9ByJ3WdZGppZKHdovvFbNiw,1151
|
|
608
608
|
mindsdb/integrations/handlers/file_handler/__about__.py,sha256=UavP5jJ_xWIaJ0oRsEANLulczZ0craaUb3XLfCSBmEc,331
|
|
609
609
|
mindsdb/integrations/handlers/file_handler/__init__.py,sha256=46Hnm3ijRsYw95BkkBxHJK8k4h_2Te0j1W0r3-ptVCg,329
|
|
610
|
-
mindsdb/integrations/handlers/file_handler/file_handler.py,sha256=
|
|
610
|
+
mindsdb/integrations/handlers/file_handler/file_handler.py,sha256=atOboSG8pcMwnHCsxTzT1vtr92LqYgCcMyqt3hjhO2w,7148
|
|
611
611
|
mindsdb/integrations/handlers/file_handler/icon.svg,sha256=hsXEvUzrO7WQMOPC83LYQt-FW0wey9TCj5EwiIJwKwk,565
|
|
612
612
|
mindsdb/integrations/handlers/file_handler/requirements.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
613
613
|
mindsdb/integrations/handlers/file_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
614
|
-
mindsdb/integrations/handlers/file_handler/tests/test_file_handler.py,sha256=
|
|
614
|
+
mindsdb/integrations/handlers/file_handler/tests/test_file_handler.py,sha256=UubwfvgJFe7aSZxpzPGcJ32bvMUE72VnxUJB3RqmSZo,11743
|
|
615
615
|
mindsdb/integrations/handlers/file_handler/tests/data/test.txt,sha256=SUG2Uw_Hmth51gyaCJyeyfAbFssHfsB3qWFcxBX_W1g,570
|
|
616
616
|
mindsdb/integrations/handlers/financial_modeling_prep_handler/__about__.py,sha256=Dz6gPZVoxWJqMgte07pkMKtQq42u7qYtCiaxdHVgANw,392
|
|
617
617
|
mindsdb/integrations/handlers/financial_modeling_prep_handler/__init__.py,sha256=AncBNXt6EECSYDNTlnkxkQ3_dfgEITMKaUUWjV-KSMY,537
|
|
@@ -858,13 +858,13 @@ mindsdb/integrations/handlers/langchain_embedding_handler/__init__.py,sha256=7PK
|
|
|
858
858
|
mindsdb/integrations/handlers/langchain_embedding_handler/fastapi_embeddings.py,sha256=h8feiZrRboFcaBGkv5VYdJRHdVeBUCZ6hz0hC_bNqf0,2479
|
|
859
859
|
mindsdb/integrations/handlers/langchain_embedding_handler/icon.svg,sha256=dMV03a2BDQvZTwxDAxRmd-GzmCCVXyYvJqTwdZb5Hbw,73222
|
|
860
860
|
mindsdb/integrations/handlers/langchain_embedding_handler/langchain_embedding_handler.py,sha256=GrXTyvb-nLSsfI6V2yblQWSgRgkbTXiWtmfWJYYordw,8277
|
|
861
|
-
mindsdb/integrations/handlers/langchain_embedding_handler/requirements.txt,sha256=
|
|
861
|
+
mindsdb/integrations/handlers/langchain_embedding_handler/requirements.txt,sha256=u06ahGd1EskIW_Yy-5Y_jNLNbN1CtF9N3ylGPPOPBLA,9
|
|
862
862
|
mindsdb/integrations/handlers/langchain_embedding_handler/vllm_embeddings.py,sha256=gxrwh_0d2FiOqAo4xmr-7KGLTFuSuBxLH0gfvmHPVIg,3734
|
|
863
863
|
mindsdb/integrations/handlers/langchain_handler/__about__.py,sha256=rBZQP0fyIkObedPPwbyNl9tB0ygJN6qj0aPwPYI_fqc,345
|
|
864
864
|
mindsdb/integrations/handlers/langchain_handler/__init__.py,sha256=4POM9M6p9cUDAIeQ4gy4Cj-F1p6RPokk3MC2cR77mSw,504
|
|
865
865
|
mindsdb/integrations/handlers/langchain_handler/icon.svg,sha256=dMV03a2BDQvZTwxDAxRmd-GzmCCVXyYvJqTwdZb5Hbw,73222
|
|
866
866
|
mindsdb/integrations/handlers/langchain_handler/langchain_handler.py,sha256=2MoMZYz4e4f4NCE-hHheJulxFJAkJudrvOn6-EAGv4Y,12816
|
|
867
|
-
mindsdb/integrations/handlers/langchain_handler/requirements.txt,sha256=
|
|
867
|
+
mindsdb/integrations/handlers/langchain_handler/requirements.txt,sha256=t5uKtzYVlZUSYjEPnhHhvohm0yo56c90NUYzFYSOI-I,237
|
|
868
868
|
mindsdb/integrations/handlers/langchain_handler/tools.py,sha256=lb0zKsVpTafWi5QSVTbQ0hgvVx1Yr1rLg_i6rTHcVsQ,11385
|
|
869
869
|
mindsdb/integrations/handlers/leonardoai_handler/__about__.py,sha256=tohCA4vFctgcIkYTPoEhcNRW9C1YX07Sxe6n57vTl7A,353
|
|
870
870
|
mindsdb/integrations/handlers/leonardoai_handler/__init__.py,sha256=qoDI2PYu2Kw5TapUlHC1QUIfufxvzuJ1RpLBEpd_woE,512
|
|
@@ -919,7 +919,7 @@ mindsdb/integrations/handlers/llama_index_handler/__about__.py,sha256=BtxlhE6R27
|
|
|
919
919
|
mindsdb/integrations/handlers/llama_index_handler/__init__.py,sha256=xR7fPvGnYIOw4QOUZ88Gs6tUZHbcr-Wp2V-NmVK-Mlw,506
|
|
920
920
|
mindsdb/integrations/handlers/llama_index_handler/icon.svg,sha256=yjhd8lFNW75F5o5ZRC69UMAu2P_Fxjj7SgLADwUQeJc,12609
|
|
921
921
|
mindsdb/integrations/handlers/llama_index_handler/llama_index_handler.py,sha256=GJvKsXkFnrkCg1A6MZJApe9IQDC7g0n_aSSOWPZkG7s,7859
|
|
922
|
-
mindsdb/integrations/handlers/llama_index_handler/requirements.txt,sha256=
|
|
922
|
+
mindsdb/integrations/handlers/llama_index_handler/requirements.txt,sha256=tS1jwSXXbrsDrRxvvhyptH5AZiRhQaJejfAIuVjYaTc,101
|
|
923
923
|
mindsdb/integrations/handlers/llama_index_handler/settings.py,sha256=4L4-EJn_D6z_DcVaQ3o22BpPwSsdmyG1ayRIrIaMTsU,2156
|
|
924
924
|
mindsdb/integrations/handlers/ludwig_handler/__about__.py,sha256=5pC8567sj_ZZW70dm7Chkc4He6-F8l5oUKE1W9V98Ck,343
|
|
925
925
|
mindsdb/integrations/handlers/ludwig_handler/__init__.py,sha256=Bz_CZB8XJiMLYb7rK_zPFFAIHGjEsGR_rc2FK8r8HyM,536
|
|
@@ -1033,7 +1033,7 @@ mindsdb/integrations/handlers/ms_one_drive_handler/__init__.py,sha256=vraI6WlfpN
|
|
|
1033
1033
|
mindsdb/integrations/handlers/ms_one_drive_handler/icon.svg,sha256=52dL1SJWSi44Z2hQUMEyyP8DUmhgUtjvsfN3HU2EBes,2430
|
|
1034
1034
|
mindsdb/integrations/handlers/ms_one_drive_handler/ms_graph_api_one_drive_client.py,sha256=q3Qd-9bBYacurH_rV5cYpLUgrI0kvSHGSDoi_OnkeWY,3508
|
|
1035
1035
|
mindsdb/integrations/handlers/ms_one_drive_handler/ms_one_drive_handler.py,sha256=8Xi8rKFWpEsDw5mzqgR7IW4wEbk-TBNqNqOj4350gL4,9333
|
|
1036
|
-
mindsdb/integrations/handlers/ms_one_drive_handler/ms_one_drive_tables.py,sha256=
|
|
1036
|
+
mindsdb/integrations/handlers/ms_one_drive_handler/ms_one_drive_tables.py,sha256=rBD6sEli8XP-cxTogFu2J7ScO_WTw1gM-6gZm2P8lsc,2802
|
|
1037
1037
|
mindsdb/integrations/handlers/ms_teams_handler/__about__.py,sha256=CqqxMr2iXyNXzPfcrMnDpK7u7gC6tmYPkOYR3KBXgQM,357
|
|
1038
1038
|
mindsdb/integrations/handlers/ms_teams_handler/__init__.py,sha256=btEl5YvlZMkMn3NR6eChKtfT31OQY1LBEII1qJ4hf7g,518
|
|
1039
1039
|
mindsdb/integrations/handlers/ms_teams_handler/icon.svg,sha256=pso2BBOFF2aiAw28W9lBPnvnVeNib21kvrqfZnO_C0M,3934
|
|
@@ -1111,13 +1111,13 @@ mindsdb/integrations/handlers/ollama_handler/icon.png,sha256=Uetj2OTGPx-taxPKdD3
|
|
|
1111
1111
|
mindsdb/integrations/handlers/ollama_handler/ollama_handler.py,sha256=X-eLSoGg6Hg3xLdr_eAHrYTfWnO_SLm9R-SJahRz6PM,7268
|
|
1112
1112
|
mindsdb/integrations/handlers/openai_handler/__about__.py,sha256=CHoor6pfv6jc7Lfp8SZYiRlHoCwA-QM0PYRqvIRNSEc,336
|
|
1113
1113
|
mindsdb/integrations/handlers/openai_handler/__init__.py,sha256=2oicF7rVoEJTh-_p_7bpmh3shHYL2zZr4tPj0ZDXeCI,621
|
|
1114
|
-
mindsdb/integrations/handlers/openai_handler/constants.py,sha256=
|
|
1114
|
+
mindsdb/integrations/handlers/openai_handler/constants.py,sha256=szFwNnhFO8g_XJh8DnqxlrmZh9YTkiTiCpvAI0txZak,1356
|
|
1115
1115
|
mindsdb/integrations/handlers/openai_handler/creation_args.py,sha256=v1NHiz-tLvAHrcA_vIe1A6L5UbeGpHBl88XWZVgtric,342
|
|
1116
1116
|
mindsdb/integrations/handlers/openai_handler/helpers.py,sha256=Tp-4KQQTCfYl5UYGQFBbP3hiqhmfLMnQzpiaCcA8LTk,6978
|
|
1117
1117
|
mindsdb/integrations/handlers/openai_handler/icon.svg,sha256=r5vCiNm9_nL1ZbM1e6PYcTzw9KrgC0hqWT8IAi2pFbE,2625
|
|
1118
1118
|
mindsdb/integrations/handlers/openai_handler/model_using_args.py,sha256=c5NBe6RGkRGVOLhc7Ksq3M3w96Kd9KECO6T01j7VS90,76
|
|
1119
1119
|
mindsdb/integrations/handlers/openai_handler/openai_handler.py,sha256=Dx_5vrNLX02gTXERT9_oWzziDJ45EWp1EzyqIdaU8aU,48686
|
|
1120
|
-
mindsdb/integrations/handlers/openai_handler/requirements.txt,sha256=
|
|
1120
|
+
mindsdb/integrations/handlers/openai_handler/requirements.txt,sha256=u06ahGd1EskIW_Yy-5Y_jNLNbN1CtF9N3ylGPPOPBLA,9
|
|
1121
1121
|
mindsdb/integrations/handlers/openai_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1122
1122
|
mindsdb/integrations/handlers/openai_handler/tests/test_openai_handler.py,sha256=W3b39JCQfCF_IXUS98j7KqTqIzeYne9RDba33AxM774,18651
|
|
1123
1123
|
mindsdb/integrations/handlers/openbb_handler/__about__.py,sha256=uY_N_iBpfK56YgmWfiiEAz2g4-EDozP1DKqvhPKUP60,373
|
|
@@ -1270,12 +1270,12 @@ mindsdb/integrations/handlers/rag_handler/icon.svg,sha256=q8G2Qws-_E79MdxpSDHtNC
|
|
|
1270
1270
|
mindsdb/integrations/handlers/rag_handler/ingest.py,sha256=E45U_5LnWcHJznxjAjPtgVBjk_02l4czBA-WqI8WJKE,5877
|
|
1271
1271
|
mindsdb/integrations/handlers/rag_handler/rag.py,sha256=4PtyArS3tt4hzvjejR_9hq_W37MKop3h9XVkSFgqe2o,4764
|
|
1272
1272
|
mindsdb/integrations/handlers/rag_handler/rag_handler.py,sha256=9VISfF6rRn6N3s_NMZTVo8So2aG49AH-A0-qZqAuE7E,5400
|
|
1273
|
-
mindsdb/integrations/handlers/rag_handler/requirements.txt,sha256=
|
|
1273
|
+
mindsdb/integrations/handlers/rag_handler/requirements.txt,sha256=_7K_npewsQgRtUH_S-COwkUJ35urOaKDSEJsZZItr20,185
|
|
1274
1274
|
mindsdb/integrations/handlers/rag_handler/settings.py,sha256=5T4_oZt9dUD67AJXeZrzaftMnv4I4uL-XlzhO5kTYSY,15627
|
|
1275
1275
|
mindsdb/integrations/handlers/ray_serve_handler/__about__.py,sha256=42oqKM1C-nIisvPvAL5fIxBDP-rxEduXnGrUUjrfLIU,345
|
|
1276
1276
|
mindsdb/integrations/handlers/ray_serve_handler/__init__.py,sha256=MYDLydWeimQ74znwnrrgnh9S6YgtE7UnJcYBVlWv6r8,596
|
|
1277
1277
|
mindsdb/integrations/handlers/ray_serve_handler/icon.svg,sha256=spxNMpiGLzxt46VM70-m-z4xButrIQ_dzLTarJKYSOA,1990
|
|
1278
|
-
mindsdb/integrations/handlers/ray_serve_handler/ray_serve_handler.py,sha256=
|
|
1278
|
+
mindsdb/integrations/handlers/ray_serve_handler/ray_serve_handler.py,sha256=WQlIVCA4-M5QKnUPlmd6zGbx1hZPFQuONc12bGiGZeo,4657
|
|
1279
1279
|
mindsdb/integrations/handlers/reddit_handler/__about__.py,sha256=Xp4s3kJp-REycH83S1RLSaPZHpFqbn-MjRuQZ5BpBuQ,336
|
|
1280
1280
|
mindsdb/integrations/handlers/reddit_handler/__init__.py,sha256=n3dhcPIHT_89hQxEXKQbHApOGBGQxtvWxp-fvFL083s,496
|
|
1281
1281
|
mindsdb/integrations/handlers/reddit_handler/icon.svg,sha256=JAhHkvjiEfOz_BSbBVosQs8VXegNanxdnNUNz1bHyRM,3986
|
|
@@ -1530,7 +1530,7 @@ mindsdb/integrations/handlers/tidb_handler/tests/test_tidb_handler.py,sha256=2jW
|
|
|
1530
1530
|
mindsdb/integrations/handlers/timegpt_handler/__about__.py,sha256=wBHyAM5O7yWVgUKBGJwRM6gpy8FUWzcBxL048e4yjhA,390
|
|
1531
1531
|
mindsdb/integrations/handlers/timegpt_handler/__init__.py,sha256=lMvw91ghkXJj2RuXSi1om4KYc8xbNik3YwXcYA-Hld8,491
|
|
1532
1532
|
mindsdb/integrations/handlers/timegpt_handler/icon.svg,sha256=CfkLqkeZTKSjsQMKTx_KqkCqXvnHRyAAa1DVs-R1qiA,590
|
|
1533
|
-
mindsdb/integrations/handlers/timegpt_handler/requirements.txt,sha256=
|
|
1533
|
+
mindsdb/integrations/handlers/timegpt_handler/requirements.txt,sha256=AfBYvR80CShVm2CPUOonQgDHgcTxApeX5OTKgfkjB-I,14
|
|
1534
1534
|
mindsdb/integrations/handlers/timegpt_handler/timegpt_handler.py,sha256=rdAQhmGP_hqguShfHPNj5r5pBXZEla8A-4ErTQ0_LbY,9868
|
|
1535
1535
|
mindsdb/integrations/handlers/timescaledb_handler/__about__.py,sha256=joUHMPBAiylB7Uc7sipeFVWlWDZ_wqVqyyy_MivkNFI,355
|
|
1536
1536
|
mindsdb/integrations/handlers/timescaledb_handler/__init__.py,sha256=ynMpLqCRlYomZEFEinXmtYYGr0DPIMQZ9HtsytOpe6c,497
|
|
@@ -1614,8 +1614,8 @@ mindsdb/integrations/handlers/web_handler/__about__.py,sha256=CxQc3_pLSKuz1AnBj6
|
|
|
1614
1614
|
mindsdb/integrations/handlers/web_handler/__init__.py,sha256=vfphmqTz8VmQlD7fmeE3B900gkZLuQ8QWQEvYFbTUkE,504
|
|
1615
1615
|
mindsdb/integrations/handlers/web_handler/icon.svg,sha256=zd0x3UwSoGfJf7Vg5eAcaR4pEtkmJMZwVsgdha2Mtrc,1385
|
|
1616
1616
|
mindsdb/integrations/handlers/web_handler/requirements.txt,sha256=DGTAMisIfhU-7xWdii0CEOyiwNDYYKBTsD4F-fKnNRo,13
|
|
1617
|
-
mindsdb/integrations/handlers/web_handler/urlcrawl_helpers.py,sha256=
|
|
1618
|
-
mindsdb/integrations/handlers/web_handler/web_handler.py,sha256=
|
|
1617
|
+
mindsdb/integrations/handlers/web_handler/urlcrawl_helpers.py,sha256=KHX_f-7_7mLwhxQNLUPB-WUmGBlA04FtFJb4N2jBM2c,11304
|
|
1618
|
+
mindsdb/integrations/handlers/web_handler/web_handler.py,sha256=XjM_hJTTjaA2MLjX0pCJpY4gpejICjme89K63Ghrr-U,3493
|
|
1619
1619
|
mindsdb/integrations/handlers/webz_handler/__about__.py,sha256=WziIvpCflTd96urD_LFndy7sGYIxqzpfeql4yOTmt_Q,331
|
|
1620
1620
|
mindsdb/integrations/handlers/webz_handler/__init__.py,sha256=06qa6pqDB-83d_TkU82CNRQYpq54-mP3r6fILAMVjRw,521
|
|
1621
1621
|
mindsdb/integrations/handlers/webz_handler/icon.svg,sha256=Mvt32fMxE_p294_hTqGVY3vnRkbZOJ2a0n9M72aZjTk,1042
|
|
@@ -1644,7 +1644,8 @@ mindsdb/integrations/handlers/xata_handler/requirements.txt,sha256=D52V_FWSK6cpT
|
|
|
1644
1644
|
mindsdb/integrations/handlers/xata_handler/xata_handler.py,sha256=UpHEKmbJamoNEM0G7gR3UeJhgyZ1WIRcY9Jlf6JKPTk,13207
|
|
1645
1645
|
mindsdb/integrations/handlers/xata_handler/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1646
1646
|
mindsdb/integrations/handlers/youtube_handler/__about__.py,sha256=mhUWf5rM8hmHZsKyxyhGmjOMneU81yWltgLh4pMHI-g,347
|
|
1647
|
-
mindsdb/integrations/handlers/youtube_handler/__init__.py,sha256=
|
|
1647
|
+
mindsdb/integrations/handlers/youtube_handler/__init__.py,sha256=wz69UgXa3njxAci8Srh7FaIW2eLNuz45LR0sNiCux3I,583
|
|
1648
|
+
mindsdb/integrations/handlers/youtube_handler/connection_args.py,sha256=08xO6KHfAlFvgSq9QU6PxWDk9AmmPgXdx41ayKxHGAI,923
|
|
1648
1649
|
mindsdb/integrations/handlers/youtube_handler/icon.svg,sha256=uvNffuRPGVzPxWkbZzkSrw2SHm8M8c4GbeypiHPWDss,954
|
|
1649
1650
|
mindsdb/integrations/handlers/youtube_handler/requirements.txt,sha256=Hx27M_gHLgyZBIsNQZAcXYcnFtRgqlHvEgPnWhdisns,48
|
|
1650
1651
|
mindsdb/integrations/handlers/youtube_handler/youtube_handler.py,sha256=9ffQIU76A1SwyFrHrQt585NTiiAnMXdy785BHS0z3fg,5282
|
|
@@ -1682,14 +1683,14 @@ mindsdb/integrations/libs/api_handler_exceptions.py,sha256=mw83eTmo9knpVHP1ISnud
|
|
|
1682
1683
|
mindsdb/integrations/libs/base.py,sha256=fVs3nf98jfA9aH5O18ZlrGjhZuasYHwD9TrgF9fJ8Eo,12851
|
|
1683
1684
|
mindsdb/integrations/libs/const.py,sha256=Pbdv7K_SvOWSwANwu4FK2S0jkJYaRnVZpfx4SexxR8c,407
|
|
1684
1685
|
mindsdb/integrations/libs/ml_exec_base.py,sha256=lp4LGXZUfTaPfY4V44osJQfz0pq0-l3V4gc1vl4rWoc,17540
|
|
1685
|
-
mindsdb/integrations/libs/process_cache.py,sha256=
|
|
1686
|
+
mindsdb/integrations/libs/process_cache.py,sha256=Razi-ybfANk1KUdUL7X_lR1IxCBmozuc7CCg1EXaQ5s,16079
|
|
1686
1687
|
mindsdb/integrations/libs/realtime_chat_handler.py,sha256=bJxlLKzYUb8tYShRUsecdubZ_E0kWxzExXK-v37gqYc,1171
|
|
1687
1688
|
mindsdb/integrations/libs/response.py,sha256=iyadSLc5e7gY-rviaaoFNIrgIhDBJ-DZux062PxRRz8,3119
|
|
1688
1689
|
mindsdb/integrations/libs/storage_handler.py,sha256=g4rcAD4TzmxWmEtS00235_NAnrdulIir4If6E4y_OUo,3512
|
|
1689
1690
|
mindsdb/integrations/libs/vectordatabase_handler.py,sha256=-TcUIzSSX21DPOGh7zI0-nuumqaW0NgUCElXzouWXjg,17523
|
|
1690
1691
|
mindsdb/integrations/libs/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1691
1692
|
mindsdb/integrations/libs/llm/config.py,sha256=M14flGRcngP8n37sT8XLuJj5w-145B4IAyx3vLllogM,3548
|
|
1692
|
-
mindsdb/integrations/libs/llm/utils.py,sha256=
|
|
1693
|
+
mindsdb/integrations/libs/llm/utils.py,sha256=cQrPIfLuuMLMQvNIzuUuLz0El2Xa7PemywXXsNzCiig,24584
|
|
1693
1694
|
mindsdb/integrations/libs/ml_handler_process/__init__.py,sha256=TW1DslwZTaD8oeGaxPx99uYkPAeDIeHWAturBcnDBFU,756
|
|
1694
1695
|
mindsdb/integrations/libs/ml_handler_process/create_engine_process.py,sha256=YHbk1x7GEIZXcM0IazB2z2tvu5Yd24Fb4aJPpUg321A,788
|
|
1695
1696
|
mindsdb/integrations/libs/ml_handler_process/create_validation_process.py,sha256=-69NRhBGnNG0hgNi9O_W5LffIxPBUmuxy4bbQY2Z-_8,444
|
|
@@ -1714,7 +1715,7 @@ mindsdb/integrations/utilities/datasets/dataset.py,sha256=HjxaMAPuos3HaMsVsAm3q-
|
|
|
1714
1715
|
mindsdb/integrations/utilities/datasets/question_answering/fda_style_qa.csv,sha256=uEOevZwKVjtPScjDVvWfTl4VLvDrhL7D9_9DoRJu7ic,6906
|
|
1715
1716
|
mindsdb/integrations/utilities/datasets/question_answering/squad_v2_val_100_sample.csv,sha256=erj_BGVabfxDFi9TbTXSJ-OiixHRYnDzoJUJcWWeeQY,104035
|
|
1716
1717
|
mindsdb/integrations/utilities/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1717
|
-
mindsdb/integrations/utilities/files/file_reader.py,sha256=
|
|
1718
|
+
mindsdb/integrations/utilities/files/file_reader.py,sha256=MwityIR28k3lrLQeVxOufRNlATHDMihedLtqB8YhuBQ,11219
|
|
1718
1719
|
mindsdb/integrations/utilities/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1719
1720
|
mindsdb/integrations/utilities/handlers/api_utilities/__init__.py,sha256=zkvVb54zxtn4_NSwqCD-SVQG_5JI9EYRygb6EABQu7g,43
|
|
1720
1721
|
mindsdb/integrations/utilities/handlers/api_utilities/microsoft/__init__.py,sha256=xmcg0gXVY4WUIazM-aCjXXFikFonS6hI05GbdEs5_I8,56
|
|
@@ -1742,6 +1743,7 @@ mindsdb/integrations/utilities/rag/settings.py,sha256=aV4u5syOXMBOU-hXgOD9MfhRRP
|
|
|
1742
1743
|
mindsdb/integrations/utilities/rag/utils.py,sha256=AAMW1gybfAntUkAPb9AYUeWZUMtZAwWaYiLJcTHNB4A,1620
|
|
1743
1744
|
mindsdb/integrations/utilities/rag/vector_store.py,sha256=EwCdCf0dXwJXKOYfqTUPWEDOPLumWl2EKQiiXzgy8XA,3782
|
|
1744
1745
|
mindsdb/integrations/utilities/rag/chains/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1746
|
+
mindsdb/integrations/utilities/rag/chains/local_context_summarizer_chain.py,sha256=fBc68Qi0RWnmOX7oY17f7dDjcL0ChmendWACrQx-VAk,10000
|
|
1745
1747
|
mindsdb/integrations/utilities/rag/chains/map_reduce_summarizer_chain.py,sha256=ExhMuc2KOqkx5-StmHcnVKLatWTFyH0Bte0WkM-Bgno,10655
|
|
1746
1748
|
mindsdb/integrations/utilities/rag/loaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1747
1749
|
mindsdb/integrations/utilities/rag/loaders/file_loader.py,sha256=CZWcr1F2LHmiKxrQwqPModAlHCgJ4F9OLuVpaf14DR8,1868
|
|
@@ -1764,11 +1766,11 @@ mindsdb/integrations/utilities/rag/splitters/__init__.py,sha256=47DEQpj8HBSa-_TI
|
|
|
1764
1766
|
mindsdb/integrations/utilities/rag/splitters/file_splitter.py,sha256=O14E_27omTti4jsxhgTiwHtlR2LdCa9D2DiEgc7yKmc,5260
|
|
1765
1767
|
mindsdb/interfaces/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
1766
1768
|
mindsdb/interfaces/agents/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1767
|
-
mindsdb/interfaces/agents/agents_controller.py,sha256=
|
|
1768
|
-
mindsdb/interfaces/agents/callback_handlers.py,sha256=
|
|
1769
|
+
mindsdb/interfaces/agents/agents_controller.py,sha256=0olk7eQGGWVcpInnQgJD6HqMaWiI9sbofk0vVlg0kkk,18182
|
|
1770
|
+
mindsdb/interfaces/agents/callback_handlers.py,sha256=_iOUz-g5Hglf2wtfpx6ENKNCu2Cba-ZbpQtXyR2xElY,6700
|
|
1769
1771
|
mindsdb/interfaces/agents/constants.py,sha256=JUXpSW5PZxDZ84BD9zqZpU8u2tI2kUjHLZ1kVcDM7tY,4556
|
|
1770
1772
|
mindsdb/interfaces/agents/event_dispatch_callback_handler.py,sha256=-76yTtxTHO5AkFTtr_RvYfkdUROJHcKZx6KJDZvj_-M,1331
|
|
1771
|
-
mindsdb/interfaces/agents/langchain_agent.py,sha256=
|
|
1773
|
+
mindsdb/interfaces/agents/langchain_agent.py,sha256=tLZGH4Flfd_H87YDjZF3K9ofFvtr0vM_aCPPoE137D4,27483
|
|
1772
1774
|
mindsdb/interfaces/agents/langfuse_callback_handler.py,sha256=-51IWB5U2_m71xx00IwSOAK6gJ2n-HD_CzbtbmEfbBQ,11598
|
|
1773
1775
|
mindsdb/interfaces/agents/mindsdb_chat_model.py,sha256=9e_LxCKrCSOZWqURHWavw-FQUK9PLJ5O18IGYSHD9us,6051
|
|
1774
1776
|
mindsdb/interfaces/agents/mindsdb_database_agent.py,sha256=lk7UyE7tK807GXLBDr4-b2VVFUUzDtpMx2GjVtywv3o,2459
|
|
@@ -1782,22 +1784,22 @@ mindsdb/interfaces/chatbot/model_executor.py,sha256=qv8DRysWLbJwbv4TkQ-bsLmJOnDa
|
|
|
1782
1784
|
mindsdb/interfaces/chatbot/polling.py,sha256=Pi7oPGoz8_LB_4k4YGSPf2XtEdb5ca2augjRHxscn48,8109
|
|
1783
1785
|
mindsdb/interfaces/chatbot/types.py,sha256=nHFxK0FbxGrhv5gqPJc6PbP1LlIbWN-kTAHpS11iLZo,929
|
|
1784
1786
|
mindsdb/interfaces/database/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1785
|
-
mindsdb/interfaces/database/database.py,sha256=
|
|
1786
|
-
mindsdb/interfaces/database/integrations.py,sha256=
|
|
1787
|
+
mindsdb/interfaces/database/database.py,sha256=nEMwd0DmVWb5UbxamJkwMlx2QtgkgO8Eku--NpF-W1E,4292
|
|
1788
|
+
mindsdb/interfaces/database/integrations.py,sha256=B4dfcOCsUMKgX5teNEGrXwUBnrX5L2sUP34XvbUaSdk,36825
|
|
1787
1789
|
mindsdb/interfaces/database/log.py,sha256=tewoKWc-xvfbFC9RVaUUAjQGuRY__Lex8fbR_pwNMwc,11074
|
|
1788
1790
|
mindsdb/interfaces/database/projects.py,sha256=0ZjcqpDf437FmRhUk4z8YJR3MaoxtwJH60uPusLbfPU,15077
|
|
1789
1791
|
mindsdb/interfaces/database/views.py,sha256=CthbUly3OgOyFV8a-VRQwhjLh6I1LXbBUzMAcfu8USI,4404
|
|
1790
1792
|
mindsdb/interfaces/file/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1791
|
-
mindsdb/interfaces/file/file_controller.py,sha256=
|
|
1793
|
+
mindsdb/interfaces/file/file_controller.py,sha256=ebe0hEZhOHbrMhVg84XW33Jl1jUeo2uARKGp_NWBkKY,8626
|
|
1792
1794
|
mindsdb/interfaces/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1793
1795
|
mindsdb/interfaces/functions/controller.py,sha256=8kyWA8TnMsRDyIl2s3JcvdGYeww4_Qmf-jYq_wwOYH4,6057
|
|
1794
1796
|
mindsdb/interfaces/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1795
1797
|
mindsdb/interfaces/jobs/jobs_controller.py,sha256=xBleXIpGLZ_Sg3j5e7BeTRV-Hp6ELMuFuQwtVZyQ72s,18247
|
|
1796
|
-
mindsdb/interfaces/jobs/scheduler.py,sha256=
|
|
1798
|
+
mindsdb/interfaces/jobs/scheduler.py,sha256=eHBWTpZozI_AC-hKmg4p0qRoGZW8O3gEt5Y9nDhHWpw,3696
|
|
1797
1799
|
mindsdb/interfaces/knowledge_base/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1798
1800
|
mindsdb/interfaces/knowledge_base/controller.py,sha256=2DhhWQmZXDtWuQnSEa-J4m-HEvr6fsvBZ5Chs8xS9QA,36304
|
|
1799
1801
|
mindsdb/interfaces/knowledge_base/preprocessing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1800
|
-
mindsdb/interfaces/knowledge_base/preprocessing/constants.py,sha256=
|
|
1802
|
+
mindsdb/interfaces/knowledge_base/preprocessing/constants.py,sha256=iW5q65albIfTT1ZuxNceJ8o7yrOcttCH1Kx4Vdo-iPY,296
|
|
1801
1803
|
mindsdb/interfaces/knowledge_base/preprocessing/document_loader.py,sha256=t0ilsEKWLAC0iJrWNPnZXY4DxRNQjvwv4CweeHR9u0g,5542
|
|
1802
1804
|
mindsdb/interfaces/knowledge_base/preprocessing/document_preprocessor.py,sha256=RdASLNgDdvfjwLawIqsSQeQKX2qf411e5N7bjQuCNmQ,14604
|
|
1803
1805
|
mindsdb/interfaces/knowledge_base/preprocessing/models.py,sha256=s0O29xo7V1fjUgee6fN7kkKdMOBrnFLyx3nwkBaxLfY,3790
|
|
@@ -1810,14 +1812,14 @@ mindsdb/interfaces/query_context/last_query.py,sha256=LbZwvPtDYJFVBRonJr6RgGZyCb
|
|
|
1810
1812
|
mindsdb/interfaces/skills/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
1811
1813
|
mindsdb/interfaces/skills/retrieval_tool.py,sha256=zuEEPky--GdKHa1rqd4VhM2wgtlGas5G72eFbooj-Hg,4480
|
|
1812
1814
|
mindsdb/interfaces/skills/skill_tool.py,sha256=8YjAmQ8PM0dhO8pRfKuwO2Bf3bKizLARelztjbwNz4c,12925
|
|
1813
|
-
mindsdb/interfaces/skills/skills_controller.py,sha256=
|
|
1814
|
-
mindsdb/interfaces/skills/sql_agent.py,sha256=
|
|
1815
|
+
mindsdb/interfaces/skills/skills_controller.py,sha256=ve7Vb5Q1QlNqMJO5ZoAZLnsRpvQLhtz7oDmKsAvUA0s,6176
|
|
1816
|
+
mindsdb/interfaces/skills/sql_agent.py,sha256=ResOUpthG2o7C6w5qNyvQeCoT7fuaExQsRQA9TzKXVE,14619
|
|
1815
1817
|
mindsdb/interfaces/skills/custom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1816
1818
|
mindsdb/interfaces/skills/custom/text2sql/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1817
1819
|
mindsdb/interfaces/skills/custom/text2sql/mindsdb_sql_tool.py,sha256=n7r08idG9Qaa0C41HokUf-w72yyACoINOFKGgtNVHLA,1375
|
|
1818
1820
|
mindsdb/interfaces/skills/custom/text2sql/mindsdb_sql_toolkit.py,sha256=08WyJXYJ_hP7JYLvwaSWuJN6Q1PLgIAvh7bcgsV-0XU,7962
|
|
1819
1821
|
mindsdb/interfaces/storage/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
1820
|
-
mindsdb/interfaces/storage/db.py,sha256=
|
|
1822
|
+
mindsdb/interfaces/storage/db.py,sha256=jvE0kNpSn9NHukoRv3R4P3-CmjwmcRt2oFAxx2Y3_uw,19024
|
|
1821
1823
|
mindsdb/interfaces/storage/fs.py,sha256=4Nyo-h23UtZc2nz_LWyVzboC_e1jlU58aph1_en8MdE,21155
|
|
1822
1824
|
mindsdb/interfaces/storage/json.py,sha256=KdrmXfqVCNZ_anNpfyygcFQeywbdJMCMbaI3HFJic-U,2925
|
|
1823
1825
|
mindsdb/interfaces/storage/model_fs.py,sha256=LQHyIs3wlOEpFHceAjziA7zuQKY3N-8gt9EuSYHO8zI,8267
|
|
@@ -1890,11 +1892,13 @@ mindsdb/migrations/versions/2024-11-19_0f89b523f346_agent_skills_parameters.py,s
|
|
|
1890
1892
|
mindsdb/migrations/versions/2024-11-28_a8a3fac369e7_llm_log_json_in_out.py,sha256=1qQl720lynCbtcGqKIbFM0HCo81xIXqz0Hj3dWkH6UI,3174
|
|
1891
1893
|
mindsdb/migrations/versions/2024-11-29_f6dc924079fa_predictor_training_metadata.py,sha256=nCnp-M3ljIEAO9XTc5mSURp2SX5Q8gE6kyJHp5J5vmo,1322
|
|
1892
1894
|
mindsdb/migrations/versions/2025-01-15_c06c35f7e8e1_project_company.py,sha256=zJcBGdgBMlt9oI-SbB8C74w-jDf3ZMYlEuO2guwrfZw,1896
|
|
1895
|
+
mindsdb/migrations/versions/2025-02-09_4943359e354a_file_metadata.py,sha256=0-QqeVZECfpjKwe86PEwQ9dPgo6Pgmkp_213wTHYiPk,826
|
|
1896
|
+
mindsdb/migrations/versions/2025-02-10_6ab9903fc59a_del_log_table.py,sha256=V46GpRW1Oeg2M5BpBBpwZ2MrYcpAoCSrWfGoHhPXqYs,839
|
|
1893
1897
|
mindsdb/migrations/versions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1894
1898
|
mindsdb/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1895
1899
|
mindsdb/utilities/auth.py,sha256=6ycLJgXySghgFdzK6emxdStElzt5aOPafjDCRR_g_q0,2336
|
|
1896
1900
|
mindsdb/utilities/cache.py,sha256=6VV5BJ0EWPYK2h80KEM1ETMhw_OCgDKyU6Pejvj1s3E,7431
|
|
1897
|
-
mindsdb/utilities/config.py,sha256=
|
|
1901
|
+
mindsdb/utilities/config.py,sha256=aAeLPcwDqlWPL_dzcpo26PdnorHzsbW4L8w_L_yHn28,20739
|
|
1898
1902
|
mindsdb/utilities/context.py,sha256=LyKNgtavQnAfZpaPHINhrA_9L_SjfURUBD9fZNtuQMQ,1813
|
|
1899
1903
|
mindsdb/utilities/context_executor.py,sha256=6ByyeulMePEfRrGxR9vlKYF87R8z1wHFwc1GdfhlGCk,1946
|
|
1900
1904
|
mindsdb/utilities/exception.py,sha256=q-9cwMLmQvuPpwdjRG0xNZ23z9cxHSfyT2295Rk6waA,1034
|
|
@@ -1902,14 +1906,12 @@ mindsdb/utilities/fs.py,sha256=1ezB-EkY-qhIBBC_qRUAn79D0CbxCyVDfEdrY2pp1JA,4657
|
|
|
1902
1906
|
mindsdb/utilities/functions.py,sha256=CQ87uYz7elOeklHbl7vQdK6QPKpTLGWHAOEKW-lKq5Q,6398
|
|
1903
1907
|
mindsdb/utilities/json_encoder.py,sha256=-nWynBlL7AwRyrM8gkiXPvPzk97EBJawryCA-ZO_7-A,1094
|
|
1904
1908
|
mindsdb/utilities/langfuse.py,sha256=SzJ7db-BZIiYiOs27jxmeUAp554W9jFFiuiWy87FNs4,9270
|
|
1905
|
-
mindsdb/utilities/log.py,sha256=
|
|
1906
|
-
mindsdb/utilities/log_controller.py,sha256=B70FF1P1-kkpujpSAkxhu9FCZARKXfvov-SBl3oiobA,1039
|
|
1909
|
+
mindsdb/utilities/log.py,sha256=krqJoAsKrrg9bk8X0QfCbbk7CN_f7BS6wm-0aVjkrGc,4401
|
|
1907
1910
|
mindsdb/utilities/partitioning.py,sha256=W84Nj8t2pveOo1ZfWuuYrSTOlOaZhLTPEaDxbE6BlyY,1466
|
|
1908
1911
|
mindsdb/utilities/ps.py,sha256=vsY7119OJGYd_n1FXT_FuMTfUL3dVr3WiTRyASaGD00,2339
|
|
1909
1912
|
mindsdb/utilities/security.py,sha256=Mdj3c9Y2BFiEmwKY7J-yrbYdQ6oMgWENPE1XIu4tidk,1506
|
|
1910
1913
|
mindsdb/utilities/sentry.py,sha256=PMI55LbYvCi8NLmI3QgCNL1M8bymVr8J4JBTywAl1WE,2420
|
|
1911
1914
|
mindsdb/utilities/starters.py,sha256=PknV9T2RdnEN7ekgt0ru_PYYT20NlFEPz3LrH8kws2w,818
|
|
1912
|
-
mindsdb/utilities/telemetry.py,sha256=E1RAdG3g4BwUuD5rx6MpFVP1J1gEd6O4AzHTND6ql1A,1377
|
|
1913
1915
|
mindsdb/utilities/utils.py,sha256=RZcPZtM5o1PPYOQmooHSTDn2yP909LGKm9whjVzTr28,1089
|
|
1914
1916
|
mindsdb/utilities/wizards.py,sha256=vlWb50BSmBomj4jMGVc-DABx88GGAaWWqZf8RxA6O-0,1708
|
|
1915
1917
|
mindsdb/utilities/hooks/__init__.py,sha256=HDPLuCxND4GUj5biGVfYeCmMZipMIyTG5WCOU3k654E,796
|
|
@@ -1917,7 +1919,7 @@ mindsdb/utilities/hooks/profiling.py,sha256=rku6YqVRv1cL0V62aZEw3dzrv5WQcFkoOut_
|
|
|
1917
1919
|
mindsdb/utilities/ml_task_queue/__init__.py,sha256=fwDJ5M5cmXQNjNLBUq-sChjahZ9mjYVL4gAU6VoKQA0,2810
|
|
1918
1920
|
mindsdb/utilities/ml_task_queue/base.py,sha256=eHOUIi9R9GnAt9Xjuip2VMxiroMFgFshhs7cW9hoS2U,453
|
|
1919
1921
|
mindsdb/utilities/ml_task_queue/const.py,sha256=o-WWuREP7sXsjTo5Ok1awEtrE6KTB51ZzGfSMuDZUV4,607
|
|
1920
|
-
mindsdb/utilities/ml_task_queue/consumer.py,sha256=
|
|
1922
|
+
mindsdb/utilities/ml_task_queue/consumer.py,sha256=jYORLKMdWKYGUgIIRcnY-RSI3JSA2nmXeC_68OvQwco,9569
|
|
1921
1923
|
mindsdb/utilities/ml_task_queue/producer.py,sha256=x0s1_xcqtUaT5Og0TdErgWmN1Jp236byzvd2N2HMO34,2764
|
|
1922
1924
|
mindsdb/utilities/ml_task_queue/task.py,sha256=h6PimSa_AXFo_xvEJGvhDhxiCI54VN2VebVQn0QpAsQ,3166
|
|
1923
1925
|
mindsdb/utilities/ml_task_queue/utils.py,sha256=2bmO5cbgqsXuMkolcaK54_VYjoGKIpg60B2t4XRNboU,3239
|
|
@@ -1929,9 +1931,9 @@ mindsdb/utilities/otel/metric_handlers/__init__.py,sha256=3jGsLt5KkdhqaAUUw8ALxE
|
|
|
1929
1931
|
mindsdb/utilities/profiler/__init__.py,sha256=d4VXl80uSm1IotR-WwbBInPmLmACiK0AzxXGBA40I-0,251
|
|
1930
1932
|
mindsdb/utilities/profiler/profiler.py,sha256=KCUtOupkbM_nCoof9MtiuhUzDGezx4a4NsBX6vGWbPA,3936
|
|
1931
1933
|
mindsdb/utilities/render/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1932
|
-
mindsdb/utilities/render/sqlalchemy_render.py,sha256
|
|
1933
|
-
MindsDB-25.2.
|
|
1934
|
-
MindsDB-25.2.
|
|
1935
|
-
MindsDB-25.2.
|
|
1936
|
-
MindsDB-25.2.
|
|
1937
|
-
MindsDB-25.2.
|
|
1934
|
+
mindsdb/utilities/render/sqlalchemy_render.py,sha256=jVzdLD691hCs26wsUfhj6VDC8YIjL5hX0P9zNzSszH4,30311
|
|
1935
|
+
MindsDB-25.2.4.0.dist-info/LICENSE,sha256=ziqdjujs6WDn-9g3t0SISjHCBc2pLRht3gnRbQoXmIs,5804
|
|
1936
|
+
MindsDB-25.2.4.0.dist-info/METADATA,sha256=Lxej9kfassD1zQnNsjAdqKuTJr2GGrDOIh7_uoglCU8,41821
|
|
1937
|
+
MindsDB-25.2.4.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
1938
|
+
MindsDB-25.2.4.0.dist-info/top_level.txt,sha256=10wPR96JDf3hM8aMP7Fz0lDlmClEP480zgXISJKr5jE,8
|
|
1939
|
+
MindsDB-25.2.4.0.dist-info/RECORD,,
|
mindsdb/__about__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
__title__ = 'MindsDB'
|
|
2
2
|
__package_name__ = 'mindsdb'
|
|
3
|
-
__version__ = '25.2.
|
|
3
|
+
__version__ = '25.2.4.0'
|
|
4
4
|
__description__ = "MindsDB's AI SQL Server enables developers to build AI tools that need access to real-time data to perform their tasks"
|
|
5
5
|
__email__ = "jorge@mindsdb.com"
|
|
6
6
|
__author__ = 'MindsDB Inc'
|
mindsdb/__main__.py
CHANGED
|
@@ -31,7 +31,6 @@ from mindsdb.interfaces.database.integrations import integration_controller
|
|
|
31
31
|
import mindsdb.interfaces.storage.db as db
|
|
32
32
|
from mindsdb.integrations.utilities.install import install_dependencies
|
|
33
33
|
from mindsdb.utilities.fs import clean_process_marks, clean_unlinked_process_marks
|
|
34
|
-
from mindsdb.utilities.telemetry import telemetry_file_exists, disable_telemetry
|
|
35
34
|
from mindsdb.utilities.context import context as ctx
|
|
36
35
|
from mindsdb.utilities.auth import register_oauth_client, get_aws_meta_data
|
|
37
36
|
from mindsdb.utilities.sentry import sentry_sdk # noqa: F401
|
|
@@ -248,15 +247,6 @@ if __name__ == '__main__':
|
|
|
248
247
|
config.raise_warnings(logger=logger)
|
|
249
248
|
os.environ["MINDSDB_RUNTIME"] = "1"
|
|
250
249
|
|
|
251
|
-
if telemetry_file_exists(config.paths['root']):
|
|
252
|
-
os.environ['CHECK_FOR_UPDATES'] = '0'
|
|
253
|
-
logger.info('\n x telemetry disabled! \n')
|
|
254
|
-
elif os.getenv('CHECK_FOR_UPDATES', '1').lower() in ['0', 'false', 'False'] or config.is_cloud:
|
|
255
|
-
disable_telemetry(config.paths['root'])
|
|
256
|
-
logger.info('\n x telemetry disabled! \n')
|
|
257
|
-
else:
|
|
258
|
-
logger.info("✓ telemetry enabled")
|
|
259
|
-
|
|
260
250
|
if os.environ.get("FLASK_SECRET_KEY") is None:
|
|
261
251
|
os.environ["FLASK_SECRET_KEY"] = secrets.token_hex(32)
|
|
262
252
|
|
|
@@ -548,7 +538,7 @@ if __name__ == '__main__':
|
|
|
548
538
|
ioloop = asyncio.new_event_loop()
|
|
549
539
|
ioloop.run_until_complete(wait_apis_start())
|
|
550
540
|
|
|
551
|
-
threading.Thread(target=do_clean_process_marks).start()
|
|
541
|
+
threading.Thread(target=do_clean_process_marks, name='clean_process_marks').start()
|
|
552
542
|
|
|
553
543
|
ioloop.run_until_complete(gather_apis())
|
|
554
544
|
ioloop.close()
|
|
@@ -14,7 +14,10 @@ logger = log.getLogger(__name__)
|
|
|
14
14
|
|
|
15
15
|
def _get_scope(query):
|
|
16
16
|
databases, tables = None, None
|
|
17
|
-
|
|
17
|
+
try:
|
|
18
|
+
conditions = extract_comparison_conditions(query.where)
|
|
19
|
+
except NotImplementedError:
|
|
20
|
+
return databases, tables
|
|
18
21
|
for op, arg1, arg2 in conditions:
|
|
19
22
|
if op == '=':
|
|
20
23
|
scope = [arg2]
|
mindsdb/api/http/initialize.py
CHANGED
|
@@ -48,7 +48,6 @@ from mindsdb.utilities.config import Config
|
|
|
48
48
|
from mindsdb.utilities.context import context as ctx
|
|
49
49
|
from mindsdb.utilities.json_encoder import CustomJSONProvider
|
|
50
50
|
from mindsdb.utilities.ps import is_pid_listen_port, wait_func_is_true
|
|
51
|
-
from mindsdb.utilities.telemetry import inject_telemetry_to_static
|
|
52
51
|
from mindsdb.utilities.sentry import sentry_sdk # noqa: F401
|
|
53
52
|
from mindsdb.utilities.otel import trace # noqa: F401
|
|
54
53
|
from opentelemetry.instrumentation.flask import FlaskInstrumentor # noqa: F401
|
|
@@ -200,7 +199,7 @@ def initialize_app(config, no_studio):
|
|
|
200
199
|
or gui_exists is False
|
|
201
200
|
)
|
|
202
201
|
):
|
|
203
|
-
init_static_thread = threading.Thread(target=initialize_static)
|
|
202
|
+
init_static_thread = threading.Thread(target=initialize_static, name='initialize_static')
|
|
204
203
|
init_static_thread.start()
|
|
205
204
|
|
|
206
205
|
app, api = initialize_flask(config, init_static_thread, no_studio)
|
|
@@ -420,8 +419,13 @@ def initialize_flask(config, init_static_thread, no_studio):
|
|
|
420
419
|
logger.info(f" - GUI available at {url}")
|
|
421
420
|
|
|
422
421
|
pid = os.getpid()
|
|
423
|
-
|
|
424
|
-
|
|
422
|
+
thread = threading.Thread(
|
|
423
|
+
target=_open_webbrowser,
|
|
424
|
+
args=(url, pid, port, init_static_thread, config['paths']['static']),
|
|
425
|
+
daemon=True,
|
|
426
|
+
name='open_webbrowser'
|
|
427
|
+
)
|
|
428
|
+
thread.start()
|
|
425
429
|
|
|
426
430
|
return app, api
|
|
427
431
|
|
|
@@ -441,7 +445,6 @@ def _open_webbrowser(url: str, pid: int, port: int, init_static_thread, static_f
|
|
|
441
445
|
"""
|
|
442
446
|
if init_static_thread is not None:
|
|
443
447
|
init_static_thread.join()
|
|
444
|
-
inject_telemetry_to_static(static_folder)
|
|
445
448
|
try:
|
|
446
449
|
is_http_active = wait_func_is_true(
|
|
447
450
|
func=is_pid_listen_port, timeout=15, pid=pid, port=port
|
|
@@ -293,13 +293,6 @@ def _completion_event_generator(
|
|
|
293
293
|
def json_serialize(data):
|
|
294
294
|
return f'data: {json.dumps(data)}\n\n'
|
|
295
295
|
|
|
296
|
-
quick_response_message = {
|
|
297
|
-
'role': 'assistant',
|
|
298
|
-
'content': AGENT_QUICK_RESPONSE
|
|
299
|
-
}
|
|
300
|
-
yield json_serialize({"quick_response": True, "messages": [quick_response_message]})
|
|
301
|
-
logger.info("Quick response sent")
|
|
302
|
-
|
|
303
296
|
try:
|
|
304
297
|
# Populate API key by default if not present.
|
|
305
298
|
session = SessionController()
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import os
|
|
2
1
|
import copy
|
|
3
2
|
import shutil
|
|
4
|
-
import datetime
|
|
5
3
|
import tempfile
|
|
6
4
|
from pathlib import Path
|
|
7
5
|
from http import HTTPStatus
|
|
8
6
|
|
|
9
|
-
from dateutil.tz import tzlocal
|
|
10
|
-
from dateutil.parser import parse as parse_datetime
|
|
11
7
|
from flask import request
|
|
12
8
|
from flask_restx import Resource
|
|
13
9
|
from flask import current_app as ca
|
|
@@ -17,7 +13,6 @@ from mindsdb.api.http.utils import http_error
|
|
|
17
13
|
from mindsdb.metrics.metrics import api_endpoint_metrics
|
|
18
14
|
from mindsdb.utilities import log
|
|
19
15
|
from mindsdb.utilities.functions import decrypt, encrypt
|
|
20
|
-
from mindsdb.utilities.log_controller import get_logs
|
|
21
16
|
from mindsdb.utilities.config import Config
|
|
22
17
|
from mindsdb.integrations.libs.response import HandlerStatusResponse
|
|
23
18
|
|
|
@@ -25,23 +20,6 @@ from mindsdb.integrations.libs.response import HandlerStatusResponse
|
|
|
25
20
|
logger = log.getLogger(__name__)
|
|
26
21
|
|
|
27
22
|
|
|
28
|
-
@ns_conf.route('/logs')
|
|
29
|
-
@ns_conf.param('name', 'Get logs')
|
|
30
|
-
class GetLogs(Resource):
|
|
31
|
-
@ns_conf.doc('get_integrations')
|
|
32
|
-
@api_endpoint_metrics('GET', '/config/logs')
|
|
33
|
-
def get(self):
|
|
34
|
-
min_timestamp = parse_datetime(request.args['min_timestamp'])
|
|
35
|
-
max_timestamp = request.args.get('max_timestamp', None)
|
|
36
|
-
context = request.args.get('context', None)
|
|
37
|
-
level = request.args.get('level', None)
|
|
38
|
-
log_from = request.args.get('log_from', None)
|
|
39
|
-
limit = request.args.get('limit', None)
|
|
40
|
-
|
|
41
|
-
logs = get_logs(min_timestamp, max_timestamp, context, level, log_from, limit)
|
|
42
|
-
return {'data': logs}
|
|
43
|
-
|
|
44
|
-
|
|
45
23
|
@ns_conf.route('/')
|
|
46
24
|
@ns_conf.param('name', 'Get config')
|
|
47
25
|
class GetConfig(Resource):
|
|
@@ -258,29 +236,3 @@ class Integration(Resource):
|
|
|
258
236
|
f"Error during integration modification: {str(e)}"
|
|
259
237
|
)
|
|
260
238
|
return "", 200
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
@ns_conf.route('/vars')
|
|
264
|
-
class Vars(Resource):
|
|
265
|
-
@api_endpoint_metrics('GET', '/config/vars')
|
|
266
|
-
def get(self):
|
|
267
|
-
if os.getenv('CHECK_FOR_UPDATES', '1').lower() in ['0', 'false']:
|
|
268
|
-
telemtry = False
|
|
269
|
-
else:
|
|
270
|
-
telemtry = True
|
|
271
|
-
|
|
272
|
-
if ca.config_obj.get('disable_mongo', False):
|
|
273
|
-
mongo = False
|
|
274
|
-
else:
|
|
275
|
-
mongo = True
|
|
276
|
-
|
|
277
|
-
cloud = ca.config_obj.get('cloud', False)
|
|
278
|
-
local_time = datetime.datetime.now(tzlocal())
|
|
279
|
-
local_timezone = local_time.tzname()
|
|
280
|
-
|
|
281
|
-
return {
|
|
282
|
-
'mongo': mongo,
|
|
283
|
-
'telemtry': telemtry,
|
|
284
|
-
'cloud': cloud,
|
|
285
|
-
'timezone': local_timezone,
|
|
286
|
-
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
import tempfile
|
|
1
3
|
import time
|
|
2
4
|
from typing import Dict
|
|
3
|
-
from
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
import shutil
|
|
4
7
|
from sqlalchemy.exc import NoResultFound
|
|
5
8
|
|
|
6
9
|
from flask import request
|
|
@@ -94,6 +97,71 @@ class DatabasesResource(Resource):
|
|
|
94
97
|
return new_integration, HTTPStatus.CREATED
|
|
95
98
|
|
|
96
99
|
|
|
100
|
+
@ns_conf.route('/status')
|
|
101
|
+
class DatabasesStatusResource(Resource):
|
|
102
|
+
@ns_conf.doc('check_database_connection_status')
|
|
103
|
+
@api_endpoint_metrics('POST', '/databases/status')
|
|
104
|
+
def post(self):
|
|
105
|
+
'''Check the connection parameters for a database'''
|
|
106
|
+
data = {}
|
|
107
|
+
if request.content_type == 'application/json':
|
|
108
|
+
data.update(request.json or {})
|
|
109
|
+
elif request.content_type.startswith('multipart/form-data'):
|
|
110
|
+
data.update(request.form or {})
|
|
111
|
+
|
|
112
|
+
if 'engine' not in data:
|
|
113
|
+
return http_error(
|
|
114
|
+
HTTPStatus.BAD_REQUEST, 'Wrong argument',
|
|
115
|
+
'Missing "engine" field for database'
|
|
116
|
+
)
|
|
117
|
+
|
|
118
|
+
engine = data['engine']
|
|
119
|
+
parameters = data
|
|
120
|
+
del parameters['engine']
|
|
121
|
+
|
|
122
|
+
files = request.files
|
|
123
|
+
temp_dir = None
|
|
124
|
+
if files is not None and len(files) > 0:
|
|
125
|
+
temp_dir = tempfile.mkdtemp(prefix='integration_files_')
|
|
126
|
+
for key, file in files.items():
|
|
127
|
+
temp_dir_path = Path(temp_dir)
|
|
128
|
+
file_name = Path(file.filename)
|
|
129
|
+
file_path = temp_dir_path.joinpath(file_name).resolve()
|
|
130
|
+
if temp_dir_path not in file_path.parents:
|
|
131
|
+
raise Exception(f'Can not save file at path: {file_path}')
|
|
132
|
+
file.save(file_path)
|
|
133
|
+
parameters[key] = str(file_path)
|
|
134
|
+
|
|
135
|
+
session = SessionController()
|
|
136
|
+
|
|
137
|
+
try:
|
|
138
|
+
handler = session.integration_controller.create_tmp_handler("test_connection", engine, parameters)
|
|
139
|
+
status = handler.check_connection()
|
|
140
|
+
except ImportError as import_error:
|
|
141
|
+
status = HandlerStatusResponse(success=False, error_message=str(import_error))
|
|
142
|
+
except Exception as unknown_error:
|
|
143
|
+
status = HandlerStatusResponse(success=False, error_message=str(unknown_error))
|
|
144
|
+
finally:
|
|
145
|
+
if temp_dir is not None:
|
|
146
|
+
shutil.rmtree(temp_dir)
|
|
147
|
+
|
|
148
|
+
if not status.success:
|
|
149
|
+
if hasattr(status, 'redirect_url') and isinstance(status, str):
|
|
150
|
+
return {
|
|
151
|
+
"status": "redirect_required",
|
|
152
|
+
"redirect_url": status.redirect_url,
|
|
153
|
+
"detail": status.error_message
|
|
154
|
+
}, HTTPStatus.OK
|
|
155
|
+
return {
|
|
156
|
+
"status": "connection_error",
|
|
157
|
+
"detail": status.error_message
|
|
158
|
+
}, HTTPStatus.OK
|
|
159
|
+
|
|
160
|
+
return {
|
|
161
|
+
"status": "success",
|
|
162
|
+
}, HTTPStatus.OK
|
|
163
|
+
|
|
164
|
+
|
|
97
165
|
@ns_conf.route('/<database_name>')
|
|
98
166
|
class DatabaseResource(Resource):
|
|
99
167
|
@ns_conf.doc('get_database')
|
|
@@ -233,7 +233,7 @@ class KnowledgeBaseResource(Resource):
|
|
|
233
233
|
if kb_data.get('urls'):
|
|
234
234
|
table.insert_web_pages(
|
|
235
235
|
urls=kb_data['urls'],
|
|
236
|
-
limit=kb_data.get('limit'
|
|
236
|
+
limit=kb_data.get('limit') or DEFAULT_WEB_CRAWL_LIMIT,
|
|
237
237
|
crawl_depth=kb_data.get('crawl_depth', DEFAULT_CRAWL_DEPTH),
|
|
238
238
|
filters=kb_data.get('filters', DEFAULT_WEB_FILTERS)
|
|
239
239
|
)
|