db-copilot-tool

View on PyPIReverse Dependencies (0)

0.0.8 db_copilot_tool-0.0.8-py3-none-any.whl

Wheel Details

Project: db-copilot-tool
Version: 0.0.8
Filename: db_copilot_tool-0.0.8-py3-none-any.whl
Download: [link]
Size: 1393906
MD5: a2cfea703e279c294fd9988eeee411f2
SHA256: 42085f71a3f52cb30added0014a31302477c96082404bf8886e0b2dace66dc65
Uploaded: 2024-07-24 08:41:35 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: db_copilot_tool
Version: 0.0.8
Summary: nl2sql tool for prompt flow
Author: Microsoft Corporation
Author-Email: xiangrao[at]microsoft.com
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.8
Requires-Dist: Pympler (<2.0.0,>=1.0.1)
Requires-Dist: azure-storage-blob (<13.0.0,>=12.16.0)
Requires-Dist: backoff (<3.0.0,>=2.2.1)
Requires-Dist: emoji (<2.0.0,>=1.7.0)
Requires-Dist: faiss-cpu (<2.0.0,>=1.7.3)
Requires-Dist: filelock (<4.0.0,>=3.11.0)
Requires-Dist: huggingface-hub (<0.22.0,>=0.21.1)
Requires-Dist: openai (>=1.12.0)
Requires-Dist: opencensus-ext-azure (<2.0.0,>=1.1.9)
Requires-Dist: pandas (<2.0.0,>=1.5.3)
Requires-Dist: protobuf (<5.0.0,>=4.22.0)
Requires-Dist: pyodbc (<5.0.0,>=4.0.35)
Requires-Dist: requests (<3.0.0,>=2.27.1)
Requires-Dist: sqlparse (<0.5.0,>=0.4.4)
Requires-Dist: tabulate (<0.10.0,>=0.9.0)
Requires-Dist: tqdm (<5.0.0,>=4.63.0)
Requires-Dist: diskcache
Requires-Dist: azureml-core
Requires-Dist: retrying
Requires-Dist: azureml-telemetry
Description-Content-Type: text/markdown
[Description omitted; length: 2624 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (70.3.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
db_copilot/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
db_copilot/chat.py sha256=-XyRxbFuUt-egwDpaiLYfeD_DuqmLHrMIkK82-txxmE 9902
db_copilot/follow_up.py sha256=WrTel8jgHuWmJgeDlDpJgeUQ36Gnc-1G9MHtJb4LV9M 8993
db_copilot/lib.py sha256=MLOeq8frLehFH9LsSV8W07wdEJiyZIGUMxuA90wZLIc 1026
db_copilot/llm.py sha256=xh4fgjZ17mpjPYgMT0MWVv37IqUOSJpAF6hon00Db0o 14459
db_copilot/memory_manager.py sha256=9pFPfApbAgx2J9Kni3MKT0Y5l77kDuer2gOVe1YY11Q 2271
db_copilot/obfuscator sha256=OdhNL_XrfZ1NeqJZ5dAVTChmTY0MYTlHq9eUmoY5JYs 338232
db_copilot/obfuscator.exe sha256=Xqc0iN_YAVk9l7VxOq8BHBamZpnc3gNIFIn-zYQ8jcs 178688
db_copilot/planner.py sha256=tXivDJiTudK4q-vfaAMuaNKU4dNVdSy99jYhM9LewrA 14334
db_copilot/planner.py.encode sha256=Vip3pVobembdCIgj83qsyb9R-x29jV-hj6D-zEnB6zQ 18744
db_copilot/suggestion.py sha256=7zHQ_kdYTonhKwkuwO73inxVbK4bd_XnPPtUj2bA4is 4444
db_copilot/tool.py sha256=yL9tMGbd0DwJhMnylhw1Uc_nkh04b4L1E1XuSFHA_rA 5321
db_copilot/analysis/__init__.py sha256=PtRnf6m_GliYoEB3F7x5TkWD8Ij2WxK4Lst7gTF2DRk 72
db_copilot/analysis/analysis_com.py sha256=hudZwGpklAJIXnei2QUDSlEpeNrAXrIs_0yZIY2TRLE 3443
db_copilot/analysis/analysis_tool.py sha256=OjXm9veSU1v56kOn0QXDxGQAfWYMZsgqeulB8VFxn0w 5185
db_copilot/analysis/auto_analyzer.py sha256=D9HeIWltF26OnzRqYQLNdZgSLdcYkflukPOI1A4KlaQ 2864
db_copilot/analysis/ols_analyzer.py sha256=oz7xvrEbtkqvdYwSOTfo_Ci1dljc3kgPeMTFxtiVNfw 2247
db_copilot/contract/__init__.py sha256=xEdUmnrCX7uxf6g9GbcQRAOjewPEv6MWKfbkTdABj2E 267
db_copilot/contract/api_core.py sha256=mgWojtoZYujx5njsRrTus_jh_iOBvzJ6KhwxdkLUDLg 964
db_copilot/contract/chat_core.py sha256=TFLFe030mXT4CeOo9t7lNZtnMGlSKUXkzsb-wEV4lrE 867
db_copilot/contract/data_core.py sha256=ogTQeHx4pks9Tjg92g-j0XsgYTTRa-nyJCBX7yDlrGU 7005
db_copilot/contract/db_core.py sha256=Ghp8n-WgKUpgH1eoMhy71XBzCnYfIrGhWB-L0zuDS34 12646
db_copilot/contract/db_provider.py sha256=Yh2ysH1Ergi8Jb7U9ApIIYxSzB4gwCw8A65WHp4jvqY 2313
db_copilot/contract/embedding_core.py sha256=MWCzlFAT9zpQpqCCu48uYD6yzYbe93ldHXYty3XeANw 673
db_copilot/contract/generic.py sha256=fJg616eMy9JPhtwnsrSYNtl_IxOJtagziyAl9xNWmHY 3378
db_copilot/contract/knowledge_core.py sha256=JKISGQZGeqNKG8ON-tX-7e3y_ApsHaQ3bTs4JzpFh7s 4015
db_copilot/contract/llm_core.py sha256=IL1v40fm1it7gYCV6gLvTnrpLe9fsrjT3W0tFmfgZHQ 667
db_copilot/contract/memory_core.py sha256=7jjmwx4AXs4Fmaqi90kZ15jtlzU90TLYgY7ks1uh82k 1655
db_copilot/contract/plan_core.py sha256=d9tk0aalnT-G38tdvuU38jwMUprIwqmRktx6AfkgxL8 1325
db_copilot/contract/tool_core.py sha256=HWjIHbRWqQUvMA4qcTCiA5yRIhZFMG1eRdiXovxD1Dc 4489
db_copilot/contract/utils/__init__.py sha256=36gTp3CCu8BqI4rDvW-XvG1QnjoKl_KG53MSjZq4seI 25
db_copilot/contract/utils/lru.py sha256=dVkCXDtHT0Vd8Aa3pJ78gYAX6znUPuUoYKfsNbtjNXg 1861
db_copilot/contract/utils/misc_utils.py sha256=tEEFUVkqQyCkPgKvZcCsmC1R63PegJg1EcvuLGIDCY8 1395
db_copilot/contract/utils/text_utils.py sha256=_Mw4-JE1pA_5bgUON_3Nv8vcYBh-MswELa5YAOx4Dkw 389
db_copilot/db_provider/__init__.py sha256=6cVWjpmYwDh8k106ZNoE7ACq1RBCpsMJ7j4STFW3Qds 213
db_copilot/db_provider/azureml_endpoint.py sha256=fcbIneEhC6IJDzPMagHCeuNX2R6lP6-_qRzMbP2oO48 1879
db_copilot/db_provider/db_provider_api.py sha256=sdsPzgJXP-VsAl1pLLtxAo_TM1q5aaLtZwAZsPL26VI 6379
db_copilot/db_provider/db_provider_client.py sha256=8GZMlbXQymLamYHNmQ0Law33qAVPgN4y_14jGgDxmWQ 4274
db_copilot/db_provider/db_provider_config.py sha256=1dvKqn0qQ5pdUTxtFFY41svTQdOu4gmwQj1GK94rUbY 5502
db_copilot/db_provider/db_provider_pool.py sha256=8DMopGa7d7nUdUM28gwcZjRudZ79zphcReCTALNGsnE 1242
db_copilot/db_provider/db_provider_service.py sha256=npPwUPCwqmtR2lGP9qXlWF5y5E_JIUZDmW7WBHqpFoo 11983
db_copilot/db_provider/cli/__init__.py sha256=PtRnf6m_GliYoEB3F7x5TkWD8Ij2WxK4Lst7gTF2DRk 72
db_copilot/db_provider/cli/deploy_endpoint.py sha256=zASVB6jzvI9PTnF6Wvm32LqVkTdyaqYoI_syQFLw_Kk 6799
db_copilot/db_provider/db_executor/__init__.py sha256=41OZcOlN76xp-7NiD16q_1SLGflTY5BroCC5KtihPcQ 298
db_copilot/db_provider/db_executor/clickhouse_executor.py sha256=29JJVY4E5k9ePicU7hJIISAlhFl8BlC5pUE0MFpn9rE 4452
db_copilot/db_provider/db_executor/cosmos_executor.py sha256=72p6ni85MHToJCzLehZVQwES0wVSCtqYXQ3dEg_MsU8 3145
db_copilot/db_provider/db_executor/db_executor.py sha256=QGIXO6995Zdcf_lGhJ6DvJCPujxArY3iOOBOdLiw5Jw 4587
db_copilot/db_provider/db_executor/kusto_executor.py sha256=Kkd8t01ebJgdOyXTah2UD8ffW_944mQ-94tyJCJxaq8 11105
db_copilot/db_provider/db_executor/sheet_file_executor.py sha256=gzkUOVbWYWdQ4udc4smCnWOawjvEQtNjElquh5C8h7k 12993
db_copilot/db_provider/db_executor/sql_server_executor.py sha256=tWPsrOJguy9UiDs4X6UyShfVCy63IHUVrn9-K5egRXM 9773
db_copilot/db_provider/db_executor/sql_utils.py sha256=yBd9fKLxtfK2sS1feCFXA1kkVrvt_GheXvWGZSM0MhM 3784
db_copilot/db_provider/db_executor/sqlite_executor.py sha256=Uzhpb3xhRQ7OINlqMCYcg963UM7AsxYe1DVesEqYvM4 6544
db_copilot/db_provider/db_executor/contrib/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
db_copilot/db_provider/db_executor/contrib/az/README.md sha256=peUjnw3hV0VVdtf3WOpLqJk0u4A4gQ70HLXScRMxGmI 5613
db_copilot/db_provider/db_executor/contrib/az/__init__.py sha256=i5GQj3mqT8ZQcrgYX88hMBHnWcj_NxfCit1FGDmhgaI 35
db_copilot/db_provider/db_executor/contrib/az/az_executor.py sha256=6g0fepoxZ4PJxxsoiuqXIHNxawzi1ekb0QVulnh38Pg 11327
db_copilot/db_provider/db_executor/contrib/az/az_utils.py sha256=SAFnbbKDi_Q55EQTh4AhSUx2hv7WsOar0u35JWHZT1M 11418
db_copilot/db_provider/db_executor/contrib/az/base_kql_to_sql_executor.py sha256=oL1mOKZZJXFMDlrRPTeVF50ngtzLfmpXjsu0s0GOsdw 5469
db_copilot/db_provider/db_executor/contrib/mock/__init__.py sha256=ZyOCiEJiy1Rrnpbx4K2X4T6fHDlmg1lRBYcxpnnnolA 39
db_copilot/db_provider/db_executor/contrib/mock/mock_executor.py sha256=8uYA1CiYo0jMxCsEnGrIM_3Wh_r10et-xIE88psRhus 1095
db_copilot/db_provider/envs/Dockerfile sha256=qeONcSmjvoDYiKfF0foDFUkP_UCxF9syQOR8P9y45Ic 648
db_copilot/db_provider/envs/__init__.py sha256=PtRnf6m_GliYoEB3F7x5TkWD8Ij2WxK4Lst7gTF2DRk 72
db_copilot/db_provider/envs/env_cpu.yml sha256=yngUrsmAP1l-IBEwUXKa-sw9fIMd5HfpsFXN8kCn1SI 510
db_copilot/db_provider/envs/requirements.txt sha256=1Yr5ByO_eR01HINKLUEEwvN0ZWVoL-Xu0Lj9I2OO_Zc 423
db_copilot/db_provider/grounding/__init__.py sha256=Xly802QnHFTOWmY_Uv_hEVp_XUx_g9a_10AH4sKWwgc 98
db_copilot/db_provider/grounding/grounding_context.py sha256=p3brr8Wh88shQzYlpHlczasl9Ap1I9BKvSkhf5lVhTU 7159
db_copilot/db_provider/grounding/grounding_service.py sha256=WxeKK3Ux3Q49Pk_34W5fGpoTB3NyfUxxABtzy68keGM 24833
db_copilot/db_provider/grounding/hybrid_embedding.py sha256=zjIGLcexJVhpzjF2bbHXc2S7BWq3lu66NppgDxXYW6w 3150
db_copilot/db_provider/grounding/knowledge_service.py sha256=ITrVAZPCy-HIUBvsG5YwGOgSg5vAOhs9-cQf9WhqnzQ 2170
db_copilot/db_provider/grounding/ngram_index.py sha256=iTEp53raWY2k9jseBA0QZXn9Wqvk8y1oLAMuMF8x2iY 3073
db_copilot/db_provider/grounding/ort_embedding.py sha256=ShukpENN44UKMyYtPsxmsbawkNOUODkCBvn01ofp9Lo 6126
db_copilot/db_provider/utils/__init__.py sha256=RF5CRr8coyY0bN4Xi06TEx1XYS3kk_VWIz2C_DfTb-I 172
db_copilot/db_provider/utils/hub_utils.py sha256=IpnqmILjrSCYYLohLHRvZY1fFZW_TtAXfTaFra6QbRc 15699
db_copilot/db_provider/utils/lemma.map.txt sha256=V_5tFfj9-mYEEDXcZ67hC1zwpmgWMGWnR9jzq1hFp3A 3748634
db_copilot/db_provider/utils/string_utils.py sha256=jBcrEOkrZdXDCsdiII2e7B1purYdgc-VEFUcsAnCwG0 28765
db_copilot/db_provider/utils/tokenization_utils.py sha256=pvBmiWyu07rb1yIT4nQjzNaztyP4WFsLOEkRv7OikKM 5941
db_copilot/in_context_learning/__init__.py sha256=balUWDX5kemxHGI3Bkei2LJa3NT_AOIqELpAfZCj7WY 20
db_copilot/in_context_learning/faiss.py sha256=3xwAcPsEOtkqNbn-DrQpvsghsbTqCJu-1VIyG4qV7lU 4895
db_copilot/prompts/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
db_copilot/prompts/examples/__init__.py sha256=PtRnf6m_GliYoEB3F7x5TkWD8Ij2WxK4Lst7gTF2DRk 72
db_copilot/prompts/examples/base.py sha256=w1yEQK9EZPuA0mIyWc4jMKK6txxwUsFcU1PHd8bNpbw 24996
db_copilot/prompts/instruct/__init__.py sha256=8cfuVn0IiBmyixkXmQ_Vf5wPIqEk9gchKqA7LNgCO8k 284
db_copilot/prompts/instruct/base.py sha256=EYtlxP0KMsASZ1FlVG_CG5FYhwgBa-ddZVZtrs-uN0k 4393
db_copilot/prompts/tools/__init__.py sha256=PtRnf6m_GliYoEB3F7x5TkWD8Ij2WxK4Lst7gTF2DRk 72
db_copilot/prompts/tools/plotly.py sha256=Y7LUG03SqvfBh80S0xNxkPpo3AQgNCbVJi7_Ec_YqfI 2353
db_copilot/prompts/tools/sql.py sha256=u2_kfnVcvqW7VwIVqc1KroVPwjLdtkudBYjrvMjNgv4 1860
db_copilot/telemetry/__init__.py sha256=ng9Jjr6YpBhuUq6YdjUfK_8sdlTOTiL4Pi-tUxpmZnM 24
db_copilot/telemetry/activity.py sha256=bjGp1LqSMGP9pzxrhu289roOPoZp_T3Gro2tgdO-LCI 6074
db_copilot/telemetry/telemetry.py sha256=fUCNCu-eN7t5HMo21s7U-kZFfTJlJ39SxezjL8h-BmI 11492
db_copilot/utils/__init__.py sha256=LlXa7yhmNkg4oV1LseOzHipYFRA54mluoxQpxjqOQ0g 162
db_copilot/utils/ada_embedding_model.py sha256=gKTorRNBbGqDxOu5YdgL0gfkUCEnqrO9INS-8jMZoXU 6957
db_copilot/utils/aml_embedding_model.py sha256=B-brhM3Mdv1rgLSWcuhH1mudu18pmPAbz9qjUppqtI4 1357
db_copilot/utils/faiss_embedding_service.py sha256=sNoIK_yFC2ITEbj2hhaSZf1jje9lmtEPETviM4_Al2Q 2753
db_copilot/utils/logging_utils.py sha256=RbuYVu4mvbO5z7tgDkgCA3EhIbg4s9-rRLYOEeadfv0 349
db_copilot/utils/predefined_apis.py sha256=WKjqiTvRemp0ACy1iAFIHVkpynGClOBMdHX3dQZJb0w 629
db_copilot_tool/__init__.py sha256=PqsjvlJoxNu0eTxaFa-_wEiQcDYNmceMKeMPWKzkHdU 348
db_copilot_tool/_telemetry.json sha256=hGQ9XPfrVQCaXu5s8dlPq8foiQf7Lr-DnY7y0Knx3bY 96
db_copilot_tool/datastore_utils.py sha256=AGRTJS4fpTr29BvUC_7vvd92-mYdhd8EDsf7rMPNkGk 3384
db_copilot_tool/db_copilot_tool.py sha256=MIIcA188w8LU0QR2DggmUia5KEP4Q9jNgdG-YaHzGrc 3800
db_copilot_tool/telemetry.py sha256=m480LQCHoPgJiODi4oaDcVtzkPVp2HLTlM3P7B-24o8 12506
db_copilot_tool/contracts/__init__.py sha256=h--iYO1fuMvpYYDxoBaLGAKQbQ2fPk2Jh0LJO9YHaO0 32
db_copilot_tool/contracts/db_copilot_config.py sha256=MhmotpDnC99EnMyl7hTZHubT0J8bE0rlHso6Z9OoL1I 3850
db_copilot_tool/contracts/embedding_config.py sha256=-igbsXLztJuImNCb9qEVPQl-Cm70qJGYm_NYvt3-MHI 1657
db_copilot_tool/history_service/__init__.py sha256=h--iYO1fuMvpYYDxoBaLGAKQbQ2fPk2Jh0LJO9YHaO0 32
db_copilot_tool/history_service/dialogue_sessions.py sha256=O3tnHSl_ONLZg-Q5_0H4xtvEccE3PyCVjBb4G9VaN38 384
db_copilot_tool/history_service/history_service.py sha256=51e0O2E6Ky251zwrnfmapshhcGAjFVChf1eFtyqVplo 3590
db_copilot_tool/tools/__init__.py sha256=h--iYO1fuMvpYYDxoBaLGAKQbQ2fPk2Jh0LJO9YHaO0 32
db_copilot_tool/tools/azureml_asset_handler.py sha256=gdyGwxHtPx65knNEm__cnOOrky4SKQjgkpjnOiDPhJ4 9330
db_copilot_tool/tools/db_copilot_adapter.py sha256=rv7vzV24i4Dtku5HxM0qi9XSCSgD1p-jGT7SqCdPfrM 14669
db_copilot_tool/tools/db_executor_factory.py sha256=wgBc86hSqeg2TV2ewHcHjLZHCT9zjR8elHcmyaQV7P0 12210
db_copilot_tool/tools/db_provider_adapter.py sha256=ua0ZrI1a2_Rkh46gFbC2blXNLb44tUIELNqI_y3OGnk 6693
db_copilot_tool/tools/dummy_embedding_service.py sha256=sT6q0mmk6TFvyGRg_VtajePXLtnwarz8PK9ke0CnseY 2008
db_copilot_tool/tools/embedding_service.py sha256=ofjQ2vjiQa-dczdL_SQvLt2lksUWFo2PorWu2NrkHPk 4940
db_copilot_tool/tools/embeddings_container_utils.py sha256=13negzBAz27E4n5wCTBzMDsWCUcNedjbeqm0wSqCsKM 813
db_copilot_tool/tools/grounding_context_utils.py sha256=njetFWlwdfk1wxXKhgUXvbvHgnL3UJGvRTOzGhw0R9s 2276
db_copilot_tool/tools/in_context_learning_agent.py sha256=dnEzjOUmn3OalTeVENEcPuIuN_eO4QojOjeTZdUOjsY 5734
db_copilot_tool/tools/json_handler.py sha256=MzwN-zG9xP1wKkoSX6IDIia6wwHlb0WHwuCGshOOQsM 524
db_copilot_tool/tools/memory_cache.py sha256=JW_y7JLaot17UAH3AS-LcZRxW0acM3-Sp2_pHtgwj7A 1174
db_copilot_tool/tools/prompt_flow_llm.py sha256=bvcwwS3U9TdHTeTcQ1-HQVYushVOw2BPby1fI27XWrE 4461
db_copilot_tool/tools/tools_manager.py sha256=5MX8Y7c6QIt-Bh9Raq89BQCN7DEo5R5Ih6YETRWbFj8 416
db_copilot_tool/tools/yamls/db_copilot_tool.yaml sha256=hBwN_atFi7AAY0jIjEBtioCde0xZQw1V6968WHuHyGE 1181
db_copilot_tool/untils/__init__.py sha256=h--iYO1fuMvpYYDxoBaLGAKQbQ2fPk2Jh0LJO9YHaO0 32
db_copilot_tool/untils/common_index_lookup.py sha256=yRhf_2KevowElxwnGDMBkUS7jjUBzN_X3ePnXF8bnTM 1781
db_copilot_tool-0.0.8.dist-info/METADATA sha256=YfoTdRH3v1861uf4AmgEHudF_iEAzs22HN4GeNv2eWQ 3831
db_copilot_tool-0.0.8.dist-info/WHEEL sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk 91
db_copilot_tool-0.0.8.dist-info/entry_points.txt sha256=NPJJrMB6QD7Vkn7zjfBqHp8Ssh7rE1KyulqtW4OE430 89
db_copilot_tool-0.0.8.dist-info/top_level.txt sha256=MQ-0pkM1cWYjeBV4UkG6-a2CgeFHMq32P1FXPasPIDc 27
db_copilot_tool-0.0.8.dist-info/RECORD

top_level.txt

db_copilot
db_copilot_tool

entry_points.txt

db_copilot_tool = db_copilot_tool.tools.tools_manager:list_package_tools