ApiLogicServer 14.5.4__py3-none-any.whl → 14.5.15__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/api_logic_server.py +4 -122
- api_logic_server_cli/api_logic_server_info.yaml +3 -3
- api_logic_server_cli/create_from_model/__pycache__/api_logic_server_utils.cpython-312.pyc +0 -0
- api_logic_server_cli/create_from_model/__pycache__/dbml.cpython-312.pyc +0 -0
- api_logic_server_cli/create_from_model/api_logic_server_utils.py +29 -10
- api_logic_server_cli/create_from_model/dbml.py +15 -12
- api_logic_server_cli/database/basic_demo.sqlite +0 -0
- api_logic_server_cli/genai/genai.py +4 -0
- api_logic_server_cli/genai/genai_svcs.py +14 -3
- api_logic_server_cli/manager.py +3 -1
- api_logic_server_cli/prototypes/base/.vscode/launch.json +40 -0
- api_logic_server_cli/prototypes/base/api/api_discovery/mcp_discovery.py +58 -0
- api_logic_server_cli/prototypes/base/database/system/SAFRSBaseX.py +68 -2
- api_logic_server_cli/prototypes/base/database/system/SAFRSBaseX.pyZ +73 -0
- api_logic_server_cli/prototypes/{basic_demo/customizations/integration → base/integration/mcp}/.DS_Store +0 -0
- api_logic_server_cli/prototypes/base/integration/mcp/README_mcp.md +15 -0
- api_logic_server_cli/prototypes/{basic_demo/customizations → base}/integration/mcp/mcp_client_executor.py +91 -103
- api_logic_server_cli/prototypes/base/integration/mcp/mcp_schema.txt +47 -0
- api_logic_server_cli/prototypes/base/integration/mcp/mcp_server_discovery.json +9 -0
- api_logic_server_cli/prototypes/base/integration/mcp/test_notes.txt +37 -0
- api_logic_server_cli/prototypes/basic_demo/README.md +251 -91
- api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/mcp_discovery.py +1 -1
- api_logic_server_cli/prototypes/basic_demo/customizations/database/db.sqlite +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/database/models.py +27 -12
- api_logic_server_cli/prototypes/basic_demo/customizations/database/system/SAFRSBaseX.py +1 -1
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/Zmcp_client_executor.py +294 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_tool_context.json +25 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/test_notes.txt +37 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/declare_logic.py +1 -20
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/email_request.py +47 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/mcp_client_executor_request.py +320 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/simple_constraints.py +25 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/admin/admin.yaml +39 -32
- api_logic_server_cli/prototypes/basic_demo/iteration/database/db.sqlite +0 -0
- api_logic_server_cli/prototypes/basic_demo/iteration/ui/admin/admin.yaml +39 -44
- api_logic_server_cli/prototypes/manager/.vscode/launch.json +21 -0
- api_logic_server_cli/prototypes/manager/{README.md → READMEz.md} +4 -4
- api_logic_server_cli/prototypes/manager/REAMDE.md +1057 -0
- api_logic_server_cli/prototypes/manager/system/genai/mcp_learning/mcp.prompt +27 -0
- api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.sh +2 -1
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.15.dist-info}/METADATA +1 -1
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.15.dist-info}/RECORD +46 -42
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.15.dist-info}/WHEEL +1 -1
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/3_executor_test_agent.py +0 -52
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/README_functon.md +0 -201
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/ai_plugin.json +0 -17
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/nw-swagger_3.json +0 -1731
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/snippets.txt +0 -5
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3 genai_demo_with_get.json +0 -1731
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3.json +0 -1782
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo.json +0 -264
- api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo_with_update.json +0 -1782
- api_logic_server_cli/prototypes/genai_demo/logic/logic_discovery/auto_discovery.py +0 -52
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.15.dist-info}/entry_points.txt +0 -0
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.15.dist-info}/licenses/LICENSE +0 -0
- {apilogicserver-14.5.4.dist-info → apilogicserver-14.5.15.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Only if 'email' is in the Natural language query, send email by issing a POST request to the SysEmail endpoint, setting the subject, message and customer_id in the body. DO NOT include a POST unless the word ‘email’ appears in the user query.
|
|
2
|
+
|
|
3
|
+
Format response as mcp_responseFormat.
|
|
4
|
+
|
|
5
|
+
<mcp_responseFormat>
|
|
6
|
+
class QueryParam(BaseModel):
|
|
7
|
+
name: str # attribute name
|
|
8
|
+
op: str # eq, lt, gt
|
|
9
|
+
val: str
|
|
10
|
+
|
|
11
|
+
class JsonValues(BaseMopdel):
|
|
12
|
+
name: str # name of attribute
|
|
13
|
+
value: str # value of attribute
|
|
14
|
+
|
|
15
|
+
class Resource(BaseModel):
|
|
16
|
+
tool_type: str
|
|
17
|
+
base_url: str
|
|
18
|
+
path: str # specified use case or requirement name (use 'General' if missing)
|
|
19
|
+
method: str # GET, PATCH, POST or DELETE
|
|
20
|
+
body: json # data for PATCH or POST
|
|
21
|
+
query_params: List(QueryParam) # filter for GET
|
|
22
|
+
|
|
23
|
+
class MCPResult(BaseModel): # must match system/genai/prompt_inserts/response_format.prompt
|
|
24
|
+
schema_version: str
|
|
25
|
+
resources : List[Resource] # list resources
|
|
26
|
+
|
|
27
|
+
<mcp_responseFormat/>
|
|
@@ -34,9 +34,10 @@ if [ $# -eq 0 ]
|
|
|
34
34
|
then
|
|
35
35
|
echo " "
|
|
36
36
|
# echo "shell: $SHELL"
|
|
37
|
-
echo "Installs
|
|
37
|
+
echo "Installs ApiLogicServer Dev Src and safrs-react-admin on $ostype (version 7.0.15)\n"
|
|
38
38
|
echo " .. vscode option creates venv, and starts vscode on workspace"
|
|
39
39
|
echo " .. See: https://apilogicserver.github.io/Docs/Architecture-Internals"
|
|
40
|
+
echo " .. Installer Version 14.05.04"
|
|
40
41
|
echo " "
|
|
41
42
|
echo " > sh system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.sh [ vscode | charm | x ]"
|
|
42
43
|
echo " "
|
|
@@ -1,19 +1,19 @@
|
|
|
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=TTjZVxqoubihgjjO-lj916LrSWxD6SbiCQo6QjyZ3GU,96180
|
|
3
|
+
api_logic_server_cli/api_logic_server_info.yaml,sha256=fc8tW0mwphoVmben9kMc1cAI3Yp_J1CdY8ZVcp9ulYg,124
|
|
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
|
-
api_logic_server_cli/manager.py,sha256=
|
|
9
|
+
api_logic_server_cli/manager.py,sha256=pLBJkGYhSFBifW97D162WWqA1UDoIwEXH7A6nBK4j1Y,11048
|
|
10
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
|
|
14
|
-
api_logic_server_cli/create_from_model/api_logic_server_utils.py,sha256=
|
|
14
|
+
api_logic_server_cli/create_from_model/api_logic_server_utils.py,sha256=G5ifhuR8OIujUHoklZ-XZyowCpUGKJrkLuyB9sSEf34,26728
|
|
15
15
|
api_logic_server_cli/create_from_model/create_db_from_model.py,sha256=2H7slGnk39XOSnvL7vxrg6Ewx4bxeBJBgLo8fcXHTB4,4382
|
|
16
|
-
api_logic_server_cli/create_from_model/dbml.py,sha256=
|
|
16
|
+
api_logic_server_cli/create_from_model/dbml.py,sha256=1MeLhdIo7cS40ddxnRk7_tqs5gxYfFwO-QlgvRpb9I0,11387
|
|
17
17
|
api_logic_server_cli/create_from_model/meta_model.py,sha256=ERf7tSgnSJSeRMVyggkdg-lvORQZSbfK0KMpL63qSEY,5837
|
|
18
18
|
api_logic_server_cli/create_from_model/model_creation_services.py,sha256=B86ljgUR98H_dCaxqiw-flrbvc05-XXtkC5It2BSezs,41479
|
|
19
19
|
api_logic_server_cli/create_from_model/ont_build.py,sha256=5BcmM0xW-0vjr9J_u1o0_3joLfKhcLeDWP31dcy5dzI,67028
|
|
@@ -22,9 +22,9 @@ api_logic_server_cli/create_from_model/ui_admin_creator.py,sha256=j1hZuHn70c4NA7
|
|
|
22
22
|
api_logic_server_cli/create_from_model/uri_info.py,sha256=WiDw7hRcidz9hasodQ6O2ZJnUMfhHeydueQ8HXzPXlc,2395
|
|
23
23
|
api_logic_server_cli/create_from_model/__pycache__/__init__.cpython-312.pyc,sha256=CsCx6kjrSUonIcVUGVJemwAdGUB8h4IF0cwnpTIU4C4,223
|
|
24
24
|
api_logic_server_cli/create_from_model/__pycache__/api_expose_api_models_creator.cpython-312.pyc,sha256=3wtCiVHOjOgIonZOgnCsF2p01zcXIapx1_Tq2LwzY6Q,6989
|
|
25
|
-
api_logic_server_cli/create_from_model/__pycache__/api_logic_server_utils.cpython-312.pyc,sha256=
|
|
25
|
+
api_logic_server_cli/create_from_model/__pycache__/api_logic_server_utils.cpython-312.pyc,sha256=Qa-lL19TM5dAwMgVmT6ld7iB_Bb7RR0oYpEzlC2UmHM,27403
|
|
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=a0T97WPNlfceDcpi7VQfXlIPCgn36aXxmtnMJ-cVSfQ,12537
|
|
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
30
|
api_logic_server_cli/create_from_model/__pycache__/ont_build.cpython-312.pyc,sha256=Hni6k7GidAkkz-YO2kvmQOMYdCdCWvGWxX3HIPjj1eE,75285
|
|
@@ -443,7 +443,7 @@ api_logic_server_cli/database/allocation.sqlite,sha256=9bH3HKgagCnzNTrj7whysop7r
|
|
|
443
443
|
api_logic_server_cli/database/authentication-unused.sqlite,sha256=hA71uBnrh2PVQw9YLc-YbsXjpxr2VyvfE-OhF_ssE6w,45056
|
|
444
444
|
api_logic_server_cli/database/authentication_doc-unused.sqlite,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
445
445
|
api_logic_server_cli/database/authentication_doc_unused.sqlite,sha256=U1PFfI_P2fQ0O68AkYD5orgfbDIxJnh-jn8i2hUcLrg,53248
|
|
446
|
-
api_logic_server_cli/database/basic_demo.sqlite,sha256=
|
|
446
|
+
api_logic_server_cli/database/basic_demo.sqlite,sha256=uFJP2zUI8npJ1bJAeb3PSrGq3h_imBfsP_dZC3lGzDY,20480
|
|
447
447
|
api_logic_server_cli/database/basic_demo.txt,sha256=5si_qDHcyaOasTFgPqK-f4q0VRY3GA2Z-2OUaZ_Xgzg,50
|
|
448
448
|
api_logic_server_cli/database/basic_demo_wg.sqlite,sha256=ywpzn3Q5k-XTcMkB4-6Pks9XUB2Y4c_KUbAxwC5EFMU,28672
|
|
449
449
|
api_logic_server_cli/database/classicmodels.sqlite,sha256=9ob7iBwVLf8D10_d0SlAEHTGeig3fErP8Y6_s47LilY,413696
|
|
@@ -474,11 +474,11 @@ api_logic_server_cli/fragments/nw_virtual_attrs.py,sha256=7hgvhnO1UcJ6OoPKCxR5bn
|
|
|
474
474
|
api_logic_server_cli/fragments/ui_basic_web_app_runZZ.py,sha256=UllBIkKHlUE3nyDE1qtFWCA-NTE1ltYxPvVUd7lZI5U,870
|
|
475
475
|
api_logic_server_cli/genai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
476
476
|
api_logic_server_cli/genai/client.py,sha256=36gyz-dqxj4dJj1SGtO9NZsy9-cfnf4d7uahHimwqHk,772
|
|
477
|
-
api_logic_server_cli/genai/genai.py,sha256=
|
|
477
|
+
api_logic_server_cli/genai/genai.py,sha256=rt4XW_xmo-D5fLD8DQBHMjrU7Teflw43S8lR-tJd4KU,47014
|
|
478
478
|
api_logic_server_cli/genai/genai_fatal_excp.py,sha256=1FmDVcXVRqmG0JMVZ7l4KqMOdpff3KGZ2LPAGtw304Q,179
|
|
479
479
|
api_logic_server_cli/genai/genai_graphics.py,sha256=RVLbcHoERS7F2l3WiwKrJkn3VnhQ07A-1ru55IvS4dU,20610
|
|
480
480
|
api_logic_server_cli/genai/genai_logic_builder.py,sha256=u_89UtrALIfcMtW6p0SZ78lCmwRqerA5igyY2hDvjlk,26150
|
|
481
|
-
api_logic_server_cli/genai/genai_svcs.py,sha256=
|
|
481
|
+
api_logic_server_cli/genai/genai_svcs.py,sha256=DfjUt1neykdAvRcJ5ZLxbzhHpe-HMgIRNiBnzV3oM3M,48475
|
|
482
482
|
api_logic_server_cli/genai/genai_utils.py,sha256=DTlWTnW5_2pzX4q1VG1tWqoZPVObDHR97SVe0z8Z3rs,17102
|
|
483
483
|
api_logic_server_cli/genai/json2rules.py,sha256=ykoxxgZgqllzt8Ud06S-R_3QtumxXfmF5ksYC0Hh2Sk,2645
|
|
484
484
|
api_logic_server_cli/model_migrator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -528,7 +528,7 @@ api_logic_server_cli/prototypes/base/.idea/runConfigurations/Run_Behave.xml,sha2
|
|
|
528
528
|
api_logic_server_cli/prototypes/base/.idea/runConfigurations/Windows_Run_Behave.xml,sha256=TMkGY8PMDhcGGkDw_tC-QljbmXLGT66ubsmRbMmfzi0,1205
|
|
529
529
|
api_logic_server_cli/prototypes/base/.idea/runConfigurations/run___No_Security.xml,sha256=BBK0h04vSC_hVSi7dKm_8Mo201jGivZRbx4ruFcqAEo,1193
|
|
530
530
|
api_logic_server_cli/prototypes/base/.idea/runConfigurations/run_docker.xml,sha256=oDHdZ8WEGU1MoWEQHH3jBvbPZt4hGlodUq4IeXv68co,2444
|
|
531
|
-
api_logic_server_cli/prototypes/base/.vscode/launch.json,sha256=
|
|
531
|
+
api_logic_server_cli/prototypes/base/.vscode/launch.json,sha256=_QjN3aCBJwk2SIqA7v6w4pI96oTxYVzs0f45oEgoucU,12628
|
|
532
532
|
api_logic_server_cli/prototypes/base/.vscode/settings.json,sha256=vS3gt0PpFbZ3fdGeiVGaE4v9PyRydjrrdGWb27w9UUo,470
|
|
533
533
|
api_logic_server_cli/prototypes/base/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
534
534
|
api_logic_server_cli/prototypes/base/api/customize_api.py,sha256=-_eoaIukB4v1dF1TXTOqRRyU_nLbXXEhphI43GPtdoI,2236
|
|
@@ -536,6 +536,7 @@ api_logic_server_cli/prototypes/base/api/expose_api_models.py,sha256=XhmZe_8Hnup
|
|
|
536
536
|
api_logic_server_cli/prototypes/base/api/json_encoder.py,sha256=3EFDSi9jdaS4jSOs5EwyltWwTy-8QEoBN2afYknpCdQ,521
|
|
537
537
|
api_logic_server_cli/prototypes/base/api/readme_customize_api.md,sha256=AEeBybDsXSDr2IlqGZCo17ZModZnrflAOCx2a6gP_rE,4165
|
|
538
538
|
api_logic_server_cli/prototypes/base/api/api_discovery/auto_discovery.py,sha256=y6uQ_i9t8qqmjsM69rZzzp2q3OaAbSrwlfeRIrR_sRY,1099
|
|
539
|
+
api_logic_server_cli/prototypes/base/api/api_discovery/mcp_discovery.py,sha256=fKNJ4dXhnnSVmkSVyvkP5T8NyGRZEOd_z6UdFcnDaWU,2078
|
|
539
540
|
api_logic_server_cli/prototypes/base/api/api_discovery/new_service.py,sha256=xe2AAFvpQwjrwwGAXs4pdZ8dWtcqAJ5KKYL_QKyqvGg,638
|
|
540
541
|
api_logic_server_cli/prototypes/base/api/api_discovery/newer_service.py,sha256=p1ah8Pj2kjuTIlktYrtvdiuzGUEaPy7qLa7Cvu0GgbA,659
|
|
541
542
|
api_logic_server_cli/prototypes/base/api/api_discovery/ontimize_api.py,sha256=_gNyxbx6ExbrCy3uzz8JzBBDZRxPyHoyRH7vJRqV1NM,20340
|
|
@@ -567,7 +568,8 @@ api_logic_server_cli/prototypes/base/database/alembic/versions/readme.md,sha256=
|
|
|
567
568
|
api_logic_server_cli/prototypes/base/database/database_discovery/authentication_models.py,sha256=8IGpWyNzr3BavktFP85gtsWcorTznR2DFeQb-9yCLZ4,6772
|
|
568
569
|
api_logic_server_cli/prototypes/base/database/database_discovery/auto_discovery.py,sha256=m-LFznTdM581n7xkisamzHIQZ3fEiY9RPKd4wzB6wYo,978
|
|
569
570
|
api_logic_server_cli/prototypes/base/database/db_debug/db_debug.py,sha256=ctcwksnM89597LUAme5Sn044r-xgRh47wSSe3MioPH4,3259
|
|
570
|
-
api_logic_server_cli/prototypes/base/database/system/SAFRSBaseX.py,sha256=
|
|
571
|
+
api_logic_server_cli/prototypes/base/database/system/SAFRSBaseX.py,sha256=VeiUgXr9pkgvxchCf89lhRKNBlfj4_FYwAweu3NWj-M,5394
|
|
572
|
+
api_logic_server_cli/prototypes/base/database/system/SAFRSBaseX.pyZ,sha256=p8C7AF9r9a_oeO1GcltUqR6YSTbcevbWVm3vhfTT1h0,2540
|
|
571
573
|
api_logic_server_cli/prototypes/base/database/test_data/alp_init.py,sha256=C7yqHB7KoOgwvzRsI3DVk9O_QHPu4SYioChv0Jz5xXY,1203
|
|
572
574
|
api_logic_server_cli/prototypes/base/database/test_data/readme.md,sha256=IDKVMagnjobf5IigYCkQkUMM_iLvBdhK9grMNImSOKg,694
|
|
573
575
|
api_logic_server_cli/prototypes/base/database/test_data/response2code.py,sha256=PTeAXHU-r6r0EBknSGXnbkdySAAzch_3gOuRlyUyVF8,4414
|
|
@@ -627,6 +629,12 @@ api_logic_server_cli/prototypes/base/docs/training/logic_example.py,sha256=yAot6
|
|
|
627
629
|
api_logic_server_cli/prototypes/base/integration/kafka/kafka_consumer.py,sha256=2DOsFpYnsJ71gZzzfJweEmL-i99uCtEFU0hVwIKFGMw,1516
|
|
628
630
|
api_logic_server_cli/prototypes/base/integration/kafka/kafka_producer.py,sha256=g0nMAVfz1Y0iKJbbXfvRpdf-QUmyB4uUGZ6lyaVoXag,4470
|
|
629
631
|
api_logic_server_cli/prototypes/base/integration/kafka/kafka_readme.md,sha256=MlwykHWM2w41KzWh4vPuTnIodR8f-BQzrWpV4P1hrsI,161
|
|
632
|
+
api_logic_server_cli/prototypes/base/integration/mcp/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
|
633
|
+
api_logic_server_cli/prototypes/base/integration/mcp/README_mcp.md,sha256=ZXLgtvqQCcGouxFE_7pu6OA3Qu1Qm3Jh-gcQxuFKb_w,1216
|
|
634
|
+
api_logic_server_cli/prototypes/base/integration/mcp/mcp_client_executor.py,sha256=Y0kQy4oMuBhCfhZxlfm5qPVXVObjOULatpJ2lIc9qJQ,12926
|
|
635
|
+
api_logic_server_cli/prototypes/base/integration/mcp/mcp_schema.txt,sha256=qmov7e0NdYiQTCxNJU2xzxf9HnYeXFej-c8GSB-y6MM,1143
|
|
636
|
+
api_logic_server_cli/prototypes/base/integration/mcp/mcp_server_discovery.json,sha256=TUyInb67AWoGw7XFE9iDZxmM8UEID-ahQmdmzpF9AmQ,188
|
|
637
|
+
api_logic_server_cli/prototypes/base/integration/mcp/test_notes.txt,sha256=71Qqw7FRVGtEoHCxlGRPpaizvBh1L-X-MTOwkZ6CY3A,11126
|
|
630
638
|
api_logic_server_cli/prototypes/base/integration/n8n/N8N_WebHook_from_ApiLogicServer.json,sha256=s9JuoF9gLiuNZAD0dTVdnwQpORQHe0TseyPNVDe048w,10606
|
|
631
639
|
api_logic_server_cli/prototypes/base/integration/n8n/n8n_producer.py,sha256=LuMec7HNwjaCsyMQSTTRpx9tW6l3OiV1StWrnahJBPA,7314
|
|
632
640
|
api_logic_server_cli/prototypes/base/integration/n8n/n8n_readme.md,sha256=8RisYrm8ORUbtu-Duis19DJTBMGW32LymWYZN9A0pF0,3130
|
|
@@ -689,41 +697,36 @@ api_logic_server_cli/prototypes/base/venv_setup/requirements-no-cli.txt,sha256=s
|
|
|
689
697
|
api_logic_server_cli/prototypes/base/venv_setup/venv-linux.sh,sha256=FDIxVyZ50CgLVLrAW942Kxnkv1n4WLR2UerzUnuhPwM,900
|
|
690
698
|
api_logic_server_cli/prototypes/base/venv_setup/venv.ps1,sha256=_-LfKkLw5HOkZsF59BGCqM9Zsk3n1oDIyDb4emy0O08,698
|
|
691
699
|
api_logic_server_cli/prototypes/base/venv_setup/venv.sh,sha256=aWX9fa8fe6aO9ifBIZEgGY5UGh4I0arOoCwBzDsxgU8,893
|
|
692
|
-
api_logic_server_cli/prototypes/basic_demo/README.md,sha256=
|
|
700
|
+
api_logic_server_cli/prototypes/basic_demo/README.md,sha256=QHVOtJq7A_9RtTwrrecbbYbdBf3buxkhBgPpX342wAA,18685
|
|
693
701
|
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/mcp_discovery.py,sha256=
|
|
702
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/mcp_discovery.py,sha256=YBgu5EOzrNhhdIPLUN4mplAy5WCy_KodK7LCMZlz6xk,3748
|
|
695
703
|
api_logic_server_cli/prototypes/basic_demo/customizations/api/api_discovery/openapi.py,sha256=kLQ7Fn1J7tzuNJHBXF2AiwtzvQ-0JxJ6z-MfFryAtLk,3887
|
|
696
704
|
api_logic_server_cli/prototypes/basic_demo/customizations/config/default.env,sha256=-rjXJrjR4vjMr9YCVYVchaJw7qMBlbvQ3KfR_wri_XM,412
|
|
697
705
|
api_logic_server_cli/prototypes/basic_demo/customizations/config/server_setup.py,sha256=bV48ou0jSEm2o5yhTVgms1w7rqU9Ccf_2yfZip3ivJk,15441
|
|
698
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/database/db.sqlite,sha256=
|
|
699
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/database/models.py,sha256=
|
|
700
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/database/system/SAFRSBaseX.py,sha256=
|
|
701
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/.DS_Store,sha256=nfyHG63vXNerWIrSwk76tTujqqB25mRZZZ04VJmxlCQ,6148
|
|
706
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/database/db.sqlite,sha256=wfrMPS1h9bq5hT0u901p2FjlGIFZsKZkTy77tzrkzsM,28672
|
|
707
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/database/models.py,sha256=sg-ihsH386778vf2DtW0edzf8oCqDVp1NCqhyWXAbLw,4895
|
|
708
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/database/system/SAFRSBaseX.py,sha256=VeiUgXr9pkgvxchCf89lhRKNBlfj4_FYwAweu3NWj-M,5394
|
|
702
709
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
|
703
710
|
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/
|
|
711
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/Zmcp_client_executor.py,sha256=wLjr6RDFpweCMCItno5OGUgNaMDYkYIBtwc7sUqNAG4,12945
|
|
705
712
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_schema.txt,sha256=qmov7e0NdYiQTCxNJU2xzxf9HnYeXFej-c8GSB-y6MM,1143
|
|
706
713
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_server_discovery.json,sha256=TUyInb67AWoGw7XFE9iDZxmM8UEID-ahQmdmzpF9AmQ,188
|
|
707
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/
|
|
708
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/
|
|
709
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/ai_plugin.json,sha256=-TcpPnKT6OESE4U97Sah9tCjaqMOlWY5fnKtjGO7vYM,561
|
|
710
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/nw-swagger_3.json,sha256=nYMUuLic6x3YaymUXDCevM-XeZ5DjnlgNFm0uXYNHkU,51728
|
|
711
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/snippets.txt,sha256=mUHFRZlXLOO8VVeVmFeZTcdetzsiKFW2ueIGIM0EcXk,132
|
|
712
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3 genai_demo_with_get.json,sha256=qKiO5OwwMrFflYi-_m5Iuo6HgvV7Dt3oooRJ9bpMwIg,51695
|
|
713
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3.json,sha256=arGkv02-QYkGp20l3o88kijV4XOdMi2HsxraVWhGd54,49478
|
|
714
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo.json,sha256=EnHZqaqlcSiAeLXpX3c3L_PCQcWCPdD3eKiEwzDU-0g,6024
|
|
715
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/swagger_3_genai_demo_with_update.json,sha256=arGkv02-QYkGp20l3o88kijV4XOdMi2HsxraVWhGd54,49478
|
|
714
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/mcp_tool_context.json,sha256=UB25uyOO5Jnx5k5Sxe7c8MQxc6V0R1FsA4HhpHoKgw4,846
|
|
715
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/integration/mcp/test_notes.txt,sha256=71Qqw7FRVGtEoHCxlGRPpaizvBh1L-X-MTOwkZ6CY3A,11126
|
|
716
716
|
api_logic_server_cli/prototypes/basic_demo/customizations/logic/cocktail-napkin.jpg,sha256=5rNSy6wvcWSHPJQZqkf2DHs19QLWiyqMBNwxGqjstZU,133075
|
|
717
|
-
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=Yk-X017gZM1egx4MXSx_FGURj4KDqJfpq1NWVFrwfEY,4612
|
|
718
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/email_request.py,sha256=_ky4ZAggiH3-V1-_V4j7pBZ0gWju8cDCZP48d_Y-otw,1765
|
|
719
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/mcp_client_executor_request.py,sha256=vwdEZqsiOwxA-loFvjFetGi9zBnOnoPvrwm3PQhtAQA,14226
|
|
720
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/logic/logic_discovery/simple_constraints.py,sha256=4HRLOXuLJP1eOosONeEtpA9DehxiZME0-FBKuG1RaI0,760
|
|
718
721
|
api_logic_server_cli/prototypes/basic_demo/customizations/security/declare_security.py,sha256=gbdH29cPY656lgROPm_w20Q-g6AhlIMES3wiIrqBTdk,2439
|
|
719
|
-
api_logic_server_cli/prototypes/basic_demo/customizations/ui/admin/admin.yaml,sha256=
|
|
722
|
+
api_logic_server_cli/prototypes/basic_demo/customizations/ui/admin/admin.yaml,sha256=y3goVMcxMN4wNLQh4kNJvYuSzpntECeDjwLQF2c1YI4,3494
|
|
720
723
|
api_logic_server_cli/prototypes/basic_demo/iteration/api/api_discovery/order_b2b.py,sha256=hg9Bsz0_t-RjO9rFcW-YH3y26kq4IY5dd9FfVoYxB4w,3176
|
|
721
|
-
api_logic_server_cli/prototypes/basic_demo/iteration/database/db.sqlite,sha256=
|
|
724
|
+
api_logic_server_cli/prototypes/basic_demo/iteration/database/db.sqlite,sha256=QsU34YuKT_YjPF-v6vDtcNJWV6AV2mspqAqW1VoMH5M,28672
|
|
722
725
|
api_logic_server_cli/prototypes/basic_demo/iteration/docs/er_diagram.png,sha256=-3aSv9ay7XeFqGU-cygRz5T5eYhY627BYmA6GXdUYH0,161072
|
|
723
726
|
api_logic_server_cli/prototypes/basic_demo/iteration/integration/row_dict_maps/OrderB2B.py,sha256=MGNSSOpqfHPaK8Yjm-h_x8ki-Uu_yU73C1l8ZXRipCo,1282
|
|
724
727
|
api_logic_server_cli/prototypes/basic_demo/iteration/integration/row_dict_maps/OrderShipping.py,sha256=pzrK57C1ppUUcSBVNICXGujsf9p1ZTRq0bpKacgcrV0,1213
|
|
725
728
|
api_logic_server_cli/prototypes/basic_demo/iteration/logic/declare_logic.py,sha256=Jnqt0j2Yu8ev1Pi9T3rogumuGn2sR4Q4QyWeUIunG28,6501
|
|
726
|
-
api_logic_server_cli/prototypes/basic_demo/iteration/ui/admin/admin.yaml,sha256=
|
|
729
|
+
api_logic_server_cli/prototypes/basic_demo/iteration/ui/admin/admin.yaml,sha256=EZmy6kiOENX8jzcqBcvdgteH04yylfJ9bgDQ7rYPfIw,3541
|
|
727
730
|
api_logic_server_cli/prototypes/classicmodels/devops/docker-compose-dev-azure/docker-compose-dev-azure.yml,sha256=5qrlCzViJcYZ9uhWGBCJmnexi7bwQaYzQKMqGCnRzS0,1389
|
|
728
731
|
api_logic_server_cli/prototypes/classicmodels/devops/docker-compose-dev-local/docker-compose-dev-local.yml,sha256=WJu3CKusT1wju6CubOKi6T1pW3pbE8JrZraGTpC6HTY,1439
|
|
729
732
|
api_logic_server_cli/prototypes/classicmodels/devops/docker-compose-dev-local-nginx/docker-compose-dev-local-nginx.yml,sha256=QgsdxPfRYNUco0DcXZWo5_9FgDzrCmnWFoDjkrws5XU,2456
|
|
@@ -756,16 +759,16 @@ api_logic_server_cli/prototypes/genai_demo/integration/row_dict_maps/row_dict_ma
|
|
|
756
759
|
api_logic_server_cli/prototypes/genai_demo/logic/declare_logic.py,sha256=gP4_Zr2nM8qXmmrCwtSM6D2ITZkLvwanBQhIo9UNiuo,4932
|
|
757
760
|
api_logic_server_cli/prototypes/genai_demo/logic/load_verify_rules.py,sha256=TWqzJ_KWX_QvpxWQv4ujqc487W1P9ZglrciSLor_NHA,7681
|
|
758
761
|
api_logic_server_cli/prototypes/genai_demo/logic/readme_declare_logic.md,sha256=CFC13f9Z4rTkNiRoJTBEz3A2F_yRThOj-HrHDsSdKsw,6630
|
|
759
|
-
api_logic_server_cli/prototypes/genai_demo/logic/logic_discovery/auto_discovery.py,sha256=m97W6DYi6ouTDuFCiU1rPq1UqzJuNnVePyOeLU33D1s,2645
|
|
760
762
|
api_logic_server_cli/prototypes/genai_demo/security/declare_security.py,sha256=L3AL1bgdqIWQxdkJZcFVDOQ0XRpmeLAKqwlAYChFWKo,2108
|
|
761
763
|
api_logic_server_cli/prototypes/genai_demo/ui/admin/admin.yaml,sha256=vMpr6to6g-h9gSuhxfpTeDMw5_R_eUKbV7qXzMEvIyk,3446
|
|
762
764
|
api_logic_server_cli/prototypes/manager/.gitignore,sha256=xfAjNQHokbo6GuN1ghx-eml8tQIzwUczLC_YVzElndI,195
|
|
763
|
-
api_logic_server_cli/prototypes/manager/
|
|
765
|
+
api_logic_server_cli/prototypes/manager/READMEz.md,sha256=zOnEDVApxPEivo0oZ316eWkr8y0me7wie1An3oJmn9c,23312
|
|
766
|
+
api_logic_server_cli/prototypes/manager/REAMDE.md,sha256=mxcXCV8lx7LcqJO6zL7IveRjDJRrR4VJjoXNW_BGA60,36074
|
|
764
767
|
api_logic_server_cli/prototypes/manager/run_sample.sh,sha256=eRA-p_Snr7Pwk14wUw5mja2usEcjAKisHVhHMeSaQ68,781
|
|
765
768
|
api_logic_server_cli/prototypes/manager/run_web_genai.sh,sha256=sgjB3vKhkao93Ny3VN0AQ-wonvdBcBIT3rTbyNTMoG8,136
|
|
766
769
|
api_logic_server_cli/prototypes/manager/settings.txt,sha256=_jjL30jomIMxG21edDfrXYRT9Zfgr_0EdUWvcEUOnFQ,368
|
|
767
770
|
api_logic_server_cli/prototypes/manager/.vscode/ApiLogicServer.code-workspace,sha256=g062GyCFJ9XfuzVAfxk8Qsl5kWAB_v5Z1AQ3dzpcHMw,294
|
|
768
|
-
api_logic_server_cli/prototypes/manager/.vscode/launch.json,sha256=
|
|
771
|
+
api_logic_server_cli/prototypes/manager/.vscode/launch.json,sha256=alh_fiuqMjY-uIk4ghfwyMs3y-U2dYr1W6rS9ncpNEY,33491
|
|
769
772
|
api_logic_server_cli/prototypes/manager/.vscode/settings.json,sha256=wQgpFvviPbZCmsf02UgrJSGAz7g3i4chDZ_AdSIOr5Y,625
|
|
770
773
|
api_logic_server_cli/prototypes/manager/system/Manager_workspace.code-workspace,sha256=g062GyCFJ9XfuzVAfxk8Qsl5kWAB_v5Z1AQ3dzpcHMw,294
|
|
771
774
|
api_logic_server_cli/prototypes/manager/system/style-guide.yaml,sha256=JaP3NDE29k4_e9ELeLTZfnWf2L8VgS1X7hO8J_BNqJU,673
|
|
@@ -5649,6 +5652,7 @@ api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/html_tem
|
|
|
5649
5652
|
api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/index.html,sha256=rTl5u1AtZRIBSxK4aANBRaJK3GZOML6eiVp6Tf_2LkI,567
|
|
5650
5653
|
api_logic_server_cli/prototypes/manager/system/genai/graphics_templates/sales_by_region.jinja,sha256=k93hwOF2KslZEWw31wIobVPdbigsjNUkRWsjec2DdbM,1848
|
|
5651
5654
|
api_logic_server_cli/prototypes/manager/system/genai/learning_requests/logic_bank_api.prompt,sha256=1rBJy-rUHPx9YepSZH9niQocGbxtpbGyX2QmDxVsFd0,14489
|
|
5655
|
+
api_logic_server_cli/prototypes/manager/system/genai/mcp_learning/mcp.prompt,sha256=D3JiMRqmTDEznDJcEIujd_vOkqy_txRUAgqgfg2tnIs,986
|
|
5652
5656
|
api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/fixup.prompt,sha256=ZdVl-0J9oi8dS_3pDTrwdtvMSpDymbArTIlSEwcjCrM,305
|
|
5653
5657
|
api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/graphics.prompt,sha256=FisvgcF8h2bdOL9iYQHOCT5NmW9RipnHzI6mzin3g8o,1265
|
|
5654
5658
|
api_logic_server_cli/prototypes/manager/system/genai/prompt_inserts/graphics_request.prompt,sha256=T8lILtS_BtOjkalJPpiziVqlHVVc2PV6nz6qikNO808,175
|
|
@@ -5694,7 +5698,7 @@ api_logic_server_cli/prototypes/manager/system/images/copilot-clean.png,sha256=R
|
|
|
5694
5698
|
api_logic_server_cli/prototypes/manager/system/images/copilot.png,sha256=N8WsgqwOLD3DxkmQvpnLxx7KbMirXViUgNgumg-lbIA,1175570
|
|
5695
5699
|
api_logic_server_cli/prototypes/manager/system/images/genai.png,sha256=jqC_qRwR6Y3DIfWaYnLPWKn1KF1UUezEnMeRpvRwv5s,117507
|
|
5696
5700
|
api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.ps1,sha256=ia2LGgeK49TBI-fgrvFvGVw7EyN9qFvEoNGDE9sLxjI,3210
|
|
5697
|
-
api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.sh,sha256=
|
|
5701
|
+
api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/install-ApiLogicServer-dev.sh,sha256=zutEcQNZ1DX9gaUSRbsAcIClsy_a7inHWcb2dpcYgWY,3677
|
|
5698
5702
|
api_logic_server_cli/prototypes/manager/system/install-ApiLogicServer-dev/readme.md,sha256=NSr2hEKT1XeFMzJ_x5vcbdEFZ4PJz_GobdjRg-TyLHU,206
|
|
5699
5703
|
api_logic_server_cli/prototypes/manager/webgenai/README.md,sha256=kC5hXmKYMMEfF1aQvZnAhWrL0KwwBvJnwVMptgOQUbE,362
|
|
5700
5704
|
api_logic_server_cli/prototypes/manager_docker/.devcontainer/For_VSCode.dockerfile,sha256=_RObRZ3EBDNj1_Sx26r_CysBboMvill83f8tQN1T0Do,438
|
|
@@ -6092,9 +6096,9 @@ api_logic_server_cli/tools/mini_skel/database/system/SAFRSBaseX.py,sha256=p8C7AF
|
|
|
6092
6096
|
api_logic_server_cli/tools/mini_skel/database/system/TestDataBase.py,sha256=U02SYqThsbY5g3DX7XGaiMxjZBuOpzvtPS6RfI1WQFg,371
|
|
6093
6097
|
api_logic_server_cli/tools/mini_skel/logic/declare_logic.py,sha256=fTrlHyqMeZsw_TyEXFa1VlYBL7fzjZab5ONSXO7aApo,175
|
|
6094
6098
|
api_logic_server_cli/tools/mini_skel/logic/load_verify_rules.py,sha256=Rr5bySJpYCZmNPF2h-phcPJ53nAOPcT_ohZpCD93-a0,7530
|
|
6095
|
-
apilogicserver-14.5.
|
|
6096
|
-
apilogicserver-14.5.
|
|
6097
|
-
apilogicserver-14.5.
|
|
6098
|
-
apilogicserver-14.5.
|
|
6099
|
-
apilogicserver-14.5.
|
|
6100
|
-
apilogicserver-14.5.
|
|
6099
|
+
apilogicserver-14.5.15.dist-info/licenses/LICENSE,sha256=67BS7VC-Z8GpaR3wijngQJkHWV04qJrwQArVgn9ldoI,1485
|
|
6100
|
+
apilogicserver-14.5.15.dist-info/METADATA,sha256=UY3zAfnWKvqk4IFhBUGFNUzLyKECsGR8_YVOdKctnAw,6525
|
|
6101
|
+
apilogicserver-14.5.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6102
|
+
apilogicserver-14.5.15.dist-info/entry_points.txt,sha256=KiLloZJ3c_RW-nIDqBtoE0WEsQTnZ3dELwHLWi23LMA,103
|
|
6103
|
+
apilogicserver-14.5.15.dist-info/top_level.txt,sha256=-r0AT_GEApleihg-jIh0OMvzzc0BO1RuhhOpE91H5qI,21
|
|
6104
|
+
apilogicserver-14.5.15.dist-info/RECORD,,
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import requests, json
|
|
2
|
-
|
|
3
|
-
# MCP-style tool_context
|
|
4
|
-
# does not like this pagination
|
|
5
|
-
tool_context = {
|
|
6
|
-
"method": "GET",
|
|
7
|
-
"url": "http://localhost:5656/api/Customer",
|
|
8
|
-
"query_params": {
|
|
9
|
-
"filter[Country]": "Germany",
|
|
10
|
-
"page[limit]": 2
|
|
11
|
-
},
|
|
12
|
-
"headers": {
|
|
13
|
-
"Accept": "application/vnd.api+json"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
tool_context = { # use this for nw
|
|
18
|
-
"method": "GET",
|
|
19
|
-
"url": "http://localhost:5656/api/Customer",
|
|
20
|
-
"query_params": {
|
|
21
|
-
"filter[Country]": "Germany"
|
|
22
|
-
},
|
|
23
|
-
"headers": {
|
|
24
|
-
"Accept": "application/vnd.api+json"
|
|
25
|
-
, "Authorization": "Bearer your_token"
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
tool_context = { # use this for genai_demo
|
|
30
|
-
"method": "GET",
|
|
31
|
-
"url": "http://localhost:5656/api/Customer",
|
|
32
|
-
"query_params": {
|
|
33
|
-
"filter[name]": "Alice"
|
|
34
|
-
},
|
|
35
|
-
"headers": {
|
|
36
|
-
"Accept": "application/vnd.api+json"
|
|
37
|
-
, "Authorization": "Bearer your_token"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
# Execute as a simulated MCP executor
|
|
42
|
-
response = requests.get( # use this for genai_demo
|
|
43
|
-
tool_context["url"],
|
|
44
|
-
headers=tool_context["headers"],
|
|
45
|
-
params=tool_context["query_params"]
|
|
46
|
-
)
|
|
47
|
-
|
|
48
|
-
# Display result
|
|
49
|
-
print(response.status_code)
|
|
50
|
-
# Print the response, format it as JSON with indent
|
|
51
|
-
print(json.dumps(response.json(), indent=4))
|
|
52
|
-
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
**OpenAI functions** are tools that extend the capabilities of ChatGPT by allowing it to access real-time data, perform actions, or connect with external services via APIs. .
|
|
2
|
-
|
|
3
|
-
Instead of being limited to its pre-trained knowledge, ChatGPT can use plugins to retrieve up-to-date information (like live weather, stock prices, or databases) or perform tasks (like booking a flight or running a query).
|
|
4
|
-
|
|
5
|
-
The goal is to turn ChatGPT into a more useful, interactive assistant that can bridge AI language understanding with real-world actions and live data.
|
|
6
|
-
|
|
7
|
-
>For example, in large companies, it can be remarkably hard to find corporate systems via an Intranet, and use different user interfaces. ChatGPT can simplify finding these, and interacting with Natural Language.
|
|
8
|
-
|
|
9
|
-
This is to explore:
|
|
10
|
-
|
|
11
|
-
| Explore | Status |
|
|
12
|
-
| ------------------------------------------ | -------------------- |
|
|
13
|
-
| Nat Lang ALS Access using OpenAI Functions | Initial Test Running |
|
|
14
|
-
| | |
|
|
15
|
-
|
|
16
|
-
A value prop might be summarized: *instantly expose legacy DBs to Natural Language, including critical business logic and security, to simplify user discovery and operation.*
|
|
17
|
-
|
|
18
|
-
<br>
|
|
19
|
-
|
|
20
|
-
## Status: Technology Exploration
|
|
21
|
-
|
|
22
|
-
This is an initial experiment, without automation. Many substantive issues need to be addressed, including but not limited to security, update, etc.
|
|
23
|
-
|
|
24
|
-
We welcome participation in this exploration. Please contact us via [discord](https://discord.gg/HcGxbBsgRF).
|
|
25
|
-
|
|
26
|
-
This exploration is changing rapidly. For updates, replace `integration/mcp` from [integration/msp](https://github.com/ApiLogicServer/ApiLogicServer-src/tree/main/api_logic_server_cli/prototypes/nw_no_cust/integration/openai_plugin)
|
|
27
|
-
|
|
28
|
-
<br>
|
|
29
|
-
|
|
30
|
-
## Nat Lang ALS Access using OpenAI Plugin
|
|
31
|
-
|
|
32
|
-
Requires tunnel to local host such as [ngrok](https://ngrok.com/downloads/mac-os?tab=download), then
|
|
33
|
-
|
|
34
|
-
```
|
|
35
|
-
ngrok config add-authtoken <obtain from https://dashboard.ngrok.com/get-started/setup/macos>
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
then start the tunnel
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
ngrok http 5656
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
You should see:
|
|
45
|
-
|
|
46
|
-

|
|
47
|
-
|
|
48
|
-
and note the url like: `https://42da-2601-644-4900-etc.ngrok-free.app -> http://localhost:5656`
|
|
49
|
-
|
|
50
|
-
We'll call it `tunnel_url`
|
|
51
|
-
|
|
52
|
-
Enter this into `config/default.env`
|
|
53
|
-
|
|
54
|
-
<br>
|
|
55
|
-
|
|
56
|
-
### Use GenAI_Demo
|
|
57
|
-
|
|
58
|
-
See `mcp/README_mcp.md`
|
|
59
|
-
|
|
60
|
-
<br>
|
|
61
|
-
|
|
62
|
-
### Obtain swagger_3
|
|
63
|
-
|
|
64
|
-
This has already been done using the procedure described below.
|
|
65
|
-
|
|
66
|
-
Obtain swagger 2 from API Logic Server, eg, http://localhost:5656/api/swagger.json)
|
|
67
|
-
|
|
68
|
-
Convert to 3: https://converter.swagger.io or other.
|
|
69
|
-
|
|
70
|
-
<br>
|
|
71
|
-
|
|
72
|
-
#### Reduce to 30 Operations
|
|
73
|
-
|
|
74
|
-
Reduce down to 30 operations (genai_demo has 69).
|
|
75
|
-
|
|
76
|
-
For testing, you can copy `integration/openai_plugin/swagger_3_genai_demo.json` or `integration/openai_plugin/nw-swagger_3.json` over `integration/openai_plugin/swagger_3.json`.
|
|
77
|
-
|
|
78
|
-
This was obtained using ChatGPT with prompts like:
|
|
79
|
-
|
|
80
|
-
1. Optionally collapse GET by ID and GET collection into a single endpoint using query params
|
|
81
|
-
2. remove POST from relationship endpoints
|
|
82
|
-
3. remove delete
|
|
83
|
-
4. collapse relationship endpoints further
|
|
84
|
-
|
|
85
|
-
then fix the result:
|
|
86
|
-
|
|
87
|
-
1. ensure servers and paths is retained (got deleted for me), and includes https:
|
|
88
|
-
2. version 3.1.0
|
|
89
|
-
|
|
90
|
-
Still seeing (fix with Chat):
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
In path /Customer, method get is missing operationId; skipping
|
|
94
|
-
In path /Customer, method post is missing operationId; skipping
|
|
95
|
-
In path /Order, method get is missing operationId; skipping
|
|
96
|
-
In path /Order, method post is missing operationId; skipping
|
|
97
|
-
In path /Item, method get is missing operationId; skipping
|
|
98
|
-
In path /Item, method post is missing operationId; skipping
|
|
99
|
-
In path /Product, method get is missing operationId; skipping
|
|
100
|
-
In path /Product, method post is missing operationId; skipping
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
<br>
|
|
104
|
-
|
|
105
|
-
### Custom endpoint for openapi
|
|
106
|
-
|
|
107
|
-
OpenAI requires a openai document, so observe the custom endpoint - `api/api_discovery/openapi` - eg, to test locally: `http://localhost:5656/api/openai.json`
|
|
108
|
-
|
|
109
|
-
Note: the url for use in ChatGPT is the tunnelled version, from the env variable.
|
|
110
|
-
|
|
111
|
-
<br>
|
|
112
|
-
|
|
113
|
-
### Configure in ChatGPT
|
|
114
|
-
|
|
115
|
-
Then, upload it to the **Web** version of ChatGPT:
|
|
116
|
-
|
|
117
|
-
1. Explore GPTs
|
|
118
|
-
2. Create
|
|
119
|
-
3. Configure
|
|
120
|
-
4. Create New Action
|
|
121
|
-
|
|
122
|
-
Provide the url of the openai endpoint:
|
|
123
|
-
|
|
124
|
-
https://tunnel_url.ngrok-free.app/api/openapi.json
|
|
125
|
-
|
|
126
|
-
<br>
|
|
127
|
-
|
|
128
|
-
### Retrieval worked:
|
|
129
|
-
|
|
130
|
-
- list customers
|
|
131
|
-
- list the items of order 1 with their product names
|
|
132
|
-
|
|
133
|
-
<br>
|
|
134
|
-
|
|
135
|
-
### Update: Resoved, pending verification
|
|
136
|
-
|
|
137
|
-
We also experimented with update, using `integration/openai_plugin/swagger_3.json`.
|
|
138
|
-
|
|
139
|
-
> It initially failed to load, which we repaired as noted in Appendix 2.
|
|
140
|
-
|
|
141
|
-
> It then failed to generate proper update API, evidently due to bad OpenAPI spec as noted in Appendix 3.
|
|
142
|
-
|
|
143
|
-
<br>
|
|
144
|
-
|
|
145
|
-
## Appendices
|
|
146
|
-
|
|
147
|
-
<br>
|
|
148
|
-
|
|
149
|
-
### Appendix 1: Create ai_plug_in.json
|
|
150
|
-
|
|
151
|
-
We also looked at openai plugins. These appear to be discontinued.
|
|
152
|
-
|
|
153
|
-
Prepare `ai_plug_in.json` as shown in this directory. Observe that it It identifies the url for finding the openapi through the tunnel.
|
|
154
|
-
|
|
155
|
-
Note: both ALS and and `ai_plug_in.json` presume the swagger and api are consistent:
|
|
156
|
-
|
|
157
|
-
- swagger is at `http://localhost:5656/api/swagger.json`,
|
|
158
|
-
- typical API at `http://localhost:5656/api/Category`
|
|
159
|
-
|
|
160
|
-
Not required for function - **Settings / Beta / Plugins > Plugin install → expects the ai-plugin.json manifest URL**
|
|
161
|
-
|
|
162
|
-
This appears to be unavailable for ChatGPT 4o
|
|
163
|
-
|
|
164
|
-
<br>
|
|
165
|
-
|
|
166
|
-
### Appendix 2: Updateable openapi
|
|
167
|
-
|
|
168
|
-
It initially failed to load with
|
|
169
|
-
|
|
170
|
-
```
|
|
171
|
-
In context=('paths', '/Customer/{CustomerId}/', 'patch', 'requestBody', 'content', 'application/json', 'schema'), reference to unknown component Customer_inst; using empty schema
|
|
172
|
-
|
|
173
|
-
In path /Customer/{CustomerId}/, method patch, operationId UpdateCustomer_0, request body schema is not an object schema; skipping
|
|
174
|
-
|
|
175
|
-
In path /Customer/{CustomerId}/, method patch, operationId UpdateCustomer_0, skipping function due to errors
|
|
176
|
-
```
|
|
177
|
-
|
|
178
|
-
We requested a revised jasonapi from ChatGPT to clear these errors, which loaded.
|
|
179
|
-
|
|
180
|
-
<br>
|
|
181
|
-
|
|
182
|
-
### Appendix 3: Invalid Data Object
|
|
183
|
-
|
|
184
|
-
This appears to be caused by improper JSON:API openAPI spec, which caused ChatGPT to generate an improper json PATCH payload:
|
|
185
|
-
|
|
186
|
-
```python
|
|
187
|
-
chatgpt_request_json = {
|
|
188
|
-
"credit_limit": 25000,
|
|
189
|
-
}
|
|
190
|
-
standard_request_json = {
|
|
191
|
-
"data": {
|
|
192
|
-
"type": "Customer",
|
|
193
|
-
"id": "ALFKI",
|
|
194
|
-
"attributes": {
|
|
195
|
-
"name": "Alice",
|
|
196
|
-
"credit_limit": 25000,
|
|
197
|
-
"balance": 12345
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
```
|
api_logic_server_cli/prototypes/basic_demo/customizations/integration/openai_function/ai_plugin.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema_version": "v1",
|
|
3
|
-
"name_for_human": "ALS NW-",
|
|
4
|
-
"name_for_model": "ALS NW",
|
|
5
|
-
"description_for_human": "Access and manage categories, customers, and more.",
|
|
6
|
-
"description_for_model": "Plugin for interacting with the API Logic Server.",
|
|
7
|
-
"auth": {
|
|
8
|
-
"type": "none"
|
|
9
|
-
},
|
|
10
|
-
"api": {
|
|
11
|
-
"type": "openapi",
|
|
12
|
-
"url": "https://tunnel_url.ngrok-free.app/api/openapi"
|
|
13
|
-
},
|
|
14
|
-
"logo_url": "https://your-logo-url/logo.png",
|
|
15
|
-
"contact_email": "support@yourdomain.com",
|
|
16
|
-
"legal_info_url": "https://yourdomain.com/legal"
|
|
17
|
-
}
|