ApiLogicServer 14.5.0__py3-none-any.whl → 14.5.3__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.
- api_logic_server_cli/add_cust/add_cust.py +7 -21
- api_logic_server_cli/api_logic_server.py +4 -2
- api_logic_server_cli/api_logic_server_info.yaml +2 -2
- api_logic_server_cli/create_from_model/__pycache__/dbml.cpython-312.pyc +0 -0
- api_logic_server_cli/create_from_model/__pycache__/ont_build.cpython-312.pyc +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/{mcp_server_executor.py → mcp_discovery.py} +1 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/config/server_setup.py +388 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/database/system/SAFRSBaseX.py +136 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/.DS_Store +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/README_mcp.md +3 -1
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_client_executor.py +82 -27
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/declare_logic.py +22 -2
- api_logic_server_cli/prototypes/basic_demo/iteration/logic/declare_logic.py +1 -1
- api_logic_server_cli/prototypes/nw/logic/declare_logic.py +2 -2
- api_logic_server_cli/prototypes/nw_no_cust/.obsidian/app.json +1 -0
- api_logic_server_cli/prototypes/nw_no_cust/.obsidian/appearance.json +1 -0
- api_logic_server_cli/prototypes/nw_no_cust/.obsidian/core-plugins.json +31 -0
- api_logic_server_cli/prototypes/nw_no_cust/.obsidian/workspace.json +166 -0
- apilogicserver-14.5.3.dist-info/METADATA +168 -0
- {apilogicserver-14.5.0.dist-info → apilogicserver-14.5.3.dist-info}/RECORD +24 -42
- api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/proper_update_def.json +0 -71
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/1_langchain_loader.py +0 -71
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/2_gpt_mcp_prompt.txt +0 -19
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/multi_mcp_flow.png +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/multi_mcp_orchestration.yaml +0 -49
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/wny mcp flows.png +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/natlang_to_api.py +0 -73
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/curl.txt +0 -5
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP Overview.png +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP_Arch.png +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP_Overview_Executor.png +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/invoke_llm/1 - prompt_messages_array.json +0 -10
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/invoke_llm/2 - completion_tool_context.json +0 -12
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/llm_schema.txt +0 -38
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_2.yaml +0 -17393
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_3.yaml +0 -16660
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_3_relaxed.yaml +0 -109
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/proxy_server.py +0 -51
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/proxy_serverZ.py +0 -72
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/validate_jsonapi.py +0 -64
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/run_executor.py +0 -23
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/swagger_converter.py +0 -65
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/z_old/3_executor_test_agent.py +0 -52
- api_logic_server_cli/prototypes/manager/README_X.md +0 -663
- apilogicserver-14.5.0.dist-info/METADATA +0 -76
- {apilogicserver-14.5.0.dist-info → apilogicserver-14.5.3.dist-info}/WHEEL +0 -0
- {apilogicserver-14.5.0.dist-info → apilogicserver-14.5.3.dist-info}/entry_points.txt +0 -0
- {apilogicserver-14.5.0.dist-info → apilogicserver-14.5.3.dist-info}/licenses/LICENSE +0 -0
- {apilogicserver-14.5.0.dist-info → apilogicserver-14.5.3.dist-info}/top_level.txt +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
api_logic_server_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
api_logic_server_cli/api_logic_server.py,sha256=
|
|
3
|
-
api_logic_server_cli/api_logic_server_info.yaml,sha256=
|
|
2
|
+
api_logic_server_cli/api_logic_server.py,sha256=MDpVrep3II9xFrADlAdbhN0nuGW2WYURxfzD78llVk4,103450
|
|
3
|
+
api_logic_server_cli/api_logic_server_info.yaml,sha256=ae2s1H47bWBmuYY5QuWLXIyhLGUoUR90HLRGjnWrxf0,127
|
|
4
4
|
api_logic_server_cli/cli.py,sha256=AT1cWszOygHWIbpxDoXFhaTeSai3Tf5SbGoXvN4h510,83134
|
|
5
5
|
api_logic_server_cli/cli_args_base.py,sha256=lr27KkOB7_WpZwTs7LgiK8LKDIHMKQkoZCTnE99BFxw,3280
|
|
6
6
|
api_logic_server_cli/cli_args_project.py,sha256=I5no_fGRV_ZsK3SuttVDAaQYI4Q5zCjx6LojGkM024w,4645
|
|
7
7
|
api_logic_server_cli/extended_builder.py,sha256=EhtXGAt_RrDR2tCtgvc2U82we7fr-F6pP-e6HS6dQWQ,13867
|
|
8
8
|
api_logic_server_cli/logging.yml,sha256=isWhKviFwJwYgjIUejfhUxcMli2zEbZeQbEvVhNk_4Y,1812
|
|
9
9
|
api_logic_server_cli/manager.py,sha256=ITvz4DXt3PAW5Z5wmeKOWKPBnWHl-E7c_tElrx6QADM,10867
|
|
10
|
-
api_logic_server_cli/add_cust/add_cust.py,sha256=
|
|
10
|
+
api_logic_server_cli/add_cust/add_cust.py,sha256=aVadUVtKyNuWNbPjTcP1AEeavTQEVkZpOYyFBAGjjvw,13330
|
|
11
11
|
api_logic_server_cli/create_from_model/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
|
12
12
|
api_logic_server_cli/create_from_model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
api_logic_server_cli/create_from_model/api_expose_api_models_creator.py,sha256=V-u3Hm404doztw66YuD2A043RCFmtw5QF5tMioC_1b0,7900
|
|
@@ -24,10 +24,10 @@ api_logic_server_cli/create_from_model/__pycache__/__init__.cpython-312.pyc,sha2
|
|
|
24
24
|
api_logic_server_cli/create_from_model/__pycache__/api_expose_api_models_creator.cpython-312.pyc,sha256=3wtCiVHOjOgIonZOgnCsF2p01zcXIapx1_Tq2LwzY6Q,6989
|
|
25
25
|
api_logic_server_cli/create_from_model/__pycache__/api_logic_server_utils.cpython-312.pyc,sha256=oaOOqBJogGZdW5nVn93zqOY552sumaX5fGANDN42eCQ,26691
|
|
26
26
|
api_logic_server_cli/create_from_model/__pycache__/create_db_from_model.cpython-312.pyc,sha256=5eE8pIEa-OoUOk0xn_b78cCc9dSmxjTMn3HGJbxbFY4,4799
|
|
27
|
-
api_logic_server_cli/create_from_model/__pycache__/dbml.cpython-312.pyc,sha256=
|
|
27
|
+
api_logic_server_cli/create_from_model/__pycache__/dbml.cpython-312.pyc,sha256=8kXgynb1JC1EXsPhVIFTDwP70FyxN3GYiPV3Vgb-EzQ,11926
|
|
28
28
|
api_logic_server_cli/create_from_model/__pycache__/meta_model.cpython-312.pyc,sha256=BH5Cflj8YKf0CVkHpIZ_3eBbHXhwIWbwsrzM7DsEikE,7098
|
|
29
29
|
api_logic_server_cli/create_from_model/__pycache__/model_creation_services.cpython-312.pyc,sha256=_pJPTvkJL22Eu1BWM48VfXcyapD366OnXBqHGn-wtO0,36462
|
|
30
|
-
api_logic_server_cli/create_from_model/__pycache__/ont_build.cpython-312.pyc,sha256=
|
|
30
|
+
api_logic_server_cli/create_from_model/__pycache__/ont_build.cpython-312.pyc,sha256=Hni6k7GidAkkz-YO2kvmQOMYdCdCWvGWxX3HIPjj1eE,75285
|
|
31
31
|
api_logic_server_cli/create_from_model/__pycache__/ont_create.cpython-312.pyc,sha256=wfaUqOrOUmCWGJlwz0HtN-wBckqp8w1nh4SrW2WHUnM,16283
|
|
32
32
|
api_logic_server_cli/create_from_model/__pycache__/ui_admin_creator.cpython-312.pyc,sha256=7lvvAHZDgxZcQWdf9oY4I8wyWPNZAv2leuVMsYmaNWY,38389
|
|
33
33
|
api_logic_server_cli/create_from_model/__pycache__/uri_info.cpython-312.pyc,sha256=oXtt-zINPCIGtb1xpwtaHwUQPt4AYo8tkIlN0Fe5EkI,2718
|
|
@@ -691,40 +691,19 @@ api_logic_server_cli/prototypes/base/venv_setup/venv.ps1,sha256=_-LfKkLw5HOkZsF5
|
|
|
691
691
|
api_logic_server_cli/prototypes/base/venv_setup/venv.sh,sha256=aWX9fa8fe6aO9ifBIZEgGY5UGh4I0arOoCwBzDsxgU8,893
|
|
692
692
|
api_logic_server_cli/prototypes/basic_demo/README.md,sha256=COAWgXJGu0Xn6BHTeLyn9I39xcYHCKBslix7L2Xrodw,13487
|
|
693
693
|
api_logic_server_cli/prototypes/basic_demo/customizations/api/.DS_Store,sha256=6F7pphfwiMhILhl_J6yVhDZFYXmar5V92iLCzSkfnyA,6148
|
|
694
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/
|
|
694
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/mcp_discovery.py,sha256=C_uOn3QlFVF2OYRs2oAQEpCnjUWpZ9J8WKJUClnXIcw,5589
|
|
695
695
|
api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/openapi.py,sha256=kLQ7Fn1J7tzuNJHBXF2AiwtzvQ-0JxJ6z-MfFryAtLk,3887
|
|
696
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/proper_update_def.json,sha256=3wHSQ-uo3Qf0WVVMT3gA59B7OyOfQ4wPMHGzUTji3VM,1924
|
|
697
696
|
api_logic_server_cli/prototypes/basic_demo/customizations/config/default.env,sha256=-rjXJrjR4vjMr9YCVYVchaJw7qMBlbvQ3KfR_wri_XM,412
|
|
697
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/config/server_setup.py,sha256=bV48ou0jSEm2o5yhTVgms1w7rqU9Ccf_2yfZip3ivJk,15441
|
|
698
698
|
api_logic_server_cli/prototypes/basic_demo/customizations/database/db.sqlite,sha256=VAhzjdz9_LTQNE6lVprZuliyHBGjQOggulM099cinSQ,24576
|
|
699
699
|
api_logic_server_cli/prototypes/basic_demo/customizations/database/models.py,sha256=Hi4m_ivLPE3i2HNfC-rXEADE_toWBHcLelYAQBzV_oA,4499
|
|
700
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/database/system/SAFRSBaseX.py,sha256=8OBZT1rsTsLbCpgvE8AxC-GTOmXzaN7MwmjssNvOhlE,5284
|
|
700
701
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/.DS_Store,sha256=nfyHG63vXNerWIrSwk76tTujqqB25mRZZZ04VJmxlCQ,6148
|
|
701
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/.DS_Store,sha256=
|
|
702
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/
|
|
703
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/
|
|
704
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/README_mcp.md,sha256=Fias_SyKSzIPso5kKAJZAj2-N7fzzKxCEBhTVxNUeqE,938
|
|
705
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_client_executor.py,sha256=yn4gXpgZdrtPyKttOtYA3oea7WyiTZSxJbhYYpZHCrU,12179
|
|
702
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
|
703
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/README_mcp.md,sha256=ZXLgtvqQCcGouxFE_7pu6OA3Qu1Qm3Jh-gcQxuFKb_w,1216
|
|
704
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_client_executor.py,sha256=-2-IAJpn559uiuEjOq0In6jeZ_RzyAjK8vKNPHG3vEo,15328
|
|
706
705
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_schema.txt,sha256=qmov7e0NdYiQTCxNJU2xzxf9HnYeXFej-c8GSB-y6MM,1143
|
|
707
706
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_server_discovery.json,sha256=TUyInb67AWoGw7XFE9iDZxmM8UEID-ahQmdmzpF9AmQ,188
|
|
708
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/natlang_to_api.py,sha256=7WEiH9MUe5hkmbCpx0KoEie-7VOsZJYLVukdvrNy2ck,2121
|
|
709
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/run_executor.py,sha256=SI9j1UvUS6Kq3Q20DACR-2dfRUZ9JgKYblRU3fAY0dE,489
|
|
710
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/swagger_converter.py,sha256=knhpXXBxT64vsDtsJ0TKztquElbOn7vNREFDocBJzXc,2067
|
|
711
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/multi_mcp_flow.png,sha256=GdFqe957YCWdwrHpOrT7iz_t0k8v3Dwp2IEoPJq8V5E,117701
|
|
712
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/multi_mcp_orchestration.yaml,sha256=JjWOCesi5PUAXYuwBDTjt7OR7qWmginj-N2C-8fqboU,1432
|
|
713
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/multi_mcp_flow/wny mcp flows.png,sha256=Zr2-fo-yaWjbmlcCNuhVjFO24aQO8Fo81P6xU5Ork0w,450429
|
|
714
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/curl.txt,sha256=V4FlbbG3_zXt8DCGLdE6OCu5FVuh5w06wyJE-ybXBnY,175
|
|
715
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/llm_schema.txt,sha256=NBhkTOSZh4oe4rR8eid6GzIRmHM1rjXb0Br5_n3Upuc,921
|
|
716
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_2.yaml,sha256=qP89VLCQbfYkquXOWffdDKcM331AynxO0H6Nm5DNF9I,690268
|
|
717
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_3.yaml,sha256=dGTlpgsNgS1N2eOu2glBtwayUmAeqCuqV_ToZnH7Y_M,482190
|
|
718
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/nw_swagger_3_relaxed.yaml,sha256=nFwUpTNb0NlJw1WIdCMeJuNHJcPMOzjtlEM-pbaUuUE,3653
|
|
719
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/proxy_server.py,sha256=9worE-VcGUOP_4BchqooQXmhtEJn2JU03Av1EFWxfLE,1785
|
|
720
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/proxy_serverZ.py,sha256=QKU9dZn6rg2VHC1x4YpaO5ZCCKwbXDd83fSq7wfePOg,2264
|
|
721
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/validate_jsonapi.py,sha256=o_WichQ2Xqft8W95mn67yETwgTUEZEKeSr2sLwqtoM0,2309
|
|
722
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP Overview.png,sha256=dWIfJk9WG9Wz487Y7dgqxCiTiSI9Lx92JcB863o8yEA,1433329
|
|
723
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP_Arch.png,sha256=1Qr7S1EF3C-rfj-TF4z3YHb0b-FPXPY82hYf1Kf6vJw,1342013
|
|
724
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/images/MCP_Overview_Executor.png,sha256=dwge9Zy-exnSDBAKt194P9mHaNS2Nvxqmr5iP1UiPbg,1330369
|
|
725
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/invoke_llm/1 - prompt_messages_array.json,sha256=E5Q0saEGGs-0OdhLDBaoL2D9mycm8WP_rciFEEMzNZM,1739
|
|
726
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/invoke_llm/2 - completion_tool_context.json,sha256=U_s7-57G4S07nnJNm6_loBNflWw47_LddFjQaCT60Tg,279
|
|
727
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/z_old/3_executor_test_agent.py,sha256=vH-3wJvQE99LDt9ID3wWtVw1EOv8yJJNipPGgYINAus,1251
|
|
728
707
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/3_executor_test_agent.py,sha256=vH-3wJvQE99LDt9ID3wWtVw1EOv8yJJNipPGgYINAus,1251
|
|
729
708
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/README_functon.md,sha256=h-GPxsEy3wUnX4IcGzH8faBNrDvdV71btmhYq6J6zkY,6639
|
|
730
709
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/ai_plugin.json,sha256=-TcpPnKT6OESE4U97Sah9tCjaqMOlWY5fnKtjGO7vYM,561
|
|
@@ -735,7 +714,7 @@ api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_fun
|
|
|
735
714
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo.json,sha256=EnHZqaqlcSiAeLXpX3c3L_PCQcWCPdD3eKiEwzDU-0g,6024
|
|
736
715
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo_with_update.json,sha256=arGkv02-QYkGp20l3o88kijV4XOdMi2HsxraVWhGd54,49478
|
|
737
716
|
api_logic_server_cli/prototypes/basic_demo/customizations/logic/cocktail-napkin.jpg,sha256=5rNSy6wvcWSHPJQZqkf2DHs19QLWiyqMBNwxGqjstZU,133075
|
|
738
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/logic/declare_logic.py,sha256=
|
|
717
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/logic/declare_logic.py,sha256=ZbYzcIMXoZV3dsofZoWibsz5iSUtk-cPHZnZT7if4fg,5348
|
|
739
718
|
api_logic_server_cli/prototypes/basic_demo/customizations/security/declare_security.py,sha256=gbdH29cPY656lgROPm_w20Q-g6AhlIMES3wiIrqBTdk,2439
|
|
740
719
|
api_logic_server_cli/prototypes/basic_demo/customizations/ui/admin/admin.yaml,sha256=DWU-kbGAMbI1NBeK4MIgwGg7DRRNVDNr1vezWDzHoFk,3425
|
|
741
720
|
api_logic_server_cli/prototypes/basic_demo/iteration/api/api_discovery/order_b2b.py,sha256=hg9Bsz0_t-RjO9rFcW-YH3y26kq4IY5dd9FfVoYxB4w,3176
|
|
@@ -743,7 +722,7 @@ api_logic_server_cli/prototypes/basic_demo/iteration/database/db.sqlite,sha256=u
|
|
|
743
722
|
api_logic_server_cli/prototypes/basic_demo/iteration/docs/er_diagram.png,sha256=-3aSv9ay7XeFqGU-cygRz5T5eYhY627BYmA6GXdUYH0,161072
|
|
744
723
|
api_logic_server_cli/prototypes/basic_demo/iteration/integration/row_dict_maps/OrderB2B.py,sha256=MGNSSOpqfHPaK8Yjm-h_x8ki-Uu_yU73C1l8ZXRipCo,1282
|
|
745
724
|
api_logic_server_cli/prototypes/basic_demo/iteration/integration/row_dict_maps/OrderShipping.py,sha256=pzrK57C1ppUUcSBVNICXGujsf9p1ZTRq0bpKacgcrV0,1213
|
|
746
|
-
api_logic_server_cli/prototypes/basic_demo/iteration/logic/declare_logic.py,sha256=
|
|
725
|
+
api_logic_server_cli/prototypes/basic_demo/iteration/logic/declare_logic.py,sha256=Jnqt0j2Yu8ev1Pi9T3rogumuGn2sR4Q4QyWeUIunG28,6501
|
|
747
726
|
api_logic_server_cli/prototypes/basic_demo/iteration/ui/admin/admin.yaml,sha256=zN1dtWgBYKqY2D7v173CGUs9n0T4-GjHmDYk0XJ4uvE,4220
|
|
748
727
|
api_logic_server_cli/prototypes/classicmodels/devops/docker-compose-dev-azure/docker-compose-dev-azure.yml,sha256=5qrlCzViJcYZ9uhWGBCJmnexi7bwQaYzQKMqGCnRzS0,1389
|
|
749
728
|
api_logic_server_cli/prototypes/classicmodels/devops/docker-compose-dev-local/docker-compose-dev-local.yml,sha256=WJu3CKusT1wju6CubOKi6T1pW3pbE8JrZraGTpC6HTY,1439
|
|
@@ -782,7 +761,6 @@ api_logic_server_cli/prototypes/genai_demo/security/declare_security.py,sha256=L
|
|
|
782
761
|
api_logic_server_cli/prototypes/genai_demo/ui/admin/admin.yaml,sha256=vMpr6to6g-h9gSuhxfpTeDMw5_R_eUKbV7qXzMEvIyk,3446
|
|
783
762
|
api_logic_server_cli/prototypes/manager/.gitignore,sha256=xfAjNQHokbo6GuN1ghx-eml8tQIzwUczLC_YVzElndI,195
|
|
784
763
|
api_logic_server_cli/prototypes/manager/README.md,sha256=Z5lIaqu27J_pwX40fZdw3sIBwgbH3H6RegIMvJnZoKc,23265
|
|
785
|
-
api_logic_server_cli/prototypes/manager/README_X.md,sha256=Jh8BSH47xVf6Y2SYiUmb__aA6OOwX20Bw3mKVA5F83k,23060
|
|
786
764
|
api_logic_server_cli/prototypes/manager/run_sample.sh,sha256=eRA-p_Snr7Pwk14wUw5mja2usEcjAKisHVhHMeSaQ68,781
|
|
787
765
|
api_logic_server_cli/prototypes/manager/run_web_genai.sh,sha256=sgjB3vKhkao93Ny3VN0AQ-wonvdBcBIT3rTbyNTMoG8,136
|
|
788
766
|
api_logic_server_cli/prototypes/manager/settings.txt,sha256=_jjL30jomIMxG21edDfrXYRT9Zfgr_0EdUWvcEUOnFQ,368
|
|
@@ -5759,7 +5737,7 @@ api_logic_server_cli/prototypes/nw/integration/row_dict_maps/Customer_Orders.py,
|
|
|
5759
5737
|
api_logic_server_cli/prototypes/nw/integration/row_dict_maps/OrderB2B.py,sha256=NIz7XzuCLZK8JMqEZYfkJM5MOW1OU-NwBJheGgTrmkM,1392
|
|
5760
5738
|
api_logic_server_cli/prototypes/nw/integration/row_dict_maps/OrderById.py,sha256=2i2_jtq_o5vCThQq8fLLHy6WlcTPFb6aVO6YXdvoyrs,1102
|
|
5761
5739
|
api_logic_server_cli/prototypes/nw/integration/row_dict_maps/OrderShipping.py,sha256=K0K9ZDQ4kI_Kuw5_-Oby1oXlzgdb6PIluoYOtqm0axg,1438
|
|
5762
|
-
api_logic_server_cli/prototypes/nw/logic/declare_logic.py,sha256=
|
|
5740
|
+
api_logic_server_cli/prototypes/nw/logic/declare_logic.py,sha256=UQuUBBYNfHz-FhEqB00FevGQnL8wYwRoqeucASP9Twg,15803
|
|
5763
5741
|
api_logic_server_cli/prototypes/nw/logic/logic_discovery/integration.py,sha256=Hfm5wNI0aD9un3-lsB2hp4Rh3l3NM68NIIZ5hkQeQ5E,4101
|
|
5764
5742
|
api_logic_server_cli/prototypes/nw/logic/logic_discovery/simple_constraints.py,sha256=RxvO6AVmS9xoMGzWZ89HVE8kU22_qnNDPLxn3BZqAIw,1279
|
|
5765
5743
|
api_logic_server_cli/prototypes/nw/logic/logic_discovery/workflow_integration.pyZZ,sha256=XQacPVIKDKdYHgSaQ8IHp__DI2tZyNBr9qokEc6j0ws,2425
|
|
@@ -5820,6 +5798,10 @@ api_logic_server_cli/prototypes/nw/ui/images/Employee/leverling.jpg,sha256=w02cB
|
|
|
5820
5798
|
api_logic_server_cli/prototypes/nw/ui/images/Employee/peacock.jpg,sha256=UIfxEKOKruPKNW0w17bMebIaUsa1nD2vSVfFTk7uaCs,3862
|
|
5821
5799
|
api_logic_server_cli/prototypes/nw/ui/images/Employee/suyama.jpg,sha256=bp0xCJ-8EqQp_B7uR4glL6fVGxVlS10d5IHLNdw7rcA,4375
|
|
5822
5800
|
api_logic_server_cli/prototypes/nw_no_cust/Tutorial.md,sha256=0reZHh31_29OiDoq2YjgcZBh7bFNF60TEjVG-cUzoZ8,16724
|
|
5801
|
+
api_logic_server_cli/prototypes/nw_no_cust/.obsidian/app.json,sha256=RBNvo1WzZ4oRRq0W9-hknpT7T8If536DEMBg9hyq_4o,2
|
|
5802
|
+
api_logic_server_cli/prototypes/nw_no_cust/.obsidian/appearance.json,sha256=RBNvo1WzZ4oRRq0W9-hknpT7T8If536DEMBg9hyq_4o,2
|
|
5803
|
+
api_logic_server_cli/prototypes/nw_no_cust/.obsidian/core-plugins.json,sha256=-gH_6-0rhC1vn834F9R2EUN5BDBQ29fKnMrmjRTLlwo,658
|
|
5804
|
+
api_logic_server_cli/prototypes/nw_no_cust/.obsidian/workspace.json,sha256=PAWIsWV7kHmW5geXxnwuvdSV4R67O9W3j9shZGnxEmA,4244
|
|
5823
5805
|
api_logic_server_cli/prototypes/nw_no_cust/api/api_discovery/openapi.py,sha256=Un9qQvRCcuotyBi4WVWuXUcQhyvuYX-Zv1QHnAMvBhc,5557
|
|
5824
5806
|
api_logic_server_cli/prototypes/nw_no_cust/api/api_discovery/proper_update_def.json,sha256=3wHSQ-uo3Qf0WVVMT3gA59B7OyOfQ4wPMHGzUTji3VM,1924
|
|
5825
5807
|
api_logic_server_cli/prototypes/nw_no_cust/config/default.env,sha256=-rjXJrjR4vjMr9YCVYVchaJw7qMBlbvQ3KfR_wri_XM,412
|
|
@@ -6110,9 +6092,9 @@ api_logic_server_cli/tools/mini_skel/database/system/SAFRSBaseX.py,sha256=p8C7AF
|
|
|
6110
6092
|
api_logic_server_cli/tools/mini_skel/database/system/TestDataBase.py,sha256=U02SYqThsbY5g3DX7XGaiMxjZBuOpzvtPS6RfI1WQFg,371
|
|
6111
6093
|
api_logic_server_cli/tools/mini_skel/logic/declare_logic.py,sha256=fTrlHyqMeZsw_TyEXFa1VlYBL7fzjZab5ONSXO7aApo,175
|
|
6112
6094
|
api_logic_server_cli/tools/mini_skel/logic/load_verify_rules.py,sha256=Rr5bySJpYCZmNPF2h-phcPJ53nAOPcT_ohZpCD93-a0,7530
|
|
6113
|
-
apilogicserver-14.5.
|
|
6114
|
-
apilogicserver-14.5.
|
|
6115
|
-
apilogicserver-14.5.
|
|
6116
|
-
apilogicserver-14.5.
|
|
6117
|
-
apilogicserver-14.5.
|
|
6118
|
-
apilogicserver-14.5.
|
|
6095
|
+
apilogicserver-14.5.3.dist-info/licenses/LICENSE,sha256=67BS7VC-Z8GpaR3wijngQJkHWV04qJrwQArVgn9ldoI,1485
|
|
6096
|
+
apilogicserver-14.5.3.dist-info/METADATA,sha256=4qOWJhc-99yDNepZGK9-ca-1PBQwTBag6IQbkyEc8Ho,6524
|
|
6097
|
+
apilogicserver-14.5.3.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
|
6098
|
+
apilogicserver-14.5.3.dist-info/entry_points.txt,sha256=KiLloZJ3c_RW-nIDqBtoE0WEsQTnZ3dELwHLWi23LMA,103
|
|
6099
|
+
apilogicserver-14.5.3.dist-info/top_level.txt,sha256=-r0AT_GEApleihg-jIh0OMvzzc0BO1RuhhOpE91H5qI,21
|
|
6100
|
+
apilogicserver-14.5.3.dist-info/RECORD,,
|
api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/proper_update_def.json
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"/Customer/{id}": {
|
|
3
|
-
"patch": {
|
|
4
|
-
"summary": "Update Customer by ID",
|
|
5
|
-
"operationId": "updateCustomer",
|
|
6
|
-
"parameters": [
|
|
7
|
-
{
|
|
8
|
-
"name": "id",
|
|
9
|
-
"in": "path",
|
|
10
|
-
"required": true,
|
|
11
|
-
"schema": {
|
|
12
|
-
"type": "string"
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"requestBody": {
|
|
17
|
-
"required": true,
|
|
18
|
-
"content": {
|
|
19
|
-
"application/vnd.api+json": {
|
|
20
|
-
"schema": {
|
|
21
|
-
"type": "object",
|
|
22
|
-
"required": ["data"],
|
|
23
|
-
"properties": {
|
|
24
|
-
"data": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"required": ["type", "id", "attributes"],
|
|
27
|
-
"properties": {
|
|
28
|
-
"type": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"enum": ["Customer"]
|
|
31
|
-
},
|
|
32
|
-
"id": {
|
|
33
|
-
"type": "string"
|
|
34
|
-
},
|
|
35
|
-
"attributes": {
|
|
36
|
-
"type": "object",
|
|
37
|
-
"properties": {
|
|
38
|
-
"name": {
|
|
39
|
-
"type": "string"
|
|
40
|
-
},
|
|
41
|
-
"credit_limit": {
|
|
42
|
-
"type": "number"
|
|
43
|
-
},
|
|
44
|
-
"balance": {
|
|
45
|
-
"type": "number"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"responses": {
|
|
57
|
-
"200": {
|
|
58
|
-
"description": "Customer updated",
|
|
59
|
-
"content": {
|
|
60
|
-
"application/vnd.api+json": {
|
|
61
|
-
"schema": {
|
|
62
|
-
"type": "object"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/1_langchain_loader.py
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
==========================================================================================
|
|
3
|
-
LangChain OpenAPI Loader – JSON:API Planner Tool (1_langchain_loader.py)
|
|
4
|
-
==========================================================================================
|
|
5
|
-
|
|
6
|
-
Alert:
|
|
7
|
-
------
|
|
8
|
-
This does not work - hours of import version madness.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Purpose:
|
|
12
|
-
--------
|
|
13
|
-
This script loads an OpenAPI 3.0 specification (e.g., nw_swagger_3.yaml) using LangChain's
|
|
14
|
-
OpenAPI tools to dynamically generate a structured LangChain Tool. It can be used as a
|
|
15
|
-
building block in an AI system that automatically interprets natural language goals and
|
|
16
|
-
calls API endpoints by mapping them to OpenAPI operations.
|
|
17
|
-
|
|
18
|
-
How It's Used:
|
|
19
|
-
--------------
|
|
20
|
-
- Reads the OpenAPI schema and extracts available endpoints.
|
|
21
|
-
- Instantiates a tool for a specific operation (e.g., getCustomer).
|
|
22
|
-
- Allows GPT agents or scripts to call the tool using structured input.
|
|
23
|
-
- Typically used in multi-agent or planner + executor systems (e.g., AutoGen, LangGraph).
|
|
24
|
-
- It is *not* required to run integration/mcp/3_executor_test_agent.py
|
|
25
|
-
|
|
26
|
-
Limitations:
|
|
27
|
-
------------
|
|
28
|
-
- This script does not itself parse natural language input.
|
|
29
|
-
- The operation_id must be known and match one in the OpenAPI spec.
|
|
30
|
-
- Requires LangChain and OpenAPI tool support installed.
|
|
31
|
-
|
|
32
|
-
Dependencies:
|
|
33
|
-
-------------
|
|
34
|
-
- langchain
|
|
35
|
-
- openapi-spec-validator
|
|
36
|
-
|
|
37
|
-
Recommended Next Step:
|
|
38
|
-
----------------------
|
|
39
|
-
Use this in conjunction with a GPT planner that:
|
|
40
|
-
1. Converts natural language into structured intent.
|
|
41
|
-
2. Selects the correct operation_id.
|
|
42
|
-
3. Provides parameters as expected by the OpenAPI operation.
|
|
43
|
-
|
|
44
|
-
"""
|
|
45
|
-
|
|
46
|
-
from langchain.tools.openapi.utils.openapi_utils import OpenAPISpec
|
|
47
|
-
from langchain.tools.openapi.tool import OpenAPITool
|
|
48
|
-
|
|
49
|
-
# Load your OpenAPI spec
|
|
50
|
-
spec = OpenAPISpec.from_file("resources/nw_swagger_3.yaml")
|
|
51
|
-
spec = OpenAPISpec.from_file("resources/nw_swagger_2.yaml")
|
|
52
|
-
|
|
53
|
-
# List available operation IDs (optional debugging)
|
|
54
|
-
print("Available operation IDs:")
|
|
55
|
-
for path, methods in spec.raw_spec["paths"].items():
|
|
56
|
-
for method, details in methods.items():
|
|
57
|
-
print(f"- {details.get('operationId')}")
|
|
58
|
-
|
|
59
|
-
# Create LangChain tool from a specific endpoint
|
|
60
|
-
customer_tool = OpenAPITool.from_openapi_spec(
|
|
61
|
-
spec=spec,
|
|
62
|
-
operation_id="getCustomer", # use actual operationId from your spec
|
|
63
|
-
verbose=True
|
|
64
|
-
)
|
|
65
|
-
|
|
66
|
-
# Run a test call
|
|
67
|
-
result = customer_tool.run({
|
|
68
|
-
"filter[Country]": "USA",
|
|
69
|
-
"page[limit]": 3
|
|
70
|
-
})
|
|
71
|
-
print(result)
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/2_gpt_mcp_prompt.txt
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
You are an AI planner that builds tool_context blocks for a JSON:API server using OpenAPI 3.0.
|
|
2
|
-
|
|
3
|
-
Use this OpenAPI file: [insert contents of nw_swagger_3.yaml]
|
|
4
|
-
|
|
5
|
-
Given the goal: "List all customers from Germany, limited to 2 results", generate a JSON MCP tool_context like this:
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
"tool": "json-api",
|
|
9
|
-
"method": "GET",
|
|
10
|
-
"url": "https://your-api-domain.com/Customer",
|
|
11
|
-
"query_params": {
|
|
12
|
-
"filter[Country]": "Germany",
|
|
13
|
-
"page[limit]": 2
|
|
14
|
-
},
|
|
15
|
-
"headers": {
|
|
16
|
-
"Accept": "application/vnd.api+json"
|
|
17
|
-
},
|
|
18
|
-
"expected_output": "List of customer records"
|
|
19
|
-
}
|
|
Binary file
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
description: Flag high-value customers with recent activity and send to marketing service
|
|
3
|
-
|
|
4
|
-
steps:
|
|
5
|
-
- id: fetch_2024_orders
|
|
6
|
-
server: https://erp.company.com
|
|
7
|
-
tool_context:
|
|
8
|
-
tool: json-api
|
|
9
|
-
method: GET
|
|
10
|
-
url: /Order
|
|
11
|
-
query_params:
|
|
12
|
-
filter[date_shipped][gte]: "2024-01-01"
|
|
13
|
-
filter[date_shipped][lte]: "2024-12-31"
|
|
14
|
-
headers:
|
|
15
|
-
Accept: application/vnd.api+json
|
|
16
|
-
expected_output: Orders shipped in 2024
|
|
17
|
-
|
|
18
|
-
- id: aggregate_by_customer
|
|
19
|
-
type: local_processing
|
|
20
|
-
input: fetch_2024_orders
|
|
21
|
-
operation: |
|
|
22
|
-
Group orders by customer_id and sum amount_total.
|
|
23
|
-
Return list of customer_ids with total > 10000.
|
|
24
|
-
|
|
25
|
-
- id: fetch_customer_details
|
|
26
|
-
server: https://crm.company.com
|
|
27
|
-
tool_context:
|
|
28
|
-
tool: json-api
|
|
29
|
-
method: GET
|
|
30
|
-
url: /Customer
|
|
31
|
-
query_params:
|
|
32
|
-
filter[id]: "{{ aggregate_by_customer.output.customer_ids }}"
|
|
33
|
-
headers:
|
|
34
|
-
Accept: application/vnd.api+json
|
|
35
|
-
expected_output: High-value customer details
|
|
36
|
-
|
|
37
|
-
- id: notify_marketing
|
|
38
|
-
server: https://marketing.company.com
|
|
39
|
-
tool_context:
|
|
40
|
-
tool: json-api
|
|
41
|
-
method: POST
|
|
42
|
-
url: /CampaignTrigger
|
|
43
|
-
body:
|
|
44
|
-
campaign: "VIP Outreach Q1"
|
|
45
|
-
customer_ids: "{{ aggregate_by_customer.output.customer_ids }}"
|
|
46
|
-
headers:
|
|
47
|
-
Accept: application/vnd.api+json
|
|
48
|
-
Content-Type: application/json
|
|
49
|
-
expected_output: Marketing campaign initiated
|
|
Binary file
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import openai
|
|
2
|
-
import requests
|
|
3
|
-
import json
|
|
4
|
-
import os
|
|
5
|
-
|
|
6
|
-
# Set your OpenAI API key here or via environment variable
|
|
7
|
-
openai.api_key = os.getenv("OPENAI_API_KEY") or "sk-proj-..."
|
|
8
|
-
|
|
9
|
-
# The base ngrok URL of your live JSON:API server
|
|
10
|
-
NGROK_BASE_URL = "https://mcp_url.ngrok-free.app"
|
|
11
|
-
|
|
12
|
-
def ask_gpt_for_tool_context(natural_language_goal):
|
|
13
|
-
prompt = f"""
|
|
14
|
-
You are an API planning assistant.
|
|
15
|
-
|
|
16
|
-
You receive a natural language goal and must generate a JSON tool_context for an API call.
|
|
17
|
-
|
|
18
|
-
The API follows JSON:API 1.1 and lives at: {NGROK_BASE_URL}/api
|
|
19
|
-
Available resources: Customer, Order, Product
|
|
20
|
-
|
|
21
|
-
Goal: "{natural_language_goal}"
|
|
22
|
-
|
|
23
|
-
Respond ONLY with JSON in the following format:
|
|
24
|
-
{{
|
|
25
|
-
"method": "GET",
|
|
26
|
-
"url": "<full URL>",
|
|
27
|
-
"query_params": {{ ... }},
|
|
28
|
-
"headers": {{
|
|
29
|
-
"Accept": "application/vnd.api+json"
|
|
30
|
-
}},
|
|
31
|
-
"expected_output": "Brief description of expected result"
|
|
32
|
-
}}
|
|
33
|
-
"""
|
|
34
|
-
|
|
35
|
-
response = openai.ChatCompletion.create(
|
|
36
|
-
model="gpt-4",
|
|
37
|
-
messages=[{"role": "user", "content": prompt}],
|
|
38
|
-
temperature=0
|
|
39
|
-
)
|
|
40
|
-
|
|
41
|
-
# Extract tool_context JSON block from the assistant message
|
|
42
|
-
message = response["choices"][0]["message"]["content"]
|
|
43
|
-
try:
|
|
44
|
-
tool_context = json.loads(message)
|
|
45
|
-
return tool_context
|
|
46
|
-
except json.JSONDecodeError:
|
|
47
|
-
print("Failed to parse GPT response as JSON:")
|
|
48
|
-
print(message)
|
|
49
|
-
return None
|
|
50
|
-
|
|
51
|
-
def execute_tool_context(tool_context):
|
|
52
|
-
try:
|
|
53
|
-
response = requests.get(
|
|
54
|
-
tool_context["url"],
|
|
55
|
-
headers=tool_context["headers"],
|
|
56
|
-
params=tool_context["query_params"],
|
|
57
|
-
timeout=10
|
|
58
|
-
)
|
|
59
|
-
print(f"✅ Response ({response.status_code}):")
|
|
60
|
-
print(json.dumps(response.json(), indent=2))
|
|
61
|
-
except Exception as e:
|
|
62
|
-
print(f"❌ Request failed: {e}")
|
|
63
|
-
|
|
64
|
-
if __name__ == "__main__":
|
|
65
|
-
print("Enter your natural language goal (e.g., 'List 3 customers from Germany'):")
|
|
66
|
-
goal = input("> ")
|
|
67
|
-
|
|
68
|
-
tc = ask_gpt_for_tool_context(goal)
|
|
69
|
-
if tc:
|
|
70
|
-
print("GPT tool_context:")
|
|
71
|
-
print(json.dumps(tc, indent=2))
|
|
72
|
-
print("Executing API call...")
|
|
73
|
-
execute_tool_context(tc)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"role": "system",
|
|
4
|
-
"content": "You are a backend planner that translates natural language queries into JSON:API tool context blocks. You are given a resource schema and a user query. Respond only with a JSON block that specifies how to call the JSON:API using filter parameters."
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
"role": "user",
|
|
8
|
-
"content": "Schema:\n\nCustomer:\n - id (INTEGER)\n - name (VARCHAR)\n - balance (DECIMAL)\n - credit_limit (DECIMAL)\n * Filterable: name, balance, credit_limit\n * Example: 'List customers with credit over 5000'\n\nItem:\n - id (INTEGER)\n - order_id (INTEGER)\n - product_id (INTEGER)\n - quantity (INTEGER)\n - amount (DECIMAL)\n - unit_price (DECIMAL)\n * Filterable: order_id, product_id, unit_price\n * Relationships:\n ↪ relates to Order\n ↪ relates to Product\n * Example: 'Find all items for order 42'\n\nOrder:\n - id (INTEGER)\n - notes (VARCHAR)\n - customer_id (INTEGER)\n - date_shipped (DATE)\n - amount_total (DECIMAL)\n * Filterable: notes, customer_id, date_shipped, amount_total\n * Relationships:\n ↪ relates to Customer\n * Example: 'Get orders shipped in 2024'\n\nProduct:\n - id (INTEGER)\n - name (VARCHAR)\n - unit_price (DECIMAL)\n * Filterable: name, unit_price\n * Example: 'Show products with price over 100'\n\n---\n\nNatural language query: 'List all customers with credit limits over 4000.'\n\nRespond with a JSON object like:\n{\n \"tool\": \"json-api\",\n \"method\": \"GET\",\n \"url\": \"https://your-api-server/Customer\",\n \"query_params\": { \"filter[credit_limit][gt]\": \"4000\" },\n \"headers\": { \"Accept\": \"application/vnd.api+json\" },\n \"expected_output\": \"List of customers with high credit limits\"\n}"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"tool": "json-api",
|
|
3
|
-
"method": "GET",
|
|
4
|
-
"url": "https://your-api-server/Customer",
|
|
5
|
-
"query_params": {
|
|
6
|
-
"filter[credit_limit][gt]": "4000"
|
|
7
|
-
},
|
|
8
|
-
"headers": {
|
|
9
|
-
"Accept": "application/vnd.api+json"
|
|
10
|
-
},
|
|
11
|
-
"expected_output": "List of customers with high credit limits"
|
|
12
|
-
}
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/resources/llm_schema.txt
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
Customer:
|
|
2
|
-
- id (INTEGER)
|
|
3
|
-
- name (VARCHAR)
|
|
4
|
-
- balance (DECIMAL)
|
|
5
|
-
- credit_limit (DECIMAL)
|
|
6
|
-
* Filterable: name, balance, credit_limit
|
|
7
|
-
* Example: 'List customers with credit over 5000'
|
|
8
|
-
|
|
9
|
-
Item:
|
|
10
|
-
- id (INTEGER)
|
|
11
|
-
- order_id (INTEGER)
|
|
12
|
-
- product_id (INTEGER)
|
|
13
|
-
- quantity (INTEGER)
|
|
14
|
-
- amount (DECIMAL)
|
|
15
|
-
- unit_price (DECIMAL)
|
|
16
|
-
* Filterable: order_id, product_id, unit_price
|
|
17
|
-
* Relationships:
|
|
18
|
-
↪ relates to Order
|
|
19
|
-
↪ relates to Product
|
|
20
|
-
* Example: 'Find all items for order 42'
|
|
21
|
-
|
|
22
|
-
Order:
|
|
23
|
-
- id (INTEGER)
|
|
24
|
-
- notes (VARCHAR)
|
|
25
|
-
- customer_id (INTEGER)
|
|
26
|
-
- date_shipped (DATE)
|
|
27
|
-
- amount_total (DECIMAL)
|
|
28
|
-
* Filterable: notes, customer_id, date_shipped, amount_total
|
|
29
|
-
* Relationships:
|
|
30
|
-
↪ relates to Customer
|
|
31
|
-
* Example: 'Get orders shipped in 2024'
|
|
32
|
-
|
|
33
|
-
Product:
|
|
34
|
-
- id (INTEGER)
|
|
35
|
-
- name (VARCHAR)
|
|
36
|
-
- unit_price (DECIMAL)
|
|
37
|
-
* Filterable: name, unit_price
|
|
38
|
-
* Example: 'Show products with price over 100'
|