frogml-core 0.0.113__py3-none-any.whl → 0.0.114__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.
Files changed (115) hide show
  1. frogml_core/__init__.py +1 -1
  2. frogml_core/inner/di_configuration/__init__.py +0 -6
  3. {frogml_core-0.0.113.dist-info → frogml_core-0.0.114.dist-info}/METADATA +1 -1
  4. {frogml_core-0.0.113.dist-info → frogml_core-0.0.114.dist-info}/RECORD +8 -115
  5. frogml_services_mock/mocks/frogml_mocks.py +0 -11
  6. frogml_services_mock/services_mock.py +0 -48
  7. frogml_storage/__init__.py +1 -1
  8. frogml_core/clients/prompt_manager/__init__.py +0 -0
  9. frogml_core/clients/prompt_manager/model_descriptor_mapper.py +0 -196
  10. frogml_core/clients/prompt_manager/prompt_manager_client.py +0 -190
  11. frogml_core/clients/prompt_manager/prompt_proto_mapper.py +0 -264
  12. frogml_core/clients/vector_store/__init__.py +0 -2
  13. frogml_core/clients/vector_store/management_client.py +0 -127
  14. frogml_core/clients/vector_store/serving_client.py +0 -157
  15. frogml_core/clients/workspace_manager/__init__.py +0 -1
  16. frogml_core/clients/workspace_manager/client.py +0 -224
  17. frogml_core/llmops/__init__.py +0 -0
  18. frogml_core/llmops/generation/__init__.py +0 -0
  19. frogml_core/llmops/generation/_steaming.py +0 -78
  20. frogml_core/llmops/generation/base.py +0 -5
  21. frogml_core/llmops/generation/chat/__init__.py +0 -0
  22. frogml_core/llmops/generation/chat/openai/LICENSE.txt +0 -201
  23. frogml_core/llmops/generation/chat/openai/types/__init__.py +0 -0
  24. frogml_core/llmops/generation/chat/openai/types/chat/__init__.py +0 -0
  25. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion.py +0 -88
  26. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_assistant_message_param.py +0 -65
  27. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_chunk.py +0 -153
  28. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_content_part_text_param.py +0 -28
  29. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_call_option_param.py +0 -25
  30. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_message_param.py +0 -33
  31. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message.py +0 -56
  32. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_param.py +0 -34
  33. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call.py +0 -46
  34. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call_param.py +0 -44
  35. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_named_tool_choice_param.py +0 -32
  36. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_role.py +0 -20
  37. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_system_message_param.py +0 -35
  38. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_token_logprob.py +0 -71
  39. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_choice_option_param.py +0 -28
  40. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_message_param.py +0 -31
  41. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_param.py +0 -29
  42. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_user_message_param.py +0 -35
  43. frogml_core/llmops/generation/chat/openai/types/chat/completion_create_params.py +0 -279
  44. frogml_core/llmops/generation/chat/openai/types/completion_choice.py +0 -47
  45. frogml_core/llmops/generation/chat/openai/types/completion_create_params.py +0 -209
  46. frogml_core/llmops/generation/chat/openai/types/completion_usage.py +0 -30
  47. frogml_core/llmops/generation/chat/openai/types/model.py +0 -35
  48. frogml_core/llmops/generation/chat/openai/types/shared/__init__.py +0 -3
  49. frogml_core/llmops/generation/chat/openai/types/shared/error_object.py +0 -27
  50. frogml_core/llmops/generation/chat/openai/types/shared/function_definition.py +0 -49
  51. frogml_core/llmops/generation/chat/openai/types/shared/function_parameters.py +0 -20
  52. frogml_core/llmops/generation/chat/openai/types/shared_params/__init__.py +0 -2
  53. frogml_core/llmops/generation/chat/openai/types/shared_params/function_definition.py +0 -49
  54. frogml_core/llmops/generation/chat/openai/types/shared_params/function_parameters.py +0 -22
  55. frogml_core/llmops/generation/streaming.py +0 -26
  56. frogml_core/llmops/model/__init__.py +0 -0
  57. frogml_core/llmops/model/descriptor.py +0 -40
  58. frogml_core/llmops/prompt/__init__.py +0 -0
  59. frogml_core/llmops/prompt/base.py +0 -136
  60. frogml_core/llmops/prompt/chat/__init__.py +0 -0
  61. frogml_core/llmops/prompt/chat/message.py +0 -24
  62. frogml_core/llmops/prompt/chat/template.py +0 -113
  63. frogml_core/llmops/prompt/chat/value.py +0 -10
  64. frogml_core/llmops/prompt/manager.py +0 -138
  65. frogml_core/llmops/prompt/template.py +0 -24
  66. frogml_core/llmops/prompt/value.py +0 -14
  67. frogml_core/llmops/provider/__init__.py +0 -0
  68. frogml_core/llmops/provider/chat.py +0 -44
  69. frogml_core/llmops/provider/openai/__init__.py +0 -0
  70. frogml_core/llmops/provider/openai/client.py +0 -126
  71. frogml_core/llmops/provider/openai/provider.py +0 -93
  72. frogml_core/vector_store/__init__.py +0 -4
  73. frogml_core/vector_store/client.py +0 -151
  74. frogml_core/vector_store/collection.py +0 -429
  75. frogml_core/vector_store/filters.py +0 -359
  76. frogml_core/vector_store/inference_client.py +0 -105
  77. frogml_core/vector_store/rest_helpers.py +0 -81
  78. frogml_core/vector_store/utils/__init__.py +0 -0
  79. frogml_core/vector_store/utils/filter_utils.py +0 -23
  80. frogml_core/vector_store/utils/upsert_utils.py +0 -218
  81. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.py +0 -77
  82. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.pyi +0 -417
  83. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2_grpc.py +0 -441
  84. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.py +0 -69
  85. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.pyi +0 -415
  86. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2_grpc.py +0 -4
  87. frogml_proto/qwak/vectors/v1/collection/collection_pb2.py +0 -46
  88. frogml_proto/qwak/vectors/v1/collection/collection_pb2.pyi +0 -287
  89. frogml_proto/qwak/vectors/v1/collection/collection_pb2_grpc.py +0 -4
  90. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.py +0 -60
  91. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.pyi +0 -258
  92. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2_grpc.py +0 -304
  93. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.py +0 -28
  94. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.pyi +0 -41
  95. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2_grpc.py +0 -4
  96. frogml_proto/qwak/vectors/v1/filters_pb2.py +0 -52
  97. frogml_proto/qwak/vectors/v1/filters_pb2.pyi +0 -297
  98. frogml_proto/qwak/vectors/v1/filters_pb2_grpc.py +0 -4
  99. frogml_proto/qwak/vectors/v1/vector_pb2.py +0 -38
  100. frogml_proto/qwak/vectors/v1/vector_pb2.pyi +0 -142
  101. frogml_proto/qwak/vectors/v1/vector_pb2_grpc.py +0 -4
  102. frogml_proto/qwak/vectors/v1/vector_service_pb2.py +0 -53
  103. frogml_proto/qwak/vectors/v1/vector_service_pb2.pyi +0 -243
  104. frogml_proto/qwak/vectors/v1/vector_service_pb2_grpc.py +0 -201
  105. frogml_proto/qwak/workspace/workspace_pb2.py +0 -50
  106. frogml_proto/qwak/workspace/workspace_pb2.pyi +0 -331
  107. frogml_proto/qwak/workspace/workspace_pb2_grpc.py +0 -4
  108. frogml_proto/qwak/workspace/workspace_service_pb2.py +0 -84
  109. frogml_proto/qwak/workspace/workspace_service_pb2.pyi +0 -393
  110. frogml_proto/qwak/workspace/workspace_service_pb2_grpc.py +0 -507
  111. frogml_services_mock/mocks/prompt_manager_service.py +0 -281
  112. frogml_services_mock/mocks/vector_serving_api.py +0 -159
  113. frogml_services_mock/mocks/vectors_management_api.py +0 -97
  114. frogml_services_mock/mocks/workspace_manager_service_mock.py +0 -202
  115. {frogml_core-0.0.113.dist-info → frogml_core-0.0.114.dist-info}/WHEEL +0 -0
frogml_core/__init__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  """Top-level package for frogml."""
2
2
 
3
3
  __author__ = "jfrog"
4
- __version__ = "0.0.113"
4
+ __version__ = "0.0.114"
5
5
 
6
6
  from frogml_core.inner.di_configuration import wire_dependencies
7
7
  from frogml_core.model.model_version_tracking import ( # noqa: F401,E501
@@ -32,11 +32,8 @@ def wire_dependencies():
32
32
  model_management,
33
33
  model_version_manager,
34
34
  project,
35
- prompt_manager,
36
35
  system_secret,
37
36
  user_application_instance,
38
- vector_store,
39
- workspace_manager,
40
37
  jfrog_gateway,
41
38
  )
42
39
 
@@ -62,11 +59,8 @@ def wire_dependencies():
62
59
  feature_store,
63
60
  user_application_instance,
64
61
  alerts_registry,
65
- workspace_manager,
66
- vector_store,
67
62
  integration_management,
68
63
  system_secret,
69
- prompt_manager,
70
64
  model_version_manager,
71
65
  jfrog_gateway,
72
66
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: frogml-core
3
- Version: 0.0.113
3
+ Version: 0.0.114
4
4
  Summary: frogml Core contains the necessary objects and communication tools for using the Jfrog ml Platform
5
5
  License: Apache-2.0
6
6
  Keywords: mlops,ml,deployment,serving,model
@@ -1,4 +1,4 @@
1
- frogml_core/__init__.py,sha256=jG-juu15N5DYs0ZenYZvRkw2pjX0n4nFT5AMRVoh3F8,778
1
+ frogml_core/__init__.py,sha256=1PCxzRZPOjhe9JFDbHY8bgPJVFJBWgyNkSH2CnSoOgE,778
2
2
  frogml_core/automations/__init__.py,sha256=j2gD15MN-xVWhI5rAFsDwhL0CIyICLNT0scXsKvNBkU,1547
3
3
  frogml_core/automations/automation_executions.py,sha256=xpOb9Dq8gPPGNQDJTvBBZbNz4woZDRZY0HqnLSu7pwU,3230
4
4
  frogml_core/automations/automations.py,sha256=srG8S5Z20hUsk6uehz75dmCs8mEgNCCwuCXfj3CG8hY,13210
@@ -78,21 +78,12 @@ frogml_core/clients/model_version_manager/__init__.py,sha256=4Pnfzj4Egps48__dPro
78
78
  frogml_core/clients/model_version_manager/client.py,sha256=LO9BbKzUAw8AlHN5wfiXDXPF2IKPTgrsmTnztK-4Krg,8486
79
79
  frogml_core/clients/project/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
80
  frogml_core/clients/project/client.py,sha256=2L4LJS3xIGTAeWuL2HOgW0OyUNiQUHZ4mXfukRLjX2U,2527
81
- frogml_core/clients/prompt_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
- frogml_core/clients/prompt_manager/model_descriptor_mapper.py,sha256=IaIR4mseRiql0mgBrjz0rmioglSGgAR6OTEJeFXlatg,7866
83
- frogml_core/clients/prompt_manager/prompt_manager_client.py,sha256=pl5SZ0j81PBMBeJc7jOkDJtJ61TGMqeq3Splg6Tsr90,7958
84
- frogml_core/clients/prompt_manager/prompt_proto_mapper.py,sha256=WqIrL1wq_8LkLiLnyVO6vVh7qDLHnZNaHZ7n3s94qgw,10073
85
81
  frogml_core/clients/secret_service/__init__.py,sha256=TdQl1lgplXCKVHYSN4feRIAoonZ7XDz50zALjwVDcM4,40
86
82
  frogml_core/clients/secret_service/client.py,sha256=Oq3ZV1r6haE-bo0-4OaTlyHE0BgmUwoSGNpDMDcuHXw,3655
87
83
  frogml_core/clients/system_secret/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
84
  frogml_core/clients/system_secret/system_secret_client.py,sha256=ZCTd2b0eRpPIi1m2LG4XWMbclovrFWDojyexd0rUCNU,1080
89
85
  frogml_core/clients/user_application_instance/__init__.py,sha256=lvdNCdtV7BGcN7XlK5Lb_OnXAJ-ued3AGckiZ-_EmL0,50
90
86
  frogml_core/clients/user_application_instance/client.py,sha256=MfX-NykPckD_GxmZUgCbufkzN6JO4u_5tMBoaJzJblw,6050
91
- frogml_core/clients/vector_store/__init__.py,sha256=JGMvcS9kGCbwEIMMji4G4ohZPvccGWoTJNC6vF6RPwc,102
92
- frogml_core/clients/vector_store/management_client.py,sha256=pJfYjzLbGcV9NiuVmK2Mz65_jqeXwTiC-vWXOAgfuJg,4313
93
- frogml_core/clients/vector_store/serving_client.py,sha256=CBsN-YAaOYSqEYg6u_31effluLNaX59s5bAHn9Po8p4,5333
94
- frogml_core/clients/workspace_manager/__init__.py,sha256=sJ_tnt-CqjXVVNlcywmyQ5L3n5Dk0uMDNjSVvEwHziA,43
95
- frogml_core/clients/workspace_manager/client.py,sha256=9akE0kTmagBdNNTRsrPYFWrSTwJ86XXK9r-m-gAd7K4,8181
96
87
  frogml_core/exceptions/__init__.py,sha256=WjVw2-RExlfh_sQQKkQWXoss9MiOUpXxxDQVyJrfkCY,834
97
88
  frogml_core/exceptions/frogml_decode_exception.py,sha256=dVfUGMippachTwlWQPvrSJSOHYYJajzOoqrzDUcwt2k,151
98
89
  frogml_core/exceptions/frogml_exception.py,sha256=uXLgbu-_RYJpav69C7CTH9wZCwFY6OvBSl1Un8vBT4Y,194
@@ -269,7 +260,7 @@ frogml_core/inner/build_logic/tools/ignore_files.py,sha256=PO23CgJlC9fPuLh82vOjb
269
260
  frogml_core/inner/build_logic/tools/text.py,sha256=tH-v19Mt8l90sMVxku5XRtrderT0qdRqJ-jLijqannA,188
270
261
  frogml_core/inner/build_logic/trigger_build_context.py,sha256=SgyWaOKTlZUHqglo8r_pkn_a6PHP-L6gtYaapQ6F3Rs,207
271
262
  frogml_core/inner/const.py,sha256=eP8Naruk3EnRWDdS9gwpozUYA9Nxznybw7Eiv4k5l38,126
272
- frogml_core/inner/di_configuration/__init__.py,sha256=RJ30JlZguilrvlFTn66F7SWUGzV6T5yu_GOQCd7mwDY,1892
263
+ frogml_core/inner/di_configuration/__init__.py,sha256=eiFIv8xzW18ldJhJFfcx7KyRtyaezf3CPRQvwz0r-a8,1734
273
264
  frogml_core/inner/di_configuration/account.py,sha256=AaUzYa0xHT8zGGcv1KTE58k9Gik4fYT7wQhJ62keQTA,2822
274
265
  frogml_core/inner/di_configuration/config.yml,sha256=GUvaZMWIDIR_d7hFcPVG_kHdCwpERKH1AFDakG3vqI4,242
275
266
  frogml_core/inner/di_configuration/containers.py,sha256=epzNvWcHcfO07EV6aQxEaGIehqgKBUK2CGzKgk1HeEA,1148
@@ -291,61 +282,6 @@ frogml_core/inner/tool/retry_utils.py,sha256=KcSFJuj02RKF-H9INpCmdiTNXlywEMJ2ClB
291
282
  frogml_core/inner/tool/run_config/__init__.py,sha256=krOWmfbiUyMxa4Z7FHZk3gGZBbMiJINxLxD7XwyUefE,277
292
283
  frogml_core/inner/tool/run_config/base.py,sha256=D5PsVHSW8oB6AbY40PEgaonLc_R4hJ9V-RigGHXWdl4,4218
293
284
  frogml_core/inner/tool/run_config/utils.py,sha256=xrSmnOvRK4enuy6-4ly_IWP4__l8czQ-E83wSmig14Y,7722
294
- frogml_core/llmops/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
295
- frogml_core/llmops/generation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
296
- frogml_core/llmops/generation/_steaming.py,sha256=3yPzoItkHEb6GHQvauNYvH9yUBooa8kr6998rgTAoAY,2424
297
- frogml_core/llmops/generation/base.py,sha256=z5mt2xxWRJPVR99bB4uw-80_wOE0sQ7zS82KJa6bWZw,57
298
- frogml_core/llmops/generation/chat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
299
- frogml_core/llmops/generation/chat/openai/LICENSE.txt,sha256=d0M6HDjQ76tf255XPlAGkIoECMe688MXcGEYsOFySfI,11336
300
- frogml_core/llmops/generation/chat/openai/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
301
- frogml_core/llmops/generation/chat/openai/types/chat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
302
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion.py,sha256=AWgjOMQau7UsV1-UXGk_Chg0s-iIwC5iCGcFq-zLLQw,2930
303
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_assistant_message_param.py,sha256=Z-RpaLK5p7Mf87HXXEkhf7nIFsrq7GtJ-bZoAByat_k,2155
304
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_chunk.py,sha256=v07PEE2ARYRzVpVfE8iC6Ho5gdDRwbDetQLN2sRO1SE,4704
305
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_content_part_text_param.py,sha256=N-880rUhsmzQX0gliLoc0GEzRYG6b999abPdiv5CeSc,945
306
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_call_option_param.py,sha256=T_dfvBpEupTdwHVxBX9nAJu5M0YmH7GNNwofQ-DT1kY,881
307
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_message_param.py,sha256=23WF1T86LoWrQaVg5DAASlxlpE82UUZYa58l3MlEF1Y,1108
308
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message.py,sha256=GjQx7m7cJ6HnjYewh83a51gDQBZfL45vS5BJAP0eZTw,1800
309
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_param.py,sha256=wjJTJwOOZhFx8KgmBHl9iZJDMutzEma5R0q3FlJ2vUI,1354
310
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call.py,sha256=HrmsJw6D41H3a-8lNZsYRz0MJy3_8YGnX9-HEAYO3d4,1417
311
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call_param.py,sha256=1PKfzKEV1WjtN7xkvGSLyS7H9wILM5LLQEbr5eg6Q2g,1525
312
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_named_tool_choice_param.py,sha256=Ib7ChiK1GKt1atUZJcOPILQPSTBiV9S9WRwsbgpmQtg,1085
313
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_role.py,sha256=83ahIvAYxiEj2pWsAIFWHsu1ibRSfmsWqxkyBV9N57s,756
314
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_system_message_param.py,sha256=_cDW9G5wiFH1d55pgjyzbxVhKinnumTeEkSkcz8V2ME,1154
315
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_token_logprob.py,sha256=hEmNql-SYjzNhGW14hO1hKVgC5YHgrkfrv_XyxIA_5E,2285
316
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_choice_option_param.py,sha256=khFoytoPQuwuQEcz3IbwaK7fFV2CNqBTJzkB2JQ6mgs,955
317
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_message_param.py,sha256=rzveJrhgSsO0eOwy2Q5yTufvMb_RuEgDnhEnf_JvjVA,1069
318
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_param.py,sha256=rV0M_Lnop817iwhttfYhlQfciorfEzTTdrkTTy94LQ8,1001
319
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_user_message_param.py,sha256=Hoq7ZCRN9s1bTmYuNc7oTsEQ7oJvscE6lwXYyJPaBqQ,1144
320
- frogml_core/llmops/generation/chat/openai/types/chat/completion_create_params.py,sha256=UYS-wbcevQ0BfuBq8sz1ZzhTdpWSKHOyEUInVk9p2qc,10511
321
- frogml_core/llmops/generation/chat/openai/types/completion_choice.py,sha256=gStpRTp-CHHpJNWNyEyHf8VagfXpPP5Ev3U1Z2mTV7g,1480
322
- frogml_core/llmops/generation/chat/openai/types/completion_create_params.py,sha256=l5yhLOX3TNy-ANJa4ftua4MjY11T1ZpYikpMnLZxuO4,7951
323
- frogml_core/llmops/generation/chat/openai/types/completion_usage.py,sha256=wKH3j5GBXXIKXJ2ZZtTmtPOBEHhMw1ehE-zWYf8o8Wo,952
324
- frogml_core/llmops/generation/chat/openai/types/model.py,sha256=IkntCappkqt8TMAaZF24UWiWHo2lNC9QUPKH0RWL8v4,1050
325
- frogml_core/llmops/generation/chat/openai/types/shared/__init__.py,sha256=zmCVZ3KAEDebUc7FQfLmOP7Iug5cJCG3xokWMyYajRI,201
326
- frogml_core/llmops/generation/chat/openai/types/shared/error_object.py,sha256=x8cptCqZ_E-s28qlHrPrm_JrU0uidpTCKPX4GuVf6gc,818
327
- frogml_core/llmops/generation/chat/openai/types/shared/function_definition.py,sha256=2uwfB2SlP2xBB3ZN9C_LRo5CPJTDscaAdtgvP6i31GY,1584
328
- frogml_core/llmops/generation/chat/openai/types/shared/function_parameters.py,sha256=hN1DWcUhsNfuB-1I_0mFpfefwYIDgpYis57eTpYOqa0,701
329
- frogml_core/llmops/generation/chat/openai/types/shared_params/__init__.py,sha256=ASfJkv7F_eU76MyZn6SDWheRiGKV90MEs5sWnMWXxOY,148
330
- frogml_core/llmops/generation/chat/openai/types/shared_params/function_definition.py,sha256=B9fLRPq1a0DiFHQGd9sbefJZTyD5EyafejMRdrtv6Dc,1594
331
- frogml_core/llmops/generation/chat/openai/types/shared_params/function_parameters.py,sha256=Jd4xRTrk7Di922iy6BnZuWghXSDDOk18yrl_ZIik49Q,737
332
- frogml_core/llmops/generation/streaming.py,sha256=BIbi-Tdp2jPojWSZUWJHE6xLcndjQgxgX68GAJUpX1w,483
333
- frogml_core/llmops/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
334
- frogml_core/llmops/model/descriptor.py,sha256=vtxNCij1qSVvPUMWZkzd_ZC11cLZK8bfpdBIYB5Yl_w,1471
335
- frogml_core/llmops/prompt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
336
- frogml_core/llmops/prompt/base.py,sha256=nOqOmh55LCjGJWMJZd2rV-RZjrPyBFVt7-4iaKS41oQ,5009
337
- frogml_core/llmops/prompt/chat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
338
- frogml_core/llmops/prompt/chat/message.py,sha256=bTmdaBS1_CJuDzoeU7jjOyjwB5eksSPSXe_uj5Ege1E,427
339
- frogml_core/llmops/prompt/chat/template.py,sha256=yXDc8_RI00vbjWVh7XgJwSyFxE7ULw318u4abuxV5xs,3659
340
- frogml_core/llmops/prompt/chat/value.py,sha256=7gcvBlDUaXNwCQnU2xQHxWwqUiIh5-52lwt6HNFrsc4,259
341
- frogml_core/llmops/prompt/manager.py,sha256=Mv4rYW7-8SA9yEFXsizP3MFaAy5gbKB2ZwfvDDf4sUc,5449
342
- frogml_core/llmops/prompt/template.py,sha256=ansNEuO4OtSzb7ghJWMDwrQfLIcEz8j3ZeFN9XDsP8A,627
343
- frogml_core/llmops/prompt/value.py,sha256=GCjYASqzRQOrVu__06eyOwfA0C9C5BHLU1ypINUeCcU,212
344
- frogml_core/llmops/provider/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
345
- frogml_core/llmops/provider/chat.py,sha256=n0WY2OhdX__w20DO7vvP53xVIqmr3cVF_G0yiCJsAzU,1626
346
- frogml_core/llmops/provider/openai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
347
- frogml_core/llmops/provider/openai/client.py,sha256=JwI9SMUu3bpMoixBAl10iX0J5xKdGFXV0SloPMI6gv8,4534
348
- frogml_core/llmops/provider/openai/provider.py,sha256=2dQQSBxr6hqJFhT4U-KJmsZd-K_vLnOPFeyBMdRntxU,3131
349
285
  frogml_core/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
350
286
  frogml_core/model/_entity_extraction.py,sha256=gFeHgKgnz-MpB61w0OfJe30PUh5Cm390nZWSKy0JIls,4669
351
287
  frogml_core/model/adapters/__init__.py,sha256=jMM_0Nf6_vCKccsRB0izs8odCXYlXt-u1sXGh4PcpX4,1739
@@ -419,15 +355,6 @@ frogml_core/utils/datetime_utils.py,sha256=3zK7PUrerMlwB7U6WeuYwMAclVMfPqBNZihNR
419
355
  frogml_core/utils/dict_utils.py,sha256=YsOSQeGpmrsm3CMnx2ZbqvzEcybk3m-0TCMXbBdBXaY,263
420
356
  frogml_core/utils/model_utils.py,sha256=fLdYIScmVUfChGGxOacH2mID00ZUOPtS4ewUimEDGhg,132
421
357
  frogml_core/utils/proto_utils.py,sha256=fTo259gqrknV3mSpTIN7wo7WpprJRjJmwwYcmkLYwHY,2390
422
- frogml_core/vector_store/__init__.py,sha256=9gR2B5A1MXb2ks5VUzqrPASGpVTDuJs4uq7N7FNWOY4,120
423
- frogml_core/vector_store/client.py,sha256=mmchLHjR5aOZOLIz1eibmsoXSMHvcHjCtaWB24QZoAY,6067
424
- frogml_core/vector_store/collection.py,sha256=KKeEww8iogmHdfEeqgTHqIV9PizeiUl1coWwHJY8Glc,17150
425
- frogml_core/vector_store/filters.py,sha256=iMPXfgXRhPtNt6QFj7Ti07Yhl-ylR5zo5jfGD-bFsnY,8812
426
- frogml_core/vector_store/inference_client.py,sha256=IsB9ZUk4iKI3dAV6GOUN6sX33b1x3j_pCYijPhVIS1E,3786
427
- frogml_core/vector_store/rest_helpers.py,sha256=RV7yxBqXs-lcGZmFmht5yRpcAAPFXRVFM9w2Uh6lnVI,2557
428
- frogml_core/vector_store/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
429
- frogml_core/vector_store/utils/filter_utils.py,sha256=n80IlmS7lGelCNEpZ8o3rAHzrZpHc-3EykEd8tZoeAE,854
430
- frogml_core/vector_store/utils/upsert_utils.py,sha256=vqnyAJOl46WqpZMUiOa4I8Zf2CDIXQxR7wM4Z8rgooc,7517
431
358
  frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.py,sha256=lVlIVLVmWgwUG0fqtk9mhryn82DFDzFHZxO_lBY3_D0,1884
432
359
  frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2.pyi,sha256=HFrUIrEJFdKls7PhmadzZ-daVPV1i062w-71wPMMPa4,3116
433
360
  frogml_proto/jfml/hosting_gateway/v1/build_upload_url_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
@@ -986,12 +913,6 @@ frogml_proto/qwak/projects/jfrog_project_spec_pb2_grpc.py,sha256=1oboBPFxaTEXt9A
986
913
  frogml_proto/qwak/projects/projects_pb2.py,sha256=l0Ycbbed1td3hQkRDvEzoqFbKexhRihIFSauAGOfxlY,7983
987
914
  frogml_proto/qwak/projects/projects_pb2.pyi,sha256=jTswNOXBUxEBzDiLBInc64IR3ldEma-wXrZ-h9UcysM,17854
988
915
  frogml_proto/qwak/projects/projects_pb2_grpc.py,sha256=Lzofyas6Bwx2z-5kgB5MGwxp_CJ_au2k8-QgNzzunqo,9643
989
- frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.py,sha256=PDLKZKlZnlWv-XicYpS09pE-Z7pgv-Wmas7tLtjJEuE,9036
990
- frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.pyi,sha256=SPZ0n_Jc29nhIkU2UKZQlq9M5XRz-tNVCqdIHooUjm0,16539
991
- frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2_grpc.py,sha256=obGRBSL4UzS0__m3NaM9WPhOjdlnelkmdL_hsonTOvY,24986
992
- frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.py,sha256=6Q7ruMiHftJE1zsLh8-xkd0sLii-wNiGUXj3W4v2UXo,6887
993
- frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.pyi,sha256=gvbgxIy3MAb24g9hzGTXQGDOc58_RkNB3p5vKNgkQsE,17747
994
- frogml_proto/qwak/prompt/v1/prompt/prompt_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
995
916
  frogml_proto/qwak/secret_service/secret_service_pb2.py,sha256=YiYErSwXYYWmJjY-KwNi5RlhnCNkB7mAyzQPf3ckCo4,2566
996
917
  frogml_proto/qwak/secret_service/secret_service_pb2.pyi,sha256=YiLNDCYiObqrXckY2AxHu2uwRmNkfedm5-qR1h6fUUk,2818
997
918
  frogml_proto/qwak/secret_service/secret_service_pb2_grpc.py,sha256=pId7OklMYe-UOIBq26xKb0fvF3G5-HePsS2Zhe4rEwE,6254
@@ -1037,30 +958,6 @@ frogml_proto/qwak/user_application/common/v0/resources_pb2_grpc.py,sha256=1oboBP
1037
958
  frogml_proto/qwak/user_application/v0/user_application_pb2.py,sha256=kmwtqc9aYpmoWsXCrMA5jRb0Q4Z4T9L4MVX3106-MPE,2864
1038
959
  frogml_proto/qwak/user_application/v0/user_application_pb2.pyi,sha256=aG9WBCAmYmlh9xnSSi6xzC0DYVmaODAupUvYkcMsPjk,3189
1039
960
  frogml_proto/qwak/user_application/v0/user_application_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
1040
- frogml_proto/qwak/vectors/v1/collection/collection_pb2.py,sha256=Gf2KvfbSZ5H2JlcAiMdQ_5fY1yGmtrqqEAdy86lPX-E,4976
1041
- frogml_proto/qwak/vectors/v1/collection/collection_pb2.pyi,sha256=R2yugrWoJQ8vRebxNXUp4qVpZvcGiNwo-GAHLJF7xvo,12852
1042
- frogml_proto/qwak/vectors/v1/collection/collection_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
1043
- frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.py,sha256=jGtXATtPtzUSk8E7wKXxyfD-IqMRk3YOMRmHz-kdie0,6551
1044
- frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.pyi,sha256=l19j3SIpJYMjTPvnHd9zihE_VOVdaqF1JgKsr7LMEeY,10518
1045
- frogml_proto/qwak/vectors/v1/collection/collection_service_pb2_grpc.py,sha256=qYOaYcbXhPKY199QLiSEoKIxOBKmjIZzIHxfvX0mtY0,17184
1046
- frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.py,sha256=k3ubK-MXxnuFEewzmt2F3KVI2hqeA7AtcvVQhrmRfAM,1642
1047
- frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.pyi,sha256=LfFB6-5nKHxF8xY9BKJftf_Vn8y7rjN9oUgj3TrkkLU,1550
1048
- frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
1049
- frogml_proto/qwak/vectors/v1/filters_pb2.py,sha256=mZk6NAWCmE6rT8OXf9mz3xIkVb-nCpa4Fy8XYWsJn6c,5043
1050
- frogml_proto/qwak/vectors/v1/filters_pb2.pyi,sha256=ZdDa_jCDsBkzhHgvbPtwqX2PxYJyf_GWRdpSK2NfewU,11380
1051
- frogml_proto/qwak/vectors/v1/filters_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
1052
- frogml_proto/qwak/vectors/v1/vector_pb2.py,sha256=baX3s1ioWM_c30HBifUob6hUV3LRyZ4YLBsn9AgOb58,2964
1053
- frogml_proto/qwak/vectors/v1/vector_pb2.pyi,sha256=ssNBqdiQJbYId4_m2CUVZD-ie9Q1KRpVKhOI1a6Qp3o,6103
1054
- frogml_proto/qwak/vectors/v1/vector_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
1055
- frogml_proto/qwak/vectors/v1/vector_service_pb2.py,sha256=Rtz-ze2JbDGs2lManKTba82tpIK5SEHbJ48EySP__Zw,5658
1056
- frogml_proto/qwak/vectors/v1/vector_service_pb2.pyi,sha256=TH6-VMhjN0jYnuikRB1vUb-8t4Sd2zdk3dWL9FQqJs8,11107
1057
- frogml_proto/qwak/vectors/v1/vector_service_pb2_grpc.py,sha256=Rm5VYDI2t5ADPN7zgmtTbLtJ05XC8B48kMOXBimWaV8,10158
1058
- frogml_proto/qwak/workspace/workspace_pb2.py,sha256=zS08AYfWY5U5fI4RJevnpcM45IXPxvHkc1-SI7ZpZ4w,7119
1059
- frogml_proto/qwak/workspace/workspace_pb2.pyi,sha256=YBNrJXreJseq_S2zUr1AUPSOTYTx83z13mGs2fK7zaE,17225
1060
- frogml_proto/qwak/workspace/workspace_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
1061
- frogml_proto/qwak/workspace/workspace_service_pb2.py,sha256=2Nj78CSPEmUU-r9GuS76p-D7ldUAe76MbBaywJ2ssDM,9253
1062
- frogml_proto/qwak/workspace/workspace_service_pb2.pyi,sha256=FHNTyGxvdewsKzvSYOxSx9IYje0tLnypX8h9ZL6EIsc,13869
1063
- frogml_proto/qwak/workspace/workspace_service_pb2_grpc.py,sha256=h8km3_lj2GKeLmqaq6LoTupZTWfL2KcOCquZ4G_lmf8,27194
1064
961
  frogml_services_mock/__init__.py,sha256=0T7bNPpbIApVHcQ9vn5RXKy1PNaD5hl3sFnkMvscIlI,48
1065
962
  frogml_services_mock/mocks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1066
963
  frogml_services_mock/mocks/alert_manager_service_api.py,sha256=wEBgwtCRAxUSAni-rb0tjlKZjoyeM8jh1Y6Poi4PGMc,2163
@@ -1087,7 +984,7 @@ frogml_services_mock/mocks/features_operator_v3_service.py,sha256=_RcUeL9LRFbxL7
1087
984
  frogml_services_mock/mocks/features_set_state_service_api.py,sha256=jLtDYRBQUXP9x2DaywRPNFTtAGewP1JF1wv28ZTRbL4,2290
1088
985
  frogml_services_mock/mocks/feedback_service.py,sha256=NH8IskHnwbHGfDJCunSWMWQd9UfVBL7rPzVrFWrCZC4,1140
1089
986
  frogml_services_mock/mocks/file_versioning_service.py,sha256=MtxGcWoB_hkJUMBRSso9-G_6_WBbHkrgzG6Rf_37Ysk,2606
1090
- frogml_services_mock/mocks/frogml_mocks.py,sha256=zJx_jIOkXtO0ngdZ1iHNykku1KcaHsmdRSdxGdyotGc,6701
987
+ frogml_services_mock/mocks/frogml_mocks.py,sha256=ZI0mzXLM-aJtyoFnpQD4YNay7MT9FOYvd5B6_8tr8Es,6114
1091
988
  frogml_services_mock/mocks/fs_offline_serving_service.py,sha256=O4hd4kQ-sXm9zMPVJYHXO4ARPuc3UN0E9rcOtDkSJRk,2093
1092
989
  frogml_services_mock/mocks/instance_template_management_service.py,sha256=8J8NlD667kWfjhSXsyH31jjr7qKIaF77K1Fc7FgxtHY,4762
1093
990
  frogml_services_mock/mocks/integration_management_service.py,sha256=XvWyif8pGuqJsrjTs6m29cneVuYdjVptPpRndwIdqq4,2771
@@ -1100,7 +997,6 @@ frogml_services_mock/mocks/logging_service.py,sha256=JRTCjJRIKlJQeTHr3Qt5gbkfxML
1100
997
  frogml_services_mock/mocks/model_management_service.py,sha256=YKNgZ65AcKTMFs1zkrfVfGOBjqPBpodTgD6r358iRMg,4167
1101
998
  frogml_services_mock/mocks/model_version_manager_service.py,sha256=HijCTMxc0DpsQi-K1WOocCstQsDDgEMxRzfwBl0c2u8,3501
1102
999
  frogml_services_mock/mocks/project_manager_service.py,sha256=dxjhZwqN2UjDpHybArB8O6JOBke2JnQ9OMxy_1lLLJM,3093
1103
- frogml_services_mock/mocks/prompt_manager_service.py,sha256=dJufY5oO4SwdO3rmbz9KaOzZKz25H5Ggx3grUQ3sIHg,11369
1104
1000
  frogml_services_mock/mocks/repository_service_mock.py,sha256=2KoXSZ4l1Q5kvLns_eoH_yDZQBRzgCk50yTzNFTL3Sc,1405
1105
1001
  frogml_services_mock/mocks/secret_service.py,sha256=8MNvM8Us5OwImLijR__Q7iphsVLOfn-E6qcL3K7fi_I,1409
1106
1002
  frogml_services_mock/mocks/self_service_user_service.py,sha256=3JTvekeE04KoiAuS0r4w4nI7yRQxsqDd3UJ4viJDhdc,1207
@@ -1108,13 +1004,10 @@ frogml_services_mock/mocks/system_secret_service.py,sha256=IXcjXoN0L7jbxAF-7g6HO
1108
1004
  frogml_services_mock/mocks/user_application_instance_service_api.py,sha256=2kMFeKdxRIWySYYbMAGII4ds04i3m4u_Ds8VrQbm7l0,4097
1109
1005
  frogml_services_mock/mocks/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1110
1006
  frogml_services_mock/mocks/utils/exception_handlers.py,sha256=k_8mez3cwjNjKE9yGQRJUuK95qNQyk_slotIF08IIEE,308
1111
- frogml_services_mock/mocks/vector_serving_api.py,sha256=ZljLOw9_ee-nlvEMU0HNzmK2tcsmBY6VzuVzLmInYj4,5838
1112
- frogml_services_mock/mocks/vectors_management_api.py,sha256=-GtKow3JmBj6LRZw625WdD8pt9VKtGZUs2VXTbtEPg0,3602
1113
- frogml_services_mock/mocks/workspace_manager_service_mock.py,sha256=WbOiWgOyr-xTicwJO7jdY-gN_5hF_s9GOU-ZO5P_2_M,7745
1114
- frogml_services_mock/services_mock.py,sha256=sgKgwhu2W0YOHtzil8x7f1znK_sZr_i27XSeiF4xqVE,21200
1007
+ frogml_services_mock/services_mock.py,sha256=drb5QhtsvsTvYpFYW9IF3n8B558uZgaNVE8PEKXB4pI,19297
1115
1008
  frogml_services_mock/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1116
1009
  frogml_services_mock/utils/service_utils.py,sha256=ZlB0CnB1J6oBn6_m7fQO2U8tKoboHdUa6ljjkRMYNXU,265
1117
- frogml_storage/__init__.py,sha256=WJPRYfehqmqr60a1h9m6a2fbtJa0dT03ixD6hahuBgE,24
1010
+ frogml_storage/__init__.py,sha256=r2EfLfvHdmK0ZasuaL5muamoRg8qxxi-chIlm4Rw_gU,24
1118
1011
  frogml_storage/_environment.py,sha256=zuzOJBtBwFaguwn_JkKjfhXStZoustgP30KzOP3mYv8,707
1119
1012
  frogml_storage/artifactory/__init__.py,sha256=C02rcm7kqsZBVA6c6Gztxamj96hn8Aj6BuzYWFRmWbQ,71
1120
1013
  frogml_storage/artifactory/_artifactory_api.py,sha256=Oz0HOpQPSNwWIVAy94UJUyPhLetc7sdZjoTfSXtrFug,11200
@@ -1153,6 +1046,6 @@ frogml_storage/utils/__init__.py,sha256=HQUWfuGUIPZY7kfS795TRW8BQ4WmNqrNjS7lUrbx
1153
1046
  frogml_storage/utils/_input_checks_utility.py,sha256=CFiJOdTBS9piJMtR3lemEz27wZcQ6_-7XESu8iy-mrw,3221
1154
1047
  frogml_storage/utils/_storage_utils.py,sha256=HB2g7uY5A3b33yIcAUM1OjHb5jWsnpESsiDrEviQwrI,366
1155
1048
  frogml_storage/utils/_url_utils.py,sha256=NUEfz9Fp1iE8b676-A5wrMlSTsJVRKrUhcUItOFAJD8,821
1156
- frogml_core-0.0.113.dist-info/METADATA,sha256=c9z7kzu-fLYnLHswkLfH-QAxriYh3IqGkj6iGfIkDa8,14898
1157
- frogml_core-0.0.113.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1158
- frogml_core-0.0.113.dist-info/RECORD,,
1049
+ frogml_core-0.0.114.dist-info/METADATA,sha256=ii_y_FJaD-PHvMB_4rBje0jWeEyWyIUi5Cw2c4MCJTU,14898
1050
+ frogml_core-0.0.114.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
1051
+ frogml_core-0.0.114.dist-info/RECORD,,
@@ -1,6 +1,5 @@
1
1
  import dataclasses
2
2
 
3
- from frogml_services_mock.mocks import workspace_manager_service_mock
4
3
  from frogml_services_mock.mocks.alert_manager_service_api import (
5
4
  AlertManagerServiceApiMock,
6
5
  )
@@ -76,7 +75,6 @@ from frogml_services_mock.mocks.model_version_manager_service import (
76
75
  ModelVersionManagerServiceMock,
77
76
  )
78
77
  from frogml_services_mock.mocks.project_manager_service import ProjectManagerServiceMock
79
- from frogml_services_mock.mocks.prompt_manager_service import PromptManagerServiceMock
80
78
  from frogml_services_mock.mocks.repository_service_mock import RepositoryServiceMock
81
79
  from frogml_services_mock.mocks.secret_service import SecretServiceMock
82
80
  from frogml_services_mock.mocks.self_service_user_service import (
@@ -86,11 +84,6 @@ from frogml_services_mock.mocks.system_secret_service import SystemSecretService
86
84
  from frogml_services_mock.mocks.user_application_instance_service_api import (
87
85
  UserApplicationInstanceServiceApiMock,
88
86
  )
89
- from frogml_services_mock.mocks.vector_serving_api import VectorServingServiceMock
90
- from frogml_services_mock.mocks.vectors_management_api import (
91
- VectorCollectionManagementServiceMock,
92
- )
93
-
94
87
 
95
88
  @dataclasses.dataclass
96
89
  class FrogmlMocks:
@@ -126,13 +119,9 @@ class FrogmlMocks:
126
119
  fs_feature_sets_service: FeatureSetServiceMock
127
120
  instance_templates_service: InstanceTemplateManagementServiceMock
128
121
  alerts_registry_service: AlertsRegistryServiceApiMock
129
- workspace_manager_service: workspace_manager_service_mock
130
- vector_serving_service: VectorServingServiceMock
131
- vector_collection_service: VectorCollectionManagementServiceMock
132
122
  execution_management_service: ExecutionManagementServiceMock
133
123
  system_secret_service: SystemSecretServiceMock
134
124
  integration_management_service: IntegrationManagementServiceMock
135
- prompt_manager_service: PromptManagerServiceMock
136
125
  model_version_manager_service: ModelVersionManagerServiceMock
137
126
  repository_service: RepositoryServiceMock
138
127
  location_discovery_service: LocationDiscoveryServiceApiMock
@@ -107,9 +107,6 @@ from frogml_proto.qwak.offline.serving.v1.offline_serving_async_service_pb2_grpc
107
107
  from frogml_proto.qwak.projects.projects_pb2_grpc import (
108
108
  add_ProjectsManagementServiceServicer_to_server,
109
109
  )
110
- from frogml_proto.qwak.prompt.v1.prompt.prompt_manager_service_pb2_grpc import (
111
- add_PromptManagerServiceServicer_to_server,
112
- )
113
110
  from frogml_proto.qwak.secret_service.secret_service_pb2_grpc import (
114
111
  add_SecretServiceServicer_to_server,
115
112
  )
@@ -119,15 +116,6 @@ from frogml_proto.qwak.self_service.user.v1.user_service_pb2_grpc import (
119
116
  from frogml_proto.qwak.service_discovery.service_discovery_location_service_pb2_grpc import (
120
117
  add_LocationDiscoveryServiceServicer_to_server,
121
118
  )
122
- from frogml_proto.qwak.vectors.v1.collection.collection_service_pb2_grpc import (
123
- add_VectorCollectionServiceServicer_to_server,
124
- )
125
- from frogml_proto.qwak.vectors.v1.vector_service_pb2_grpc import (
126
- add_VectorServiceServicer_to_server,
127
- )
128
- from frogml_proto.qwak.workspace.workspace_service_pb2_grpc import (
129
- add_WorkspaceManagementServiceServicer_to_server,
130
- )
131
119
  from frogml_services_mock.mocks.alert_manager_service_api import (
132
120
  AlertManagerServiceApiMock,
133
121
  )
@@ -204,7 +192,6 @@ from frogml_services_mock.mocks.model_version_manager_service import (
204
192
  ModelVersionManagerServiceMock,
205
193
  )
206
194
  from frogml_services_mock.mocks.project_manager_service import ProjectManagerServiceMock
207
- from frogml_services_mock.mocks.prompt_manager_service import PromptManagerServiceMock
208
195
  from frogml_services_mock.mocks.repository_service_mock import RepositoryServiceMock
209
196
  from frogml_services_mock.mocks.secret_service import SecretServiceMock
210
197
  from frogml_services_mock.mocks.self_service_user_service import (
@@ -214,13 +201,6 @@ from frogml_services_mock.mocks.system_secret_service import SystemSecretService
214
201
  from frogml_services_mock.mocks.user_application_instance_service_api import (
215
202
  UserApplicationInstanceServiceApiMock,
216
203
  )
217
- from frogml_services_mock.mocks.vector_serving_api import VectorServingServiceMock
218
- from frogml_services_mock.mocks.vectors_management_api import (
219
- VectorCollectionManagementServiceMock,
220
- )
221
- from frogml_services_mock.mocks.workspace_manager_service_mock import (
222
- WorkspaceManagerServiceMock,
223
- )
224
204
  from frogml_services_mock.utils.service_utils import find_free_port
225
205
 
226
206
 
@@ -267,8 +247,6 @@ def frogml_container():
267
247
  project,
268
248
  secret_service,
269
249
  user_application_instance,
270
- vector_store,
271
- workspace_manager,
272
250
  )
273
251
  from frogml_core.clients.administration import (
274
252
  authentication,
@@ -276,9 +254,7 @@ def frogml_container():
276
254
  self_service,
277
255
  )
278
256
  from frogml_core.clients.integration_management import integration_manager_client
279
- from frogml_core.clients.prompt_manager import prompt_manager_client
280
257
  from frogml_core.clients.system_secret import system_secret_client
281
- from frogml_core.vector_store.utils import upsert_utils
282
258
 
283
259
  container.wire(
284
260
  packages=[
@@ -305,12 +281,8 @@ def frogml_container():
305
281
  user_application_instance,
306
282
  secret_service,
307
283
  alerts_registry,
308
- workspace_manager,
309
- vector_store,
310
- upsert_utils,
311
284
  integration_manager_client,
312
285
  system_secret_client,
313
- prompt_manager_client,
314
286
  model_version_manager,
315
287
  jfrog_gateway,
316
288
  location_discovery,
@@ -503,31 +475,11 @@ def attach_servicers(free_port, server):
503
475
  AlertsRegistryServiceApiMock,
504
476
  add_AlertingChannelManagementServiceServicer_to_server,
505
477
  ),
506
- (
507
- "workspace_manager_service",
508
- WorkspaceManagerServiceMock,
509
- add_WorkspaceManagementServiceServicer_to_server,
510
- ),
511
- (
512
- "vector_serving_service",
513
- VectorServingServiceMock,
514
- add_VectorServiceServicer_to_server,
515
- ),
516
- (
517
- "vector_collection_service",
518
- VectorCollectionManagementServiceMock,
519
- add_VectorCollectionServiceServicer_to_server,
520
- ),
521
478
  (
522
479
  "execution_management_service",
523
480
  ExecutionManagementServiceMock,
524
481
  add_FeatureStoreExecutionServiceServicer_to_server,
525
482
  ),
526
- (
527
- "prompt_manager_service",
528
- PromptManagerServiceMock,
529
- add_PromptManagerServiceServicer_to_server,
530
- ),
531
483
  (
532
484
  "model_version_manager_service",
533
485
  ModelVersionManagerServiceMock,
@@ -1 +1 @@
1
- __version__ = "0.0.113"
1
+ __version__ = "0.0.114"
File without changes
@@ -1,196 +0,0 @@
1
- from typing import List, Optional, Union
2
-
3
- from google.protobuf import json_format
4
- from google.protobuf.struct_pb2 import ListValue, Struct
5
-
6
- from frogml_proto.qwak.model_descriptor.open_ai_descriptor_pb2 import (
7
- OpenAICapabilities as ProtoOpenAICapabilities,
8
- )
9
- from frogml_proto.qwak.model_descriptor.open_ai_descriptor_pb2 import (
10
- OpenAIChatAPI as ProtoOpenAIChatAPI,
11
- )
12
- from frogml_proto.qwak.model_descriptor.open_ai_descriptor_pb2 import (
13
- OpenAIChatModelParams as ProtoOpenAIChatModelParams,
14
- )
15
- from frogml_proto.qwak.model_descriptor.open_ai_descriptor_pb2 import (
16
- OpenAIModelDescriptor as ProtoOpenAIModelDescriptor,
17
- )
18
- from frogml_proto.qwak.model_descriptor.open_ai_descriptor_pb2 import (
19
- ToolChoice as ProtoToolChoice,
20
- )
21
- from frogml_proto.qwak.model_descriptor.open_ai_descriptor_pb2 import (
22
- Tools as ProtoTools,
23
- )
24
- from frogml_proto.qwak.prompt.v1.prompt.prompt_pb2 import (
25
- PromptModelDescriptor as ProtoPromptModelDescriptor,
26
- )
27
- from frogml_proto.qwak.prompt.v1.prompt.prompt_pb2 import (
28
- PromptOpenAIProvider as ProtoPromptOpenAIProvider,
29
- )
30
- from frogml_core.exceptions import FrogmlException
31
- from frogml_core.llmops.generation.chat.openai.types.chat.chat_completion_named_tool_choice_param import (
32
- ChatCompletionNamedToolChoiceParam,
33
- )
34
- from frogml_core.llmops.generation.chat.openai.types.chat.chat_completion_tool_param import (
35
- ChatCompletionToolParam,
36
- )
37
- from frogml_core.llmops.model.descriptor import ModelDescriptor, OpenAIChat
38
-
39
-
40
- class ModelDescriptorMapper:
41
- @staticmethod
42
- def _from_tool_choice(
43
- openai_chat_params: ProtoOpenAIChatModelParams,
44
- ) -> Optional[Union[str, ChatCompletionNamedToolChoiceParam]]:
45
- _tool_choice: Optional[Union[str, ChatCompletionNamedToolChoiceParam]] = None
46
- if openai_chat_params.HasField("tool_choice"):
47
- if openai_chat_params.tool_choice.WhichOneof("value_type") == "json":
48
- _tool_choice = json_format.MessageToDict(
49
- openai_chat_params.tool_choice.json
50
- )
51
- elif openai_chat_params.tool_choice.WhichOneof("value_type") == "literal":
52
- _tool_choice = openai_chat_params.tool_choice.literal
53
- return _tool_choice
54
-
55
- @staticmethod
56
- def from_openai_chat_capability(
57
- model_id: str, openai_chat_params: ProtoOpenAIChatModelParams
58
- ) -> OpenAIChat:
59
- p = openai_chat_params
60
- _tool_choice: Union[str, ChatCompletionNamedToolChoiceParam] = (
61
- ModelDescriptorMapper._from_tool_choice(
62
- openai_chat_params=openai_chat_params
63
- )
64
- )
65
- _tools: List[ChatCompletionToolParam] = []
66
-
67
- if p.HasField("tools_spec"):
68
- for tool in p.tools_spec.tools:
69
- _tools.append(json_format.MessageToDict(tool))
70
-
71
- return OpenAIChat(
72
- model_id=model_id,
73
- frequency_penalty=(
74
- p.frequency_penalty if p.HasField("frequency_penalty") else None
75
- ),
76
- logit_bias=(
77
- {k: int(v) for k, v in p.logit_bias.items()}
78
- if p.HasField("logit_bias")
79
- else None
80
- ),
81
- logprobs=p.logprobs if p.HasField("logprobs") else None,
82
- max_tokens=p.max_tokens if p.HasField("max_tokens") else None,
83
- n=p.n if p.HasField("n") else None,
84
- presence_penalty=(
85
- p.presence_penalty if p.HasField("presence_penalty") else None
86
- ),
87
- response_format=(
88
- p.response_format if p.HasField("response_format") else None
89
- ), # noqa
90
- seed=p.seed if p.HasField("seed") else None,
91
- stop=[_ for _ in p.stop] if p.HasField("stop") else None,
92
- temperature=p.temperature if p.HasField("temperature") else None,
93
- top_p=p.top_p if p.HasField("top_p") else None,
94
- top_logprobs=p.top_logprobs if p.HasField("top_logprobs") else None,
95
- user=p.user if p.HasField("user") else None,
96
- tool_choice=_tool_choice if p.HasField("tool_choice") else None,
97
- tools=_tools if p.HasField("tools_spec") else None,
98
- )
99
-
100
- @staticmethod
101
- def from_prompt_openai_provider(
102
- open_ai_provider: ProtoPromptOpenAIProvider,
103
- ) -> ModelDescriptor:
104
- descriptor: ProtoOpenAIModelDescriptor = (
105
- open_ai_provider.open_ai_model_descriptor
106
- )
107
- model_id: str = descriptor.model_id
108
-
109
- if descriptor.capabilities.WhichOneof("optional_chat"):
110
- return ModelDescriptorMapper.from_openai_chat_capability(
111
- model_id=model_id,
112
- openai_chat_params=descriptor.capabilities.chat_api.chat_params,
113
- )
114
- else:
115
- raise FrogmlException(
116
- f"Got unsupported openai capability: {repr(open_ai_provider)}"
117
- )
118
-
119
- @staticmethod
120
- def from_prompt_model_descriptor(
121
- model_descriptor: ProtoPromptModelDescriptor,
122
- ) -> ModelDescriptor:
123
- if model_descriptor.WhichOneof("model_provider") == "open_ai_provider":
124
- return ModelDescriptorMapper.from_prompt_openai_provider(
125
- model_descriptor.open_ai_provider
126
- )
127
- else:
128
- raise FrogmlException(
129
- f"Got unsupported model descriptor: {repr(model_descriptor)}"
130
- )
131
-
132
- @staticmethod
133
- def to_openai_chat(model_descriptor: OpenAIChat) -> ProtoOpenAIModelDescriptor:
134
- d: OpenAIChat = model_descriptor
135
- logit_bias_struct = Struct()
136
-
137
- logit_bias_struct.update(d.logit_bias) if d.logit_bias else None
138
-
139
- stop_list_value = ListValue()
140
- stop_list_value.extend(d.stop) if d.stop else None
141
- tool_choice_proto: ProtoToolChoice
142
-
143
- if isinstance(d.tool_choice, str):
144
- tool_choice_proto = ProtoToolChoice(literal=d.tool_choice)
145
- elif d.tool_choice is not None:
146
- tool_choice_struct = Struct()
147
- tool_choice_struct.update(d.tool_choice)
148
- tool_choice_proto = ProtoToolChoice(json=tool_choice_struct)
149
-
150
- tools_structs = []
151
- if d.tools:
152
- for tool in d.tools:
153
- s = Struct()
154
- s.update(tool)
155
- tools_structs.append(s)
156
-
157
- tools_proto = ProtoTools(tools=tools_structs)
158
-
159
- model_capabilities = ProtoOpenAICapabilities(
160
- chat_api=ProtoOpenAIChatAPI(
161
- chat_params=ProtoOpenAIChatModelParams(
162
- frequency_penalty=d.frequency_penalty,
163
- logit_bias=logit_bias_struct if d.logit_bias else None,
164
- logprobs=d.logprobs,
165
- max_tokens=d.max_tokens,
166
- n=d.n,
167
- presence_penalty=d.presence_penalty,
168
- response_format=(
169
- d.response_format if d.response_format else None
170
- ), # noqa
171
- seed=d.seed,
172
- stop=stop_list_value if d.stop else None,
173
- temperature=d.temperature,
174
- tool_choice=tool_choice_proto if d.tool_choice else None,
175
- tools_spec=tools_proto if d.tools else None,
176
- top_logprobs=d.top_logprobs,
177
- top_p=d.top_p,
178
- user=d.user,
179
- )
180
- )
181
- )
182
-
183
- return ProtoOpenAIModelDescriptor(
184
- model_id=model_descriptor.model_id, capabilities=model_capabilities
185
- )
186
-
187
- @staticmethod
188
- def to_model_descriptor(
189
- model_descriptor: ModelDescriptor,
190
- ) -> Union[ProtoOpenAIModelDescriptor]:
191
- if isinstance(model_descriptor, OpenAIChat):
192
- return ModelDescriptorMapper.to_openai_chat(model_descriptor)
193
-
194
- raise FrogmlException(
195
- f"Got unsupported model descriptor: {repr(model_descriptor)}"
196
- )