frogml-core 0.0.1__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.
- _frogml_proto/__init__.py +0 -0
- _frogml_proto/jfml/model_version/v1/model_repository_spec_pb2.py +35 -0
- _frogml_proto/jfml/model_version/v1/model_repository_spec_pb2.pyi +38 -0
- _frogml_proto/jfml/model_version/v1/model_repository_spec_pb2_grpc.py +4 -0
- _frogml_proto/jfml/model_version/v1/model_version_framework_pb2.py +45 -0
- _frogml_proto/jfml/model_version/v1/model_version_framework_pb2.pyi +41 -0
- _frogml_proto/jfml/model_version/v1/model_version_framework_pb2_grpc.py +4 -0
- _frogml_proto/jfml/model_version/v1/model_version_manager_service_pb2.py +151 -0
- _frogml_proto/jfml/model_version/v1/model_version_manager_service_pb2.pyi +230 -0
- _frogml_proto/jfml/model_version/v1/model_version_manager_service_pb2_grpc.py +237 -0
- _frogml_proto/jfml/model_version/v1/model_version_pb2.py +88 -0
- _frogml_proto/jfml/model_version/v1/model_version_pb2.pyi +133 -0
- _frogml_proto/jfml/model_version/v1/model_version_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/account/v1/account_pb2.py +114 -0
- _frogml_proto/qwak/administration/account/v1/account_pb2.pyi +257 -0
- _frogml_proto/qwak/administration/account/v1/account_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/account/v1/account_service_pb2.py +212 -0
- _frogml_proto/qwak/administration/account/v1/account_service_pb2.pyi +344 -0
- _frogml_proto/qwak/administration/account/v1/account_service_pb2_grpc.py +338 -0
- _frogml_proto/qwak/administration/account/v1/jfrog_tenant_details_pb2.py +77 -0
- _frogml_proto/qwak/administration/account/v1/jfrog_tenant_details_pb2.pyi +109 -0
- _frogml_proto/qwak/administration/account/v1/jfrog_tenant_details_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/account/v1/personalization_pb2.py +45 -0
- _frogml_proto/qwak/administration/account/v1/personalization_pb2.pyi +49 -0
- _frogml_proto/qwak/administration/account/v1/personalization_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/account/v1/preferences_pb2.py +36 -0
- _frogml_proto/qwak/administration/account/v1/preferences_pb2.pyi +35 -0
- _frogml_proto/qwak/administration/account/v1/preferences_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/account/v1/terms_pb2.py +75 -0
- _frogml_proto/qwak/administration/account/v1/terms_pb2.pyi +94 -0
- _frogml_proto/qwak/administration/account/v1/terms_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/authenticated_user_service_pb2.py +91 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/authenticated_user_service_pb2.pyi +108 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/authenticated_user_service_pb2_grpc.py +135 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/credentials_pb2.py +46 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/credentials_pb2.pyi +62 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/credentials_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/details_pb2.py +75 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/details_pb2.pyi +140 -0
- _frogml_proto/qwak/administration/authenticated_user/v1/details_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/v0/authentication/authentication_service_pb2.py +69 -0
- _frogml_proto/qwak/administration/v0/authentication/authentication_service_pb2.pyi +92 -0
- _frogml_proto/qwak/administration/v0/authentication/authentication_service_pb2_grpc.py +67 -0
- _frogml_proto/qwak/administration/v0/environments/configuration_pb2.py +93 -0
- _frogml_proto/qwak/administration/v0/environments/configuration_pb2.pyi +233 -0
- _frogml_proto/qwak/administration/v0/environments/configuration_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/v0/environments/environment_pb2.py +66 -0
- _frogml_proto/qwak/administration/v0/environments/environment_pb2.pyi +156 -0
- _frogml_proto/qwak/administration/v0/environments/environment_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/v0/environments/environment_service_pb2.py +184 -0
- _frogml_proto/qwak/administration/v0/environments/environment_service_pb2.pyi +274 -0
- _frogml_proto/qwak/administration/v0/environments/environment_service_pb2_grpc.py +272 -0
- _frogml_proto/qwak/administration/v0/environments/personalization_pb2.py +45 -0
- _frogml_proto/qwak/administration/v0/environments/personalization_pb2.pyi +45 -0
- _frogml_proto/qwak/administration/v0/environments/personalization_pb2_grpc.py +4 -0
- _frogml_proto/qwak/administration/v0/users/user_pb2.py +97 -0
- _frogml_proto/qwak/administration/v0/users/user_pb2.pyi +249 -0
- _frogml_proto/qwak/administration/v0/users/user_pb2_grpc.py +4 -0
- _frogml_proto/qwak/admiral/secret/v0/secret_pb2.py +140 -0
- _frogml_proto/qwak/admiral/secret/v0/secret_pb2.pyi +237 -0
- _frogml_proto/qwak/admiral/secret/v0/secret_pb2_grpc.py +4 -0
- _frogml_proto/qwak/admiral/secret/v0/secret_service_pb2.py +89 -0
- _frogml_proto/qwak/admiral/secret/v0/secret_service_pb2.pyi +93 -0
- _frogml_proto/qwak/admiral/secret/v0/secret_service_pb2_grpc.py +135 -0
- _frogml_proto/qwak/admiral/secret/v0/system_secret_service_pb2.py +89 -0
- _frogml_proto/qwak/admiral/secret/v0/system_secret_service_pb2.pyi +101 -0
- _frogml_proto/qwak/admiral/secret/v0/system_secret_service_pb2_grpc.py +135 -0
- _frogml_proto/qwak/admiral/user_application_instance/v0/user_application_instance_pb2.py +198 -0
- _frogml_proto/qwak/admiral/user_application_instance/v0/user_application_instance_pb2.pyi +431 -0
- _frogml_proto/qwak/admiral/user_application_instance/v0/user_application_instance_pb2_grpc.py +4 -0
- _frogml_proto/qwak/admiral/user_application_instance/v0/user_application_instance_service_pb2.py +109 -0
- _frogml_proto/qwak/admiral/user_application_instance/v0/user_application_instance_service_pb2.pyi +128 -0
- _frogml_proto/qwak/admiral/user_application_instance/v0/user_application_instance_service_pb2_grpc.py +169 -0
- _frogml_proto/qwak/analytics/analytics_pb2.py +142 -0
- _frogml_proto/qwak/analytics/analytics_pb2.pyi +308 -0
- _frogml_proto/qwak/analytics/analytics_pb2_grpc.py +4 -0
- _frogml_proto/qwak/analytics/analytics_service_pb2.py +229 -0
- _frogml_proto/qwak/analytics/analytics_service_pb2.pyi +339 -0
- _frogml_proto/qwak/analytics/analytics_service_pb2_grpc.py +370 -0
- _frogml_proto/qwak/audience/v1/audience_api_pb2.py +149 -0
- _frogml_proto/qwak/audience/v1/audience_api_pb2.pyi +176 -0
- _frogml_proto/qwak/audience/v1/audience_api_pb2_grpc.py +240 -0
- _frogml_proto/qwak/audience/v1/audience_pb2.py +137 -0
- _frogml_proto/qwak/audience/v1/audience_pb2.pyi +313 -0
- _frogml_proto/qwak/audience/v1/audience_pb2_grpc.py +4 -0
- _frogml_proto/qwak/auto_scaling/v1/auto_scaling_pb2.py +100 -0
- _frogml_proto/qwak/auto_scaling/v1/auto_scaling_pb2.pyi +187 -0
- _frogml_proto/qwak/auto_scaling/v1/auto_scaling_pb2_grpc.py +4 -0
- _frogml_proto/qwak/auto_scaling/v1/auto_scaling_service_pb2.py +49 -0
- _frogml_proto/qwak/auto_scaling/v1/auto_scaling_service_pb2.pyi +55 -0
- _frogml_proto/qwak/auto_scaling/v1/auto_scaling_service_pb2_grpc.py +67 -0
- _frogml_proto/qwak/automation/v1/action_pb2.py +220 -0
- _frogml_proto/qwak/automation/v1/action_pb2.pyi +513 -0
- _frogml_proto/qwak/automation/v1/action_pb2_grpc.py +4 -0
- _frogml_proto/qwak/automation/v1/auto_scaling_pb2.py +97 -0
- _frogml_proto/qwak/automation/v1/auto_scaling_pb2.pyi +177 -0
- _frogml_proto/qwak/automation/v1/auto_scaling_pb2_grpc.py +4 -0
- _frogml_proto/qwak/automation/v1/automation_execution_pb2.py +65 -0
- _frogml_proto/qwak/automation/v1/automation_execution_pb2.pyi +123 -0
- _frogml_proto/qwak/automation/v1/automation_execution_pb2_grpc.py +4 -0
- _frogml_proto/qwak/automation/v1/automation_management_service_pb2.py +283 -0
- _frogml_proto/qwak/automation/v1/automation_management_service_pb2.pyi +386 -0
- _frogml_proto/qwak/automation/v1/automation_management_service_pb2_grpc.py +429 -0
- _frogml_proto/qwak/automation/v1/automation_pb2.py +59 -0
- _frogml_proto/qwak/automation/v1/automation_pb2.pyi +121 -0
- _frogml_proto/qwak/automation/v1/automation_pb2_grpc.py +4 -0
- _frogml_proto/qwak/automation/v1/common_pb2.py +56 -0
- _frogml_proto/qwak/automation/v1/common_pb2.pyi +71 -0
- _frogml_proto/qwak/automation/v1/common_pb2_grpc.py +4 -0
- _frogml_proto/qwak/automation/v1/notification_pb2.py +93 -0
- _frogml_proto/qwak/automation/v1/notification_pb2.pyi +134 -0
- _frogml_proto/qwak/automation/v1/notification_pb2_grpc.py +4 -0
- _frogml_proto/qwak/automation/v1/trigger_pb2.py +76 -0
- _frogml_proto/qwak/automation/v1/trigger_pb2.pyi +112 -0
- _frogml_proto/qwak/automation/v1/trigger_pb2_grpc.py +4 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_events_pb2.py +148 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_events_pb2.pyi +307 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_events_pb2_grpc.py +4 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_resources_pb2.py +47 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_resources_pb2.pyi +61 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_resources_pb2_grpc.py +4 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_service_pb2.py +570 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_service_pb2.pyi +1328 -0
- _frogml_proto/qwak/batch_job/v1/batch_job_service_pb2_grpc.py +574 -0
- _frogml_proto/qwak/build/v1/build_api_pb2.py +446 -0
- _frogml_proto/qwak/build/v1/build_api_pb2.pyi +682 -0
- _frogml_proto/qwak/build/v1/build_api_pb2_grpc.py +594 -0
- _frogml_proto/qwak/build/v1/build_pb2.py +575 -0
- _frogml_proto/qwak/build/v1/build_pb2.pyi +1328 -0
- _frogml_proto/qwak/build/v1/build_pb2_grpc.py +4 -0
- _frogml_proto/qwak/build_settings/build_settings_api_pb2.py +89 -0
- _frogml_proto/qwak/build_settings/build_settings_api_pb2.pyi +106 -0
- _frogml_proto/qwak/build_settings/build_settings_api_pb2_grpc.py +132 -0
- _frogml_proto/qwak/build_settings/build_settings_pb2.py +95 -0
- _frogml_proto/qwak/build_settings/build_settings_pb2.pyi +148 -0
- _frogml_proto/qwak/build_settings/build_settings_pb2_grpc.py +4 -0
- _frogml_proto/qwak/builds/build_pb2.py +233 -0
- _frogml_proto/qwak/builds/build_pb2.pyi +582 -0
- _frogml_proto/qwak/builds/build_pb2_grpc.py +4 -0
- _frogml_proto/qwak/builds/build_url_pb2.py +86 -0
- _frogml_proto/qwak/builds/build_url_pb2.pyi +179 -0
- _frogml_proto/qwak/builds/build_url_pb2_grpc.py +4 -0
- _frogml_proto/qwak/builds/builds_orchestrator_service_pb2.py +212 -0
- _frogml_proto/qwak/builds/builds_orchestrator_service_pb2.pyi +322 -0
- _frogml_proto/qwak/builds/builds_orchestrator_service_pb2_grpc.py +306 -0
- _frogml_proto/qwak/builds/builds_pb2.py +556 -0
- _frogml_proto/qwak/builds/builds_pb2.pyi +1271 -0
- _frogml_proto/qwak/builds/builds_pb2_grpc.py +237 -0
- _frogml_proto/qwak/builds/internal_builds_orchestrator_service_pb2.py +59 -0
- _frogml_proto/qwak/builds/internal_builds_orchestrator_service_pb2.pyi +64 -0
- _frogml_proto/qwak/builds/internal_builds_orchestrator_service_pb2_grpc.py +67 -0
- _frogml_proto/qwak/data_versioning/data_versioning_pb2.py +45 -0
- _frogml_proto/qwak/data_versioning/data_versioning_pb2.pyi +71 -0
- _frogml_proto/qwak/data_versioning/data_versioning_pb2_grpc.py +4 -0
- _frogml_proto/qwak/data_versioning/data_versioning_service_pb2.py +69 -0
- _frogml_proto/qwak/data_versioning/data_versioning_service_pb2.pyi +83 -0
- _frogml_proto/qwak/data_versioning/data_versioning_service_pb2_grpc.py +101 -0
- _frogml_proto/qwak/deployment/alert_pb2.py +131 -0
- _frogml_proto/qwak/deployment/alert_pb2.pyi +262 -0
- _frogml_proto/qwak/deployment/alert_pb2_grpc.py +4 -0
- _frogml_proto/qwak/deployment/alert_service_pb2.py +153 -0
- _frogml_proto/qwak/deployment/alert_service_pb2.pyi +218 -0
- _frogml_proto/qwak/deployment/alert_service_pb2_grpc.py +237 -0
- _frogml_proto/qwak/deployment/deployment_messages_pb2.py +36 -0
- _frogml_proto/qwak/deployment/deployment_messages_pb2.pyi +61 -0
- _frogml_proto/qwak/deployment/deployment_messages_pb2_grpc.py +4 -0
- _frogml_proto/qwak/deployment/deployment_pb2.py +644 -0
- _frogml_proto/qwak/deployment/deployment_pb2.pyi +1582 -0
- _frogml_proto/qwak/deployment/deployment_pb2_grpc.py +4 -0
- _frogml_proto/qwak/deployment/deployment_service_pb2.py +520 -0
- _frogml_proto/qwak/deployment/deployment_service_pb2.pyi +817 -0
- _frogml_proto/qwak/deployment/deployment_service_pb2_grpc.py +509 -0
- _frogml_proto/qwak/ecosystem/v0/credentials_pb2.py +56 -0
- _frogml_proto/qwak/ecosystem/v0/credentials_pb2.pyi +91 -0
- _frogml_proto/qwak/ecosystem/v0/credentials_pb2_grpc.py +4 -0
- _frogml_proto/qwak/ecosystem/v0/ecosystem_pb2.py +173 -0
- _frogml_proto/qwak/ecosystem/v0/ecosystem_pb2.pyi +332 -0
- _frogml_proto/qwak/ecosystem/v0/ecosystem_pb2_grpc.py +4 -0
- _frogml_proto/qwak/ecosystem/v0/ecosystem_runtime_service_pb2.py +264 -0
- _frogml_proto/qwak/ecosystem/v0/ecosystem_runtime_service_pb2.pyi +434 -0
- _frogml_proto/qwak/ecosystem/v0/ecosystem_runtime_service_pb2_grpc.py +238 -0
- _frogml_proto/qwak/execution/v1/backfill_pb2.py +97 -0
- _frogml_proto/qwak/execution/v1/backfill_pb2.pyi +167 -0
- _frogml_proto/qwak/execution/v1/backfill_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/batch_pb2.py +56 -0
- _frogml_proto/qwak/execution/v1/batch_pb2.pyi +76 -0
- _frogml_proto/qwak/execution/v1/batch_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/deletion_pb2.py +65 -0
- _frogml_proto/qwak/execution/v1/deletion_pb2.pyi +67 -0
- _frogml_proto/qwak/execution/v1/deletion_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/execution_pb2.py +96 -0
- _frogml_proto/qwak/execution/v1/execution_pb2.pyi +201 -0
- _frogml_proto/qwak/execution/v1/execution_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/execution_service_pb2.py +294 -0
- _frogml_proto/qwak/execution/v1/execution_service_pb2.pyi +431 -0
- _frogml_proto/qwak/execution/v1/execution_service_pb2_grpc.py +467 -0
- _frogml_proto/qwak/execution/v1/jobs/job_pb2.py +101 -0
- _frogml_proto/qwak/execution/v1/jobs/job_pb2.pyi +282 -0
- _frogml_proto/qwak/execution/v1/jobs/job_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/jobs/job_service_pb2.py +270 -0
- _frogml_proto/qwak/execution/v1/jobs/job_service_pb2.pyi +469 -0
- _frogml_proto/qwak/execution/v1/jobs/job_service_pb2_grpc.py +396 -0
- _frogml_proto/qwak/execution/v1/jobs/reports/report_pb2.py +109 -0
- _frogml_proto/qwak/execution/v1/jobs/reports/report_pb2.pyi +266 -0
- _frogml_proto/qwak/execution/v1/jobs/reports/report_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/state/execution_state_pb2.py +36 -0
- _frogml_proto/qwak/execution/v1/state/execution_state_pb2.pyi +45 -0
- _frogml_proto/qwak/execution/v1/state/execution_state_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/state/execution_state_service_pb2.py +150 -0
- _frogml_proto/qwak/execution/v1/state/execution_state_service_pb2.pyi +192 -0
- _frogml_proto/qwak/execution/v1/state/execution_state_service_pb2_grpc.py +237 -0
- _frogml_proto/qwak/execution/v1/state/featureset_state_pb2.py +35 -0
- _frogml_proto/qwak/execution/v1/state/featureset_state_pb2.pyi +37 -0
- _frogml_proto/qwak/execution/v1/state/featureset_state_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/state/spark_execution_state_pb2.py +91 -0
- _frogml_proto/qwak/execution/v1/state/spark_execution_state_pb2.pyi +156 -0
- _frogml_proto/qwak/execution/v1/state/spark_execution_state_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/streaming_aggregation_pb2.py +75 -0
- _frogml_proto/qwak/execution/v1/streaming_aggregation_pb2.pyi +95 -0
- _frogml_proto/qwak/execution/v1/streaming_aggregation_pb2_grpc.py +4 -0
- _frogml_proto/qwak/execution/v1/streaming_pb2.py +65 -0
- _frogml_proto/qwak/execution/v1/streaming_pb2.pyi +79 -0
- _frogml_proto/qwak/execution/v1/streaming_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/entities/entity_pb2.py +79 -0
- _frogml_proto/qwak/feature_store/entities/entity_pb2.pyi +166 -0
- _frogml_proto/qwak/feature_store/entities/entity_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/entities/entity_service_pb2.py +149 -0
- _frogml_proto/qwak/feature_store/entities/entity_service_pb2.pyi +203 -0
- _frogml_proto/qwak/feature_store/entities/entity_service_pb2_grpc.py +237 -0
- _frogml_proto/qwak/feature_store/features/aggregation_pb2.py +196 -0
- _frogml_proto/qwak/feature_store/features/aggregation_pb2.pyi +361 -0
- _frogml_proto/qwak/feature_store/features/aggregation_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/features/deployment_pb2.py +189 -0
- _frogml_proto/qwak/feature_store/features/deployment_pb2.pyi +379 -0
- _frogml_proto/qwak/feature_store/features/deployment_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/features/deployment_service_pb2.py +49 -0
- _frogml_proto/qwak/feature_store/features/deployment_service_pb2.pyi +45 -0
- _frogml_proto/qwak/feature_store/features/deployment_service_pb2_grpc.py +67 -0
- _frogml_proto/qwak/feature_store/features/execution_pb2.py +77 -0
- _frogml_proto/qwak/feature_store/features/execution_pb2.pyi +158 -0
- _frogml_proto/qwak/feature_store/features/execution_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/features/feature_set_attribute_pb2.py +36 -0
- _frogml_proto/qwak/feature_store/features/feature_set_attribute_pb2.pyi +33 -0
- _frogml_proto/qwak/feature_store/features/feature_set_attribute_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/features/feature_set_pb2.py +198 -0
- _frogml_proto/qwak/feature_store/features/feature_set_pb2.pyi +443 -0
- _frogml_proto/qwak/feature_store/features/feature_set_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/features/feature_set_service_pb2.py +467 -0
- _frogml_proto/qwak/feature_store/features/feature_set_service_pb2.pyi +663 -0
- _frogml_proto/qwak/feature_store/features/feature_set_service_pb2_grpc.py +746 -0
- _frogml_proto/qwak/feature_store/features/feature_set_state_pb2.py +203 -0
- _frogml_proto/qwak/feature_store/features/feature_set_state_pb2.pyi +329 -0
- _frogml_proto/qwak/feature_store/features/feature_set_state_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/features/feature_set_state_service_pb2.py +129 -0
- _frogml_proto/qwak/feature_store/features/feature_set_state_service_pb2.pyi +175 -0
- _frogml_proto/qwak/feature_store/features/feature_set_state_service_pb2_grpc.py +203 -0
- _frogml_proto/qwak/feature_store/features/feature_set_types_pb2.py +381 -0
- _frogml_proto/qwak/feature_store/features/feature_set_types_pb2.pyi +862 -0
- _frogml_proto/qwak/feature_store/features/feature_set_types_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/features/monitoring_pb2.py +55 -0
- _frogml_proto/qwak/feature_store/features/monitoring_pb2.pyi +67 -0
- _frogml_proto/qwak/feature_store/features/monitoring_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/features/real_time_feature_extractor_pb2.py +167 -0
- _frogml_proto/qwak/feature_store/features/real_time_feature_extractor_pb2.pyi +359 -0
- _frogml_proto/qwak/feature_store/features/real_time_feature_extractor_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/jobs/job_pb2.py +68 -0
- _frogml_proto/qwak/feature_store/jobs/job_pb2.pyi +169 -0
- _frogml_proto/qwak/feature_store/jobs/job_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/jobs/job_service_pb2.py +149 -0
- _frogml_proto/qwak/feature_store/jobs/job_service_pb2.pyi +237 -0
- _frogml_proto/qwak/feature_store/jobs/job_service_pb2_grpc.py +237 -0
- _frogml_proto/qwak/feature_store/jobs/v1/job_pb2.py +67 -0
- _frogml_proto/qwak/feature_store/jobs/v1/job_pb2.pyi +175 -0
- _frogml_proto/qwak/feature_store/jobs/v1/job_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/jobs/v1/job_service_pb2.py +210 -0
- _frogml_proto/qwak/feature_store/jobs/v1/job_service_pb2.pyi +349 -0
- _frogml_proto/qwak/feature_store/jobs/v1/job_service_pb2_grpc.py +338 -0
- _frogml_proto/qwak/feature_store/platform/platform_details_pb2.py +46 -0
- _frogml_proto/qwak/feature_store/platform/platform_details_pb2.pyi +54 -0
- _frogml_proto/qwak/feature_store/platform/platform_details_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/reports/report_pb2.py +75 -0
- _frogml_proto/qwak/feature_store/reports/report_pb2.pyi +159 -0
- _frogml_proto/qwak/feature_store/reports/report_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/repository/common/platform_pb2.py +55 -0
- _frogml_proto/qwak/feature_store/repository/common/platform_pb2.pyi +70 -0
- _frogml_proto/qwak/feature_store/repository/common/platform_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/serving/management_pb2.py +69 -0
- _frogml_proto/qwak/feature_store/serving/management_pb2.pyi +72 -0
- _frogml_proto/qwak/feature_store/serving/management_pb2_grpc.py +101 -0
- _frogml_proto/qwak/feature_store/serving/metadata_pb2.py +67 -0
- _frogml_proto/qwak/feature_store/serving/metadata_pb2.pyi +158 -0
- _frogml_proto/qwak/feature_store/serving/metadata_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/serving/serving_pb2.py +254 -0
- _frogml_proto/qwak/feature_store/serving/serving_pb2.pyi +476 -0
- _frogml_proto/qwak/feature_store/serving/serving_pb2_grpc.py +101 -0
- _frogml_proto/qwak/feature_store/serving/v1/value_pb2.py +46 -0
- _frogml_proto/qwak/feature_store/serving/v1/value_pb2.pyi +91 -0
- _frogml_proto/qwak/feature_store/serving/v1/value_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/sinks/sink_pb2.py +76 -0
- _frogml_proto/qwak/feature_store/sinks/sink_pb2.pyi +137 -0
- _frogml_proto/qwak/feature_store/sinks/sink_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/sources/batch_pb2.py +362 -0
- _frogml_proto/qwak/feature_store/sources/batch_pb2.pyi +911 -0
- _frogml_proto/qwak/feature_store/sources/batch_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/sources/data_source_attribute_pb2.py +36 -0
- _frogml_proto/qwak/feature_store/sources/data_source_attribute_pb2.pyi +33 -0
- _frogml_proto/qwak/feature_store/sources/data_source_attribute_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/sources/data_source_pb2.py +84 -0
- _frogml_proto/qwak/feature_store/sources/data_source_pb2.pyi +169 -0
- _frogml_proto/qwak/feature_store/sources/data_source_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/sources/data_source_service_pb2.py +169 -0
- _frogml_proto/qwak/feature_store/sources/data_source_service_pb2.pyi +237 -0
- _frogml_proto/qwak/feature_store/sources/data_source_service_pb2_grpc.py +305 -0
- _frogml_proto/qwak/feature_store/sources/streaming_pb2.py +175 -0
- _frogml_proto/qwak/feature_store/sources/streaming_pb2.pyi +356 -0
- _frogml_proto/qwak/feature_store/sources/streaming_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/v1/common/source_code/source_code_pb2.py +55 -0
- _frogml_proto/qwak/feature_store/v1/common/source_code/source_code_pb2.pyi +69 -0
- _frogml_proto/qwak/feature_store/v1/common/source_code/source_code_pb2_grpc.py +4 -0
- _frogml_proto/qwak/feature_store/v1/internal/data_source/data_source_service_pb2.py +68 -0
- _frogml_proto/qwak/feature_store/v1/internal/data_source/data_source_service_pb2.pyi +71 -0
- _frogml_proto/qwak/feature_store/v1/internal/data_source/data_source_service_pb2_grpc.py +99 -0
- _frogml_proto/qwak/feature_store/v1/internal/featureset/featureset_token_service_pb2.py +48 -0
- _frogml_proto/qwak/feature_store/v1/internal/featureset/featureset_token_service_pb2.pyi +46 -0
- _frogml_proto/qwak/feature_store/v1/internal/featureset/featureset_token_service_pb2_grpc.py +66 -0
- _frogml_proto/qwak/features_operator/v1/features_operator_pb2.py +76 -0
- _frogml_proto/qwak/features_operator/v1/features_operator_pb2.pyi +129 -0
- _frogml_proto/qwak/features_operator/v1/features_operator_pb2_grpc.py +4 -0
- _frogml_proto/qwak/features_operator/v1/features_operator_service_pb2.py +69 -0
- _frogml_proto/qwak/features_operator/v1/features_operator_service_pb2.pyi +98 -0
- _frogml_proto/qwak/features_operator/v1/features_operator_service_pb2_grpc.py +99 -0
- _frogml_proto/qwak/features_operator/v2/features_operator_pb2.py +86 -0
- _frogml_proto/qwak/features_operator/v2/features_operator_pb2.pyi +138 -0
- _frogml_proto/qwak/features_operator/v2/features_operator_pb2_grpc.py +4 -0
- _frogml_proto/qwak/features_operator/v2/features_operator_service_pb2.py +61 -0
- _frogml_proto/qwak/features_operator/v2/features_operator_service_pb2.pyi +89 -0
- _frogml_proto/qwak/features_operator/v2/features_operator_service_pb2_grpc.py +99 -0
- _frogml_proto/qwak/features_operator/v3/features_operator_async_service_pb2.py +132 -0
- _frogml_proto/qwak/features_operator/v3/features_operator_async_service_pb2.pyi +218 -0
- _frogml_proto/qwak/features_operator/v3/features_operator_async_service_pb2_grpc.py +165 -0
- _frogml_proto/qwak/features_operator/v3/features_operator_pb2.py +86 -0
- _frogml_proto/qwak/features_operator/v3/features_operator_pb2.pyi +143 -0
- _frogml_proto/qwak/features_operator/v3/features_operator_pb2_grpc.py +4 -0
- _frogml_proto/qwak/file_versioning/file_versioning_pb2.py +56 -0
- _frogml_proto/qwak/file_versioning/file_versioning_pb2.pyi +103 -0
- _frogml_proto/qwak/file_versioning/file_versioning_pb2_grpc.py +4 -0
- _frogml_proto/qwak/file_versioning/file_versioning_service_pb2.py +69 -0
- _frogml_proto/qwak/file_versioning/file_versioning_service_pb2.pyi +83 -0
- _frogml_proto/qwak/file_versioning/file_versioning_service_pb2_grpc.py +101 -0
- _frogml_proto/qwak/fitness_service/constructs_pb2.py +120 -0
- _frogml_proto/qwak/fitness_service/constructs_pb2.pyi +297 -0
- _frogml_proto/qwak/fitness_service/constructs_pb2_grpc.py +4 -0
- _frogml_proto/qwak/fitness_service/fitness_pb2.py +54 -0
- _frogml_proto/qwak/fitness_service/fitness_pb2.pyi +126 -0
- _frogml_proto/qwak/fitness_service/fitness_pb2_grpc.py +4 -0
- _frogml_proto/qwak/fitness_service/fitness_service_pb2.py +110 -0
- _frogml_proto/qwak/fitness_service/fitness_service_pb2.pyi +121 -0
- _frogml_proto/qwak/fitness_service/fitness_service_pb2_grpc.py +169 -0
- _frogml_proto/qwak/fitness_service/status_pb2.py +128 -0
- _frogml_proto/qwak/fitness_service/status_pb2.pyi +283 -0
- _frogml_proto/qwak/fitness_service/status_pb2_grpc.py +4 -0
- _frogml_proto/qwak/inference/feedback/feedback_pb2.py +118 -0
- _frogml_proto/qwak/inference/feedback/feedback_pb2.pyi +253 -0
- _frogml_proto/qwak/inference/feedback/feedback_pb2_grpc.py +100 -0
- _frogml_proto/qwak/instance_template/instance_template_pb2.py +62 -0
- _frogml_proto/qwak/instance_template/instance_template_pb2.pyi +108 -0
- _frogml_proto/qwak/instance_template/instance_template_pb2_grpc.py +4 -0
- _frogml_proto/qwak/instance_template/instance_template_service_pb2.py +69 -0
- _frogml_proto/qwak/instance_template/instance_template_service_pb2.pyi +79 -0
- _frogml_proto/qwak/instance_template/instance_template_service_pb2_grpc.py +101 -0
- _frogml_proto/qwak/integration/hugging_face_integration_pb2.py +85 -0
- _frogml_proto/qwak/integration/hugging_face_integration_pb2.pyi +106 -0
- _frogml_proto/qwak/integration/hugging_face_integration_pb2_grpc.py +4 -0
- _frogml_proto/qwak/integration/integration_pb2.py +153 -0
- _frogml_proto/qwak/integration/integration_pb2.pyi +357 -0
- _frogml_proto/qwak/integration/integration_pb2_grpc.py +4 -0
- _frogml_proto/qwak/integration/integration_service_pb2.py +169 -0
- _frogml_proto/qwak/integration/integration_service_pb2.pyi +234 -0
- _frogml_proto/qwak/integration/integration_service_pb2_grpc.py +271 -0
- _frogml_proto/qwak/integration/open_a_i_integration_pb2.py +85 -0
- _frogml_proto/qwak/integration/open_a_i_integration_pb2.pyi +109 -0
- _frogml_proto/qwak/integration/open_a_i_integration_pb2_grpc.py +4 -0
- _frogml_proto/qwak/integration/opsgenie_integration_pb2.py +105 -0
- _frogml_proto/qwak/integration/opsgenie_integration_pb2.pyi +168 -0
- _frogml_proto/qwak/integration/opsgenie_integration_pb2_grpc.py +4 -0
- _frogml_proto/qwak/integration/pagerduty_integration_pb2.py +127 -0
- _frogml_proto/qwak/integration/pagerduty_integration_pb2.pyi +195 -0
- _frogml_proto/qwak/integration/pagerduty_integration_pb2_grpc.py +4 -0
- _frogml_proto/qwak/integration/slack_app_integration_pb2.py +127 -0
- _frogml_proto/qwak/integration/slack_app_integration_pb2.pyi +198 -0
- _frogml_proto/qwak/integration/slack_app_integration_pb2_grpc.py +4 -0
- _frogml_proto/qwak/jfrog/gateway/v0/repository_pb2.py +95 -0
- _frogml_proto/qwak/jfrog/gateway/v0/repository_pb2.pyi +125 -0
- _frogml_proto/qwak/jfrog/gateway/v0/repository_pb2_grpc.py +4 -0
- _frogml_proto/qwak/jfrog/gateway/v0/repository_service_pb2.py +69 -0
- _frogml_proto/qwak/jfrog/gateway/v0/repository_service_pb2.pyi +71 -0
- _frogml_proto/qwak/jfrog/gateway/v0/repository_service_pb2_grpc.py +101 -0
- _frogml_proto/qwak/kube_deployment_captain/alert_pb2.py +120 -0
- _frogml_proto/qwak/kube_deployment_captain/alert_pb2.pyi +232 -0
- _frogml_proto/qwak/kube_deployment_captain/alert_pb2_grpc.py +4 -0
- _frogml_proto/qwak/kube_deployment_captain/alerting_pb2.py +65 -0
- _frogml_proto/qwak/kube_deployment_captain/alerting_pb2.pyi +101 -0
- _frogml_proto/qwak/kube_deployment_captain/alerting_pb2_grpc.py +4 -0
- _frogml_proto/qwak/kube_deployment_captain/batch_job_pb2.py +357 -0
- _frogml_proto/qwak/kube_deployment_captain/batch_job_pb2.pyi +845 -0
- _frogml_proto/qwak/kube_deployment_captain/batch_job_pb2_grpc.py +4 -0
- _frogml_proto/qwak/kube_deployment_captain/deployment_pb2.py +182 -0
- _frogml_proto/qwak/kube_deployment_captain/deployment_pb2.pyi +482 -0
- _frogml_proto/qwak/kube_deployment_captain/deployment_pb2_grpc.py +4 -0
- _frogml_proto/qwak/kube_deployment_captain/feature_set_deployment_pb2.py +172 -0
- _frogml_proto/qwak/kube_deployment_captain/feature_set_deployment_pb2.pyi +370 -0
- _frogml_proto/qwak/kube_deployment_captain/feature_set_deployment_pb2_grpc.py +4 -0
- _frogml_proto/qwak/kube_deployment_captain/kube_deployment_captain_service_pb2.py +562 -0
- _frogml_proto/qwak/kube_deployment_captain/kube_deployment_captain_service_pb2.pyi +924 -0
- _frogml_proto/qwak/kube_deployment_captain/kube_deployment_captain_service_pb2_grpc.py +1226 -0
- _frogml_proto/qwak/kube_deployment_captain/traffic_mapping_pb2.py +45 -0
- _frogml_proto/qwak/kube_deployment_captain/traffic_mapping_pb2.pyi +63 -0
- _frogml_proto/qwak/kube_deployment_captain/traffic_mapping_pb2_grpc.py +4 -0
- _frogml_proto/qwak/logging/log_filter_pb2.py +66 -0
- _frogml_proto/qwak/logging/log_filter_pb2.pyi +102 -0
- _frogml_proto/qwak/logging/log_filter_pb2_grpc.py +4 -0
- _frogml_proto/qwak/logging/log_line_pb2.py +48 -0
- _frogml_proto/qwak/logging/log_line_pb2.pyi +62 -0
- _frogml_proto/qwak/logging/log_line_pb2_grpc.py +4 -0
- _frogml_proto/qwak/logging/log_reader_service_pb2.py +51 -0
- _frogml_proto/qwak/logging/log_reader_service_pb2.pyi +83 -0
- _frogml_proto/qwak/logging/log_reader_service_pb2_grpc.py +67 -0
- _frogml_proto/qwak/logging/log_source_pb2.py +155 -0
- _frogml_proto/qwak/logging/log_source_pb2.pyi +321 -0
- _frogml_proto/qwak/logging/log_source_pb2_grpc.py +4 -0
- _frogml_proto/qwak/model_descriptor/open_ai_descriptor_pb2.py +96 -0
- _frogml_proto/qwak/model_descriptor/open_ai_descriptor_pb2.pyi +215 -0
- _frogml_proto/qwak/model_descriptor/open_ai_descriptor_pb2_grpc.py +4 -0
- _frogml_proto/qwak/models/models_pb2.py +427 -0
- _frogml_proto/qwak/models/models_pb2.pyi +851 -0
- _frogml_proto/qwak/models/models_pb2_grpc.py +402 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_management_service_pb2.py +149 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_management_service_pb2.pyi +183 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_management_service_pb2_grpc.py +237 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_pb2.py +175 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_pb2.pyi +360 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_pb2_grpc.py +4 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_sync_service_pb2.py +70 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_sync_service_pb2.pyi +85 -0
- _frogml_proto/qwak/monitoring/v0/alerting_channel_sync_service_pb2_grpc.py +101 -0
- _frogml_proto/qwak/offline/serving/v1/feature_values_pb2.py +35 -0
- _frogml_proto/qwak/offline/serving/v1/feature_values_pb2.pyi +37 -0
- _frogml_proto/qwak/offline/serving/v1/feature_values_pb2_grpc.py +4 -0
- _frogml_proto/qwak/offline/serving/v1/offline_serving_async_service_pb2.py +148 -0
- _frogml_proto/qwak/offline/serving/v1/offline_serving_async_service_pb2.pyi +279 -0
- _frogml_proto/qwak/offline/serving/v1/offline_serving_async_service_pb2_grpc.py +165 -0
- _frogml_proto/qwak/offline/serving/v1/options_pb2.py +35 -0
- _frogml_proto/qwak/offline/serving/v1/options_pb2.pyi +30 -0
- _frogml_proto/qwak/offline/serving/v1/options_pb2_grpc.py +4 -0
- _frogml_proto/qwak/offline/serving/v1/population_pb2.py +75 -0
- _frogml_proto/qwak/offline/serving/v1/population_pb2.pyi +99 -0
- _frogml_proto/qwak/offline/serving/v1/population_pb2_grpc.py +4 -0
- _frogml_proto/qwak/projects/projects_pb2.py +225 -0
- _frogml_proto/qwak/projects/projects_pb2.pyi +436 -0
- _frogml_proto/qwak/projects/projects_pb2_grpc.py +203 -0
- _frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.py +270 -0
- _frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.pyi +417 -0
- _frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2_grpc.py +441 -0
- _frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.py +237 -0
- _frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.pyi +415 -0
- _frogml_proto/qwak/prompt/v1/prompt/prompt_pb2_grpc.py +4 -0
- _frogml_proto/qwak/secret_service/secret_service_pb2.py +88 -0
- _frogml_proto/qwak/secret_service/secret_service_pb2.pyi +101 -0
- _frogml_proto/qwak/secret_service/secret_service_pb2_grpc.py +135 -0
- _frogml_proto/qwak/self_service/account/v0/account_membership_pb2.py +134 -0
- _frogml_proto/qwak/self_service/account/v0/account_membership_pb2.pyi +274 -0
- _frogml_proto/qwak/self_service/account/v0/account_membership_pb2_grpc.py +4 -0
- _frogml_proto/qwak/self_service/account/v0/account_membership_service_pb2.py +251 -0
- _frogml_proto/qwak/self_service/account/v0/account_membership_service_pb2.pyi +337 -0
- _frogml_proto/qwak/self_service/account/v0/account_membership_service_pb2_grpc.py +407 -0
- _frogml_proto/qwak/self_service/account/v0/account_status_pb2.py +93 -0
- _frogml_proto/qwak/self_service/account/v0/account_status_pb2.pyi +169 -0
- _frogml_proto/qwak/self_service/account/v0/account_status_pb2_grpc.py +4 -0
- _frogml_proto/qwak/self_service/account/v0/managing_account_pb2.py +155 -0
- _frogml_proto/qwak/self_service/account/v0/managing_account_pb2.pyi +279 -0
- _frogml_proto/qwak/self_service/account/v0/managing_account_pb2_grpc.py +4 -0
- _frogml_proto/qwak/self_service/account/v0/managing_account_service_pb2.py +110 -0
- _frogml_proto/qwak/self_service/account/v0/managing_account_service_pb2.pyi +136 -0
- _frogml_proto/qwak/self_service/account/v0/managing_account_service_pb2_grpc.py +169 -0
- _frogml_proto/qwak/self_service/user/v1/api_key_pb2.py +35 -0
- _frogml_proto/qwak/self_service/user/v1/api_key_pb2.pyi +30 -0
- _frogml_proto/qwak/self_service/user/v1/api_key_pb2_grpc.py +4 -0
- _frogml_proto/qwak/self_service/user/v1/user_pb2.py +37 -0
- _frogml_proto/qwak/self_service/user/v1/user_pb2.pyi +62 -0
- _frogml_proto/qwak/self_service/user/v1/user_pb2_grpc.py +4 -0
- _frogml_proto/qwak/self_service/user/v1/user_service_pb2.py +146 -0
- _frogml_proto/qwak/self_service/user/v1/user_service_pb2.pyi +209 -0
- _frogml_proto/qwak/self_service/user/v1/user_service_pb2_grpc.py +203 -0
- _frogml_proto/qwak/traffic/v1/traffic_api_pb2.py +109 -0
- _frogml_proto/qwak/traffic/v1/traffic_api_pb2.pyi +137 -0
- _frogml_proto/qwak/traffic/v1/traffic_api_pb2_grpc.py +169 -0
- _frogml_proto/qwak/traffic/v1/traffic_pb2.py +134 -0
- _frogml_proto/qwak/traffic/v1/traffic_pb2.pyi +285 -0
- _frogml_proto/qwak/traffic/v1/traffic_pb2_grpc.py +4 -0
- _frogml_proto/qwak/user_application/common/v0/resources_pb2.py +159 -0
- _frogml_proto/qwak/user_application/common/v0/resources_pb2.pyi +333 -0
- _frogml_proto/qwak/user_application/common/v0/resources_pb2_grpc.py +4 -0
- _frogml_proto/qwak/user_application/v0/user_application_pb2.py +69 -0
- _frogml_proto/qwak/user_application/v0/user_application_pb2.pyi +89 -0
- _frogml_proto/qwak/user_application/v0/user_application_pb2_grpc.py +4 -0
- _frogml_proto/qwak/vectors/v1/collection/collection_pb2.py +128 -0
- _frogml_proto/qwak/vectors/v1/collection/collection_pb2.pyi +287 -0
- _frogml_proto/qwak/vectors/v1/collection/collection_pb2_grpc.py +4 -0
- _frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.py +189 -0
- _frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.pyi +258 -0
- _frogml_proto/qwak/vectors/v1/collection/collection_service_pb2_grpc.py +304 -0
- _frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.py +36 -0
- _frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.pyi +41 -0
- _frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2_grpc.py +4 -0
- _frogml_proto/qwak/vectors/v1/filters_pb2.py +156 -0
- _frogml_proto/qwak/vectors/v1/filters_pb2.pyi +297 -0
- _frogml_proto/qwak/vectors/v1/filters_pb2_grpc.py +4 -0
- _frogml_proto/qwak/vectors/v1/vector_pb2.py +78 -0
- _frogml_proto/qwak/vectors/v1/vector_pb2.pyi +142 -0
- _frogml_proto/qwak/vectors/v1/vector_pb2_grpc.py +4 -0
- _frogml_proto/qwak/vectors/v1/vector_service_pb2.py +134 -0
- _frogml_proto/qwak/vectors/v1/vector_service_pb2.pyi +243 -0
- _frogml_proto/qwak/vectors/v1/vector_service_pb2_grpc.py +201 -0
- _frogml_proto/qwak/workspace/workspace_pb2.py +135 -0
- _frogml_proto/qwak/workspace/workspace_pb2.pyi +331 -0
- _frogml_proto/qwak/workspace/workspace_pb2_grpc.py +4 -0
- _frogml_proto/qwak/workspace/workspace_service_pb2.py +309 -0
- _frogml_proto/qwak/workspace/workspace_service_pb2.pyi +393 -0
- _frogml_proto/qwak/workspace/workspace_service_pb2_grpc.py +507 -0
- frogml/__init__.py +16 -0
- frogml/automations/__init__.py +70 -0
- frogml/automations/automation_executions.py +99 -0
- frogml/automations/automations.py +396 -0
- frogml/automations/batch_execution_action.py +336 -0
- frogml/automations/build_and_deploy_action.py +840 -0
- frogml/automations/common.py +106 -0
- frogml/clients/__init__.py +0 -0
- frogml/clients/_inner/__init__.py +0 -0
- frogml/clients/_inner/edge_communications.py +24 -0
- frogml/clients/administration/__init__.py +4 -0
- frogml/clients/administration/authenticated_user/__init__.py +0 -0
- frogml/clients/administration/authenticated_user/client.py +41 -0
- frogml/clients/administration/authentication/__init__.py +0 -0
- frogml/clients/administration/authentication/client.py +34 -0
- frogml/clients/administration/eco_system/__init__.py +0 -0
- frogml/clients/administration/eco_system/client.py +152 -0
- frogml/clients/administration/eco_system/eco_system_utils.py +15 -0
- frogml/clients/administration/environment/__init__.py +0 -0
- frogml/clients/administration/environment/client.py +77 -0
- frogml/clients/administration/self_service/__init__.py +0 -0
- frogml/clients/administration/self_service/client.py +73 -0
- frogml/clients/alert_management/__init__.py +1 -0
- frogml/clients/alert_management/client.py +64 -0
- frogml/clients/alerts_registry/__init__.py +1 -0
- frogml/clients/alerts_registry/channel.py +132 -0
- frogml/clients/alerts_registry/client.py +137 -0
- frogml/clients/analytics/__init__.py +1 -0
- frogml/clients/analytics/client.py +82 -0
- frogml/clients/audience/__init__.py +1 -0
- frogml/clients/audience/client.py +53 -0
- frogml/clients/automation_management/__init__.py +0 -0
- frogml/clients/automation_management/client.py +274 -0
- frogml/clients/autoscaling/__init__.py +1 -0
- frogml/clients/autoscaling/client.py +34 -0
- frogml/clients/batch_job_management/__init__.py +5 -0
- frogml/clients/batch_job_management/client.py +544 -0
- frogml/clients/batch_job_management/executions_config.py +201 -0
- frogml/clients/batch_job_management/results.py +73 -0
- frogml/clients/build_management/__init__.py +1 -0
- frogml/clients/build_management/client.py +115 -0
- frogml/clients/build_orchestrator/__init__.py +2 -0
- frogml/clients/build_orchestrator/build_model_request_getter.py +138 -0
- frogml/clients/build_orchestrator/client.py +456 -0
- frogml/clients/build_orchestrator/internal_client.py +114 -0
- frogml/clients/data_versioning/__init__.py +0 -0
- frogml/clients/data_versioning/client.py +76 -0
- frogml/clients/data_versioning/data_tag_filter.py +32 -0
- frogml/clients/deployment/__init__.py +0 -0
- frogml/clients/deployment/client.py +191 -0
- frogml/clients/feature_store/__init__.py +1 -0
- frogml/clients/feature_store/execution_management_client.py +102 -0
- frogml/clients/feature_store/job_registry_client.py +71 -0
- frogml/clients/feature_store/management_client.py +570 -0
- frogml/clients/feature_store/offline_serving_client.py +249 -0
- frogml/clients/feature_store/operator_client.py +164 -0
- frogml/clients/file_versioning/__init__.py +0 -0
- frogml/clients/file_versioning/client.py +77 -0
- frogml/clients/file_versioning/file_tag_filter.py +32 -0
- frogml/clients/instance_template/__init__.py +0 -0
- frogml/clients/instance_template/client.py +67 -0
- frogml/clients/integration_management/__init__.py +0 -0
- frogml/clients/integration_management/integration_manager_client.py +35 -0
- frogml/clients/integration_management/integration_utils.py +27 -0
- frogml/clients/integration_management/openai/__init__.py +0 -0
- frogml/clients/integration_management/openai/openai_system_secret.py +56 -0
- frogml/clients/jfrog_gateway/__init__.py +1 -0
- frogml/clients/jfrog_gateway/client.py +42 -0
- frogml/clients/kube_deployment_captain/__init__.py +1 -0
- frogml/clients/kube_deployment_captain/client.py +233 -0
- frogml/clients/logging_client/__init__.py +1 -0
- frogml/clients/logging_client/client.py +148 -0
- frogml/clients/model_management/__init__.py +1 -0
- frogml/clients/model_management/client.py +128 -0
- frogml/clients/model_version_manager/__init__.py +1 -0
- frogml/clients/model_version_manager/client.py +108 -0
- frogml/clients/project/__init__.py +0 -0
- frogml/clients/project/client.py +60 -0
- frogml/clients/prompt_manager/__init__.py +0 -0
- frogml/clients/prompt_manager/model_descriptor_mapper.py +196 -0
- frogml/clients/prompt_manager/prompt_manager_client.py +190 -0
- frogml/clients/prompt_manager/prompt_proto_mapper.py +262 -0
- frogml/clients/secret_service/__init__.py +1 -0
- frogml/clients/secret_service/client.py +96 -0
- frogml/clients/system_secret/__init__.py +0 -0
- frogml/clients/system_secret/system_secret_client.py +31 -0
- frogml/clients/user_application_instance/__init__.py +1 -0
- frogml/clients/user_application_instance/client.py +177 -0
- frogml/clients/vector_store/__init__.py +2 -0
- frogml/clients/vector_store/management_client.py +127 -0
- frogml/clients/vector_store/serving_client.py +157 -0
- frogml/clients/workspace_manager/__init__.py +1 -0
- frogml/clients/workspace_manager/client.py +224 -0
- frogml/exceptions/__init__.py +13 -0
- frogml/exceptions/frogml_decode_exception.py +7 -0
- frogml/exceptions/frogml_exception.py +7 -0
- frogml/exceptions/frogml_external_exception.py +11 -0
- frogml/exceptions/frogml_general_build_exception.py +13 -0
- frogml/exceptions/frogml_http_exception.py +19 -0
- frogml/exceptions/frogml_inference_exception.py +4 -0
- frogml/exceptions/frogml_load_configuration_exception.py +2 -0
- frogml/exceptions/frogml_load_model_failed_exception.py +10 -0
- frogml/exceptions/frogml_login_exception.py +8 -0
- frogml/exceptions/frogml_mock_http_exception.py +4 -0
- frogml/exceptions/frogml_model_initialization_exception.py +4 -0
- frogml/exceptions/frogml_not_found_exception.py +6 -0
- frogml/exceptions/frogml_remote_build_failed.py +5 -0
- frogml/exceptions/frogml_suggestion_exception.py +27 -0
- frogml/exceptions/quiet_error.py +22 -0
- frogml/feature_store/__init__.py +0 -0
- frogml/feature_store/_common/__init__.py +0 -0
- frogml/feature_store/_common/artifact_utils.py +57 -0
- frogml/feature_store/_common/feature_set_utils.py +261 -0
- frogml/feature_store/_common/featureset_asterisk_handler.py +115 -0
- frogml/feature_store/_common/functions.py +37 -0
- frogml/feature_store/_common/packaging.py +244 -0
- frogml/feature_store/_common/source_code_spec.py +62 -0
- frogml/feature_store/_common/source_code_spec_factory.py +51 -0
- frogml/feature_store/_common/value.py +10 -0
- frogml/feature_store/data_sources/__init__.py +65 -0
- frogml/feature_store/data_sources/attributes.py +25 -0
- frogml/feature_store/data_sources/base.py +121 -0
- frogml/feature_store/data_sources/batch/__init__.py +0 -0
- frogml/feature_store/data_sources/batch/_batch.py +9 -0
- frogml/feature_store/data_sources/batch/_jdbc.py +22 -0
- frogml/feature_store/data_sources/batch/athena.py +272 -0
- frogml/feature_store/data_sources/batch/big_query.py +80 -0
- frogml/feature_store/data_sources/batch/clickhouse.py +60 -0
- frogml/feature_store/data_sources/batch/csv.py +62 -0
- frogml/feature_store/data_sources/batch/elastic_search.py +61 -0
- frogml/feature_store/data_sources/batch/filesystem/__init__.py +0 -0
- frogml/feature_store/data_sources/batch/filesystem/aws.py +93 -0
- frogml/feature_store/data_sources/batch/filesystem/base_config.py +13 -0
- frogml/feature_store/data_sources/batch/filesystem/gcp.py +54 -0
- frogml/feature_store/data_sources/batch/filesystem/utils.py +59 -0
- frogml/feature_store/data_sources/batch/mongodb.py +58 -0
- frogml/feature_store/data_sources/batch/mysql.py +50 -0
- frogml/feature_store/data_sources/batch/parquet.py +57 -0
- frogml/feature_store/data_sources/batch/postgres.py +50 -0
- frogml/feature_store/data_sources/batch/redshift.py +85 -0
- frogml/feature_store/data_sources/batch/snowflake.py +77 -0
- frogml/feature_store/data_sources/batch/vertica.py +58 -0
- frogml/feature_store/data_sources/source_authentication.py +35 -0
- frogml/feature_store/data_sources/streaming/__init__.py +0 -0
- frogml/feature_store/data_sources/streaming/_streaming.py +9 -0
- frogml/feature_store/data_sources/streaming/kafka/__init__.py +25 -0
- frogml/feature_store/data_sources/streaming/kafka/authentication.py +124 -0
- frogml/feature_store/data_sources/streaming/kafka/deserialization.py +115 -0
- frogml/feature_store/data_sources/streaming/kafka/kafka.py +121 -0
- frogml/feature_store/data_sources/time_partition_columns.py +178 -0
- frogml/feature_store/entities/__init__.py +0 -0
- frogml/feature_store/entities/entity.py +73 -0
- frogml/feature_store/execution/__init__.py +0 -0
- frogml/feature_store/execution/backfill.py +197 -0
- frogml/feature_store/execution/execution.py +595 -0
- frogml/feature_store/execution/execution_query.py +91 -0
- frogml/feature_store/feature_sets/__init__.py +0 -0
- frogml/feature_store/feature_sets/_utils/_featureset_utils.py +45 -0
- frogml/feature_store/feature_sets/backfill.py +72 -0
- frogml/feature_store/feature_sets/base_feature_set.py +148 -0
- frogml/feature_store/feature_sets/batch.py +472 -0
- frogml/feature_store/feature_sets/context.py +13 -0
- frogml/feature_store/feature_sets/execution_spec.py +75 -0
- frogml/feature_store/feature_sets/metadata.py +75 -0
- frogml/feature_store/feature_sets/read_policies.py +245 -0
- frogml/feature_store/feature_sets/streaming.py +635 -0
- frogml/feature_store/feature_sets/streaming_backfill.py +266 -0
- frogml/feature_store/feature_sets/transformations/__init__.py +35 -0
- frogml/feature_store/feature_sets/transformations/aggregations/__init__.py +0 -0
- frogml/feature_store/feature_sets/transformations/aggregations/aggregations.py +443 -0
- frogml/feature_store/feature_sets/transformations/aggregations/windows.py +70 -0
- frogml/feature_store/feature_sets/transformations/functions/__init__.py +10 -0
- frogml/feature_store/feature_sets/transformations/functions/frogml_pandas.py +64 -0
- frogml/feature_store/feature_sets/transformations/functions/schema.py +57 -0
- frogml/feature_store/feature_sets/transformations/transformations.py +467 -0
- frogml/feature_store/feature_sets/transformations/validations/validations_util.py +78 -0
- frogml/feature_store/offline/__init__.py +4 -0
- frogml/feature_store/offline/_offline_serving_validations.py +32 -0
- frogml/feature_store/offline/_query_engine.py +32 -0
- frogml/feature_store/offline/athena/__init__.py +0 -0
- frogml/feature_store/offline/athena/athena_query_engine.py +154 -0
- frogml/feature_store/offline/client.py +719 -0
- frogml/feature_store/offline/client_v2.py +338 -0
- frogml/feature_store/offline/feature_set_features.py +25 -0
- frogml/feature_store/online/__init__.py +0 -0
- frogml/feature_store/online/client.py +352 -0
- frogml/feature_store/online/endpoint_utils.py +65 -0
- frogml/feature_store/sinks/__init__.py +0 -0
- frogml/feature_store/sinks/base.py +18 -0
- frogml/feature_store/sinks/kafka.py +59 -0
- frogml/feature_store/sinks/streaming/__init__.py +0 -0
- frogml/feature_store/sinks/streaming/attachment.py +34 -0
- frogml/feature_store/sinks/streaming/factory.py +60 -0
- frogml/feature_store/validations/__init__.py +0 -0
- frogml/feature_store/validations/validation_options.py +82 -0
- frogml/feature_store/validations/validation_response.py +121 -0
- frogml/feature_store/validations/validator.py +106 -0
- frogml/frogml_client/__init__.py +0 -0
- frogml/frogml_client/batch_jobs/execution.py +49 -0
- frogml/frogml_client/batch_jobs/task.py +43 -0
- frogml/frogml_client/build_api_helpers/__init__.py +0 -0
- frogml/frogml_client/build_api_helpers/build_api_steps.py +53 -0
- frogml/frogml_client/build_api_helpers/messages.py +6 -0
- frogml/frogml_client/build_api_helpers/trigger_build_api.py +65 -0
- frogml/frogml_client/builds/__init__.py +0 -0
- frogml/frogml_client/builds/build.py +97 -0
- frogml/frogml_client/builds/filters/__init__.py +0 -0
- frogml/frogml_client/builds/filters/metric_filter.py +38 -0
- frogml/frogml_client/builds/filters/parameter_filter.py +36 -0
- frogml/frogml_client/client.py +874 -0
- frogml/frogml_client/data_versioning/__init__.py +0 -0
- frogml/frogml_client/data_versioning/data_tag.py +24 -0
- frogml/frogml_client/deployments/__init__.py +0 -0
- frogml/frogml_client/deployments/deployment.py +409 -0
- frogml/frogml_client/file_versioning/__init__.py +0 -0
- frogml/frogml_client/file_versioning/file_tag.py +24 -0
- frogml/frogml_client/models/__init__.py +0 -0
- frogml/frogml_client/models/model.py +52 -0
- frogml/frogml_client/models/model_metadata.py +31 -0
- frogml/frogml_client/projects/__init__.py +0 -0
- frogml/frogml_client/projects/project.py +56 -0
- frogml/inner/__init__.py +11 -0
- frogml/inner/build_config/__init__.py +0 -0
- frogml/inner/build_config/build_config_v1.py +313 -0
- frogml/inner/build_logic/__init__.py +0 -0
- frogml/inner/build_logic/build_loggers/__init__.py +0 -0
- frogml/inner/build_logic/build_loggers/trigger_build_logger.py +50 -0
- frogml/inner/build_logic/constants/__init__.py +0 -0
- frogml/inner/build_logic/constants/dependencies.py +5 -0
- frogml/inner/build_logic/constants/host_resource.py +4 -0
- frogml/inner/build_logic/constants/messages.py +3 -0
- frogml/inner/build_logic/constants/temp_dir.py +1 -0
- frogml/inner/build_logic/constants/upload_tag.py +7 -0
- frogml/inner/build_logic/dependency_manager_type.py +8 -0
- frogml/inner/build_logic/execute_build_pipeline.py +64 -0
- frogml/inner/build_logic/interface/__init__.py +0 -0
- frogml/inner/build_logic/interface/build_logger_interface.py +28 -0
- frogml/inner/build_logic/interface/build_phase.py +24 -0
- frogml/inner/build_logic/interface/context_interface.py +56 -0
- frogml/inner/build_logic/interface/phase_run_handler.py +71 -0
- frogml/inner/build_logic/interface/step_inteface.py +26 -0
- frogml/inner/build_logic/interface/time_source.py +23 -0
- frogml/inner/build_logic/phases/__init__.py +0 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/__init__.py +0 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_model_step.py +41 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/__init__.py +0 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/common.py +32 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/fetch_strategy_manager.py +62 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/__init__.py +0 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/folder/__init__.py +0 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/folder/folder_strategy.py +131 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/git/__init__.py +0 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/git/git_strategy.py +184 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/strategy.py +48 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/zip/__init__.py +0 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/zip/zip_strategy.py +64 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/post_fetch_validation_step.py +139 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/pre_fetch_validation_step.py +263 -0
- frogml/inner/build_logic/phases/phase_010_fetch_model/set_version_step.py +33 -0
- frogml/inner/build_logic/phases/phase_020_remote_register_frogml_build/__init__.py +0 -0
- frogml/inner/build_logic/phases/phase_020_remote_register_frogml_build/cleanup_step.py +20 -0
- frogml/inner/build_logic/phases/phase_020_remote_register_frogml_build/start_remote_build_step.py +42 -0
- frogml/inner/build_logic/phases/phase_020_remote_register_frogml_build/upload_step.py +257 -0
- frogml/inner/build_logic/phases/phases_pipeline.py +44 -0
- frogml/inner/build_logic/run_handlers/__init__.py +0 -0
- frogml/inner/build_logic/run_handlers/programmatic_phase_run_handler.py +101 -0
- frogml/inner/build_logic/tools/__init__.py +0 -0
- frogml/inner/build_logic/tools/dependencies_tools.py +68 -0
- frogml/inner/build_logic/tools/files.py +237 -0
- frogml/inner/build_logic/tools/ignore_files.py +20 -0
- frogml/inner/build_logic/tools/text.py +9 -0
- frogml/inner/build_logic/trigger_build_context.py +10 -0
- frogml/inner/const.py +6 -0
- frogml/inner/di_configuration/__init__.py +73 -0
- frogml/inner/di_configuration/account.py +106 -0
- frogml/inner/di_configuration/config.yml +9 -0
- frogml/inner/di_configuration/containers.py +40 -0
- frogml/inner/instance_template/__init__.py +0 -0
- frogml/inner/instance_template/verify_template_id.py +48 -0
- frogml/inner/model_loggers_utils.py +110 -0
- frogml/inner/provider.py +6 -0
- frogml/inner/runtime_di/__init__.py +13 -0
- frogml/inner/runtime_di/containers.py +17 -0
- frogml/inner/singleton_meta.py +18 -0
- frogml/inner/tool/__init__.py +2 -0
- frogml/inner/tool/auth.py +70 -0
- frogml/inner/tool/grpc/__init__.py +0 -0
- frogml/inner/tool/grpc/grpc_auth.py +42 -0
- frogml/inner/tool/grpc/grpc_tools.py +209 -0
- frogml/inner/tool/grpc/grpc_try_wrapping.py +16 -0
- frogml/inner/tool/protobuf_factory.py +45 -0
- frogml/inner/tool/retry_utils.py +23 -0
- frogml/inner/tool/run_config/__init__.py +12 -0
- frogml/inner/tool/run_config/base.py +127 -0
- frogml/inner/tool/run_config/utils.py +316 -0
- frogml/llmops/__init__.py +0 -0
- frogml/llmops/generation/__init__.py +0 -0
- frogml/llmops/generation/_steaming.py +78 -0
- frogml/llmops/generation/base.py +5 -0
- frogml/llmops/generation/chat/__init__.py +0 -0
- frogml/llmops/generation/chat/openai/LICENSE.txt +201 -0
- frogml/llmops/generation/chat/openai/types/__init__.py +0 -0
- frogml/llmops/generation/chat/openai/types/chat/__init__.py +0 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion.py +88 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_assistant_message_param.py +65 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_chunk.py +153 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_content_part_text_param.py +28 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_function_call_option_param.py +25 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_function_message_param.py +33 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_message.py +56 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_message_param.py +34 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call.py +46 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call_param.py +44 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_named_tool_choice_param.py +32 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_role.py +20 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_system_message_param.py +35 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_token_logprob.py +71 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_tool_choice_option_param.py +28 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_tool_message_param.py +31 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_tool_param.py +29 -0
- frogml/llmops/generation/chat/openai/types/chat/chat_completion_user_message_param.py +35 -0
- frogml/llmops/generation/chat/openai/types/chat/completion_create_params.py +279 -0
- frogml/llmops/generation/chat/openai/types/completion_choice.py +47 -0
- frogml/llmops/generation/chat/openai/types/completion_create_params.py +209 -0
- frogml/llmops/generation/chat/openai/types/completion_usage.py +30 -0
- frogml/llmops/generation/chat/openai/types/model.py +35 -0
- frogml/llmops/generation/chat/openai/types/shared/__init__.py +3 -0
- frogml/llmops/generation/chat/openai/types/shared/error_object.py +27 -0
- frogml/llmops/generation/chat/openai/types/shared/function_definition.py +49 -0
- frogml/llmops/generation/chat/openai/types/shared/function_parameters.py +20 -0
- frogml/llmops/generation/chat/openai/types/shared_params/__init__.py +2 -0
- frogml/llmops/generation/chat/openai/types/shared_params/function_definition.py +49 -0
- frogml/llmops/generation/chat/openai/types/shared_params/function_parameters.py +22 -0
- frogml/llmops/generation/streaming.py +26 -0
- frogml/llmops/model/__init__.py +0 -0
- frogml/llmops/model/descriptor.py +40 -0
- frogml/llmops/prompt/__init__.py +0 -0
- frogml/llmops/prompt/base.py +136 -0
- frogml/llmops/prompt/chat/__init__.py +0 -0
- frogml/llmops/prompt/chat/message.py +24 -0
- frogml/llmops/prompt/chat/template.py +113 -0
- frogml/llmops/prompt/chat/value.py +10 -0
- frogml/llmops/prompt/manager.py +138 -0
- frogml/llmops/prompt/template.py +24 -0
- frogml/llmops/prompt/value.py +14 -0
- frogml/llmops/provider/__init__.py +0 -0
- frogml/llmops/provider/chat.py +44 -0
- frogml/llmops/provider/openai/__init__.py +0 -0
- frogml/llmops/provider/openai/client.py +126 -0
- frogml/llmops/provider/openai/provider.py +91 -0
- frogml/model/__init__.py +0 -0
- frogml/model/_entity_extraction.py +116 -0
- frogml/model/adapters/__init__.py +39 -0
- frogml/model/adapters/input_adapters/__init__.py +0 -0
- frogml/model/adapters/input_adapters/base_input_adapter.py +8 -0
- frogml/model/adapters/input_adapters/dataframe_input_adapter.py +11 -0
- frogml/model/adapters/input_adapters/file_input_adapter.py +8 -0
- frogml/model/adapters/input_adapters/image_input_adapter.py +8 -0
- frogml/model/adapters/input_adapters/json_input_adapter.py +8 -0
- frogml/model/adapters/input_adapters/multi_input_adapter.py +66 -0
- frogml/model/adapters/input_adapters/numpy_input_adapter.py +100 -0
- frogml/model/adapters/input_adapters/proto_input_adapter.py +32 -0
- frogml/model/adapters/input_adapters/string_input_adapter.py +8 -0
- frogml/model/adapters/input_adapters/tf_tensor_input_adapter.py +8 -0
- frogml/model/adapters/output_adapters/__init__.py +0 -0
- frogml/model/adapters/output_adapters/base_output_adapter.py +13 -0
- frogml/model/adapters/output_adapters/dataframe_output_adapter.py +12 -0
- frogml/model/adapters/output_adapters/default_output_adapter.py +9 -0
- frogml/model/adapters/output_adapters/json_output_adapter.py +9 -0
- frogml/model/adapters/output_adapters/numpy_output_adapter.py +32 -0
- frogml/model/adapters/output_adapters/proto_output_adapter.py +16 -0
- frogml/model/adapters/output_adapters/qwak_with_default_fallback.py +5 -0
- frogml/model/adapters/output_adapters/tf_tensor_output_adapter.py +9 -0
- frogml/model/analytics_logging.py +14 -0
- frogml/model/base.py +86 -0
- frogml/model/decorators/__init__.py +0 -0
- frogml/model/decorators/api.py +62 -0
- frogml/model/decorators/impl/__init__.py +0 -0
- frogml/model/decorators/impl/api_implementation.py +29 -0
- frogml/model/decorators/impl/timer_implementation.py +10 -0
- frogml/model/decorators/timer.py +20 -0
- frogml/model/fs_info_mapping_retriever.py +58 -0
- frogml/model/model_version_tracking.py +57 -0
- frogml/model/schema.py +52 -0
- frogml/model/schema_entities.py +107 -0
- frogml/model/tools/__init__.py +24 -0
- frogml/model/tools/adapters/__init__.py +0 -0
- frogml/model/tools/adapters/encoders.py +46 -0
- frogml/model/tools/adapters/input.py +66 -0
- frogml/model/tools/adapters/input_adapters/__init__.py +0 -0
- frogml/model/tools/adapters/input_adapters/base_input.py +21 -0
- frogml/model/tools/adapters/input_adapters/dataframe_input.py +48 -0
- frogml/model/tools/adapters/input_adapters/file_input.py +8 -0
- frogml/model/tools/adapters/input_adapters/image_input.py +45 -0
- frogml/model/tools/adapters/input_adapters/json_input.py +20 -0
- frogml/model/tools/adapters/input_adapters/string_input.py +6 -0
- frogml/model/tools/adapters/input_adapters/tf_tensor_input.py +44 -0
- frogml/model/tools/adapters/output.py +75 -0
- frogml/model/tools/adapters/output_adapters/__init__.py +0 -0
- frogml/model/tools/adapters/output_adapters/base_output.py +16 -0
- frogml/model/tools/adapters/output_adapters/dataframe_output.py +30 -0
- frogml/model/tools/adapters/output_adapters/default_output.py +58 -0
- frogml/model/tools/adapters/output_adapters/json_output.py +17 -0
- frogml/model/tools/adapters/output_adapters/tf_tensor_output.py +41 -0
- frogml/model/tools/run_model_locally.py +68 -0
- frogml/model/utils/__init__.py +0 -0
- frogml/model/utils/extract_wrapped_function.py +9 -0
- frogml/model/utils/feature_utils.py +69 -0
- frogml/model_loggers/__init__.py +0 -0
- frogml/model_loggers/artifact_logger.py +95 -0
- frogml/model_loggers/data_logger.py +172 -0
- frogml/model_loggers/model_logger.py +30 -0
- frogml/testing/__init__.py +0 -0
- frogml/testing/fixtures.py +7 -0
- frogml/tools/__init__.py +0 -0
- frogml/tools/logger/__init__.py +3 -0
- frogml/tools/logger/logger.py +287 -0
- frogml/tools/logger/logging.yml +79 -0
- frogml/utils/__init__.py +0 -0
- frogml/utils/datetime_utils.py +18 -0
- frogml/utils/dict_utils.py +12 -0
- frogml/vector_store/__init__.py +4 -0
- frogml/vector_store/client.py +151 -0
- frogml/vector_store/collection.py +429 -0
- frogml/vector_store/filters.py +359 -0
- frogml/vector_store/inference_client.py +105 -0
- frogml/vector_store/rest_helpers.py +81 -0
- frogml/vector_store/utils/__init__.py +0 -0
- frogml/vector_store/utils/filter_utils.py +23 -0
- frogml/vector_store/utils/upsert_utils.py +218 -0
- frogml_core-0.0.1.dist-info/METADATA +49 -0
- frogml_core-0.0.1.dist-info/RECORD +1013 -0
- frogml_core-0.0.1.dist-info/WHEEL +4 -0
- frogml_services_mock/__init__.py +1 -0
- frogml_services_mock/mocks/__init__.py +0 -0
- frogml_services_mock/mocks/alert_manager_service_api.py +56 -0
- frogml_services_mock/mocks/alert_registry_service_api.py +62 -0
- frogml_services_mock/mocks/analytics_api.py +54 -0
- frogml_services_mock/mocks/audience_service_api.py +79 -0
- frogml_services_mock/mocks/authentication_service.py +33 -0
- frogml_services_mock/mocks/automation_management_service.py +228 -0
- frogml_services_mock/mocks/autoscaling_service_api.py +31 -0
- frogml_services_mock/mocks/batch_job_manager_service.py +337 -0
- frogml_services_mock/mocks/build_management.py +101 -0
- frogml_services_mock/mocks/build_orchestrator_build_api.py +138 -0
- frogml_services_mock/mocks/build_orchestrator_build_settings_api.py +38 -0
- frogml_services_mock/mocks/build_orchestrator_service_api.py +132 -0
- frogml_services_mock/mocks/data_versioning_service.py +63 -0
- frogml_services_mock/mocks/deployment_management_service.py +461 -0
- frogml_services_mock/mocks/ecosystem_service_api.py +45 -0
- frogml_services_mock/mocks/execution_management_service.py +26 -0
- frogml_services_mock/mocks/feature_store_data_sources_manager_api.py +99 -0
- frogml_services_mock/mocks/feature_store_entities_manager_api.py +99 -0
- frogml_services_mock/mocks/feature_store_feature_set_manager_api.py +269 -0
- frogml_services_mock/mocks/features_online_serving_api.py +169 -0
- frogml_services_mock/mocks/features_operator_v3_service.py +29 -0
- frogml_services_mock/mocks/features_set_state_service_api.py +57 -0
- frogml_services_mock/mocks/feedback_service.py +35 -0
- frogml_services_mock/mocks/file_versioning_service.py +66 -0
- frogml_services_mock/mocks/frogml_mocks.py +133 -0
- frogml_services_mock/mocks/fs_offline_serving_service.py +53 -0
- frogml_services_mock/mocks/instance_template_management_service.py +150 -0
- frogml_services_mock/mocks/integration_management_service.py +73 -0
- frogml_services_mock/mocks/internal_build_orchestrator_service.py +27 -0
- frogml_services_mock/mocks/job_registry_service_api.py +74 -0
- frogml_services_mock/mocks/kube_captain_service_api.py +41 -0
- frogml_services_mock/mocks/logging_service.py +203 -0
- frogml_services_mock/mocks/model_management_service.py +115 -0
- frogml_services_mock/mocks/model_version_manager_service.py +100 -0
- frogml_services_mock/mocks/project_manager_service.py +96 -0
- frogml_services_mock/mocks/prompt_manager_service.py +281 -0
- frogml_services_mock/mocks/repository_service_mock.py +39 -0
- frogml_services_mock/mocks/secret_service.py +43 -0
- frogml_services_mock/mocks/self_service_user_service.py +31 -0
- frogml_services_mock/mocks/system_secret_service.py +55 -0
- frogml_services_mock/mocks/user_application_instance_service_api.py +107 -0
- frogml_services_mock/mocks/utils/__init__.py +0 -0
- frogml_services_mock/mocks/utils/exception_handlers.py +13 -0
- frogml_services_mock/mocks/vector_serving_api.py +159 -0
- frogml_services_mock/mocks/vectors_management_api.py +97 -0
- frogml_services_mock/mocks/workspace_manager_service_mock.py +202 -0
- frogml_services_mock/services_mock.py +542 -0
- frogml_services_mock/utils/__init__.py +0 -0
- frogml_services_mock/utils/service_utils.py +9 -0
@@ -0,0 +1,209 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2024 OpenAI
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
from __future__ import annotations
|
17
|
+
|
18
|
+
from dataclasses import dataclass
|
19
|
+
from typing import Dict, Iterable, List, Optional, Union
|
20
|
+
|
21
|
+
from typing_extensions import Literal, Required, TypedDict
|
22
|
+
|
23
|
+
__all__ = [
|
24
|
+
"CompletionCreateParamsBase",
|
25
|
+
"CompletionCreateParamsNonStreaming",
|
26
|
+
"CompletionCreateParamsStreaming",
|
27
|
+
]
|
28
|
+
|
29
|
+
|
30
|
+
class CompletionCreateParamsBase(TypedDict, total=False):
|
31
|
+
model: Required[
|
32
|
+
Union[str, Literal["gpt-3.5-turbo-instruct", "davinci-002", "babbage-002"]]
|
33
|
+
]
|
34
|
+
"""ID of the model to use.
|
35
|
+
|
36
|
+
You can use the
|
37
|
+
[List models](https://platform.openai.com/docs/api-reference/models/list) API to
|
38
|
+
see all of your available models, or see our
|
39
|
+
[Model overview](https://platform.openai.com/docs/models/overview) for
|
40
|
+
descriptions of them.
|
41
|
+
"""
|
42
|
+
|
43
|
+
prompt: Required[
|
44
|
+
Union[str, List[str], Iterable[int], Iterable[Iterable[int]], None]
|
45
|
+
]
|
46
|
+
"""
|
47
|
+
The prompt(s) to generate completions for, encoded as a string, array of
|
48
|
+
strings, array of tokens, or array of token arrays.
|
49
|
+
|
50
|
+
Note that <|endoftext|> is the document separator that the model sees during
|
51
|
+
training, so if a prompt is not specified the model will generate as if from the
|
52
|
+
beginning of a new document.
|
53
|
+
"""
|
54
|
+
|
55
|
+
best_of: Optional[int]
|
56
|
+
"""
|
57
|
+
Generates `best_of` completions server-side and returns the "best" (the one with
|
58
|
+
the highest log probability per token). Results cannot be streamed.
|
59
|
+
|
60
|
+
When used with `n`, `best_of` controls the number of candidate completions and
|
61
|
+
`n` specifies how many to return – `best_of` must be greater than `n`.
|
62
|
+
|
63
|
+
**Note:** Because this parameter generates many completions, it can quickly
|
64
|
+
consume your token quota. Use carefully and ensure that you have reasonable
|
65
|
+
settings for `max_tokens` and `stop`.
|
66
|
+
"""
|
67
|
+
|
68
|
+
echo: Optional[bool]
|
69
|
+
"""Echo back the prompt in addition to the completion"""
|
70
|
+
|
71
|
+
frequency_penalty: Optional[float]
|
72
|
+
"""Number between -2.0 and 2.0.
|
73
|
+
|
74
|
+
Positive values penalize new tokens based on their existing frequency in the
|
75
|
+
text so far, decreasing the model's likelihood to repeat the same line verbatim.
|
76
|
+
|
77
|
+
[See more information about frequency and presence penalties.](https://platform.openai.com/docs/guides/text-generation/parameter-details)
|
78
|
+
"""
|
79
|
+
|
80
|
+
logit_bias: Optional[Dict[str, int]]
|
81
|
+
"""Modify the likelihood of specified tokens appearing in the completion.
|
82
|
+
|
83
|
+
Accepts a JSON object that maps tokens (specified by their token ID in the GPT
|
84
|
+
tokenizer) to an associated bias value from -100 to 100. You can use this
|
85
|
+
[tokenizer tool](/tokenizer?view=bpe) to convert text to token IDs.
|
86
|
+
Mathematically, the bias is added to the logits generated by the model prior to
|
87
|
+
sampling. The exact effect will vary per model, but values between -1 and 1
|
88
|
+
should decrease or increase likelihood of selection; values like -100 or 100
|
89
|
+
should result in a ban or exclusive selection of the relevant token.
|
90
|
+
|
91
|
+
As an example, you can pass `{"50256": -100}` to prevent the <|endoftext|> token
|
92
|
+
from being generated.
|
93
|
+
"""
|
94
|
+
|
95
|
+
logprobs: Optional[int]
|
96
|
+
"""
|
97
|
+
Include the log probabilities on the `logprobs` most likely output tokens, as
|
98
|
+
well the chosen tokens. For example, if `logprobs` is 5, the API will return a
|
99
|
+
list of the 5 most likely tokens. The API will always return the `logprob` of
|
100
|
+
the sampled token, so there may be up to `logprobs+1` elements in the response.
|
101
|
+
|
102
|
+
The maximum value for `logprobs` is 5.
|
103
|
+
"""
|
104
|
+
|
105
|
+
max_tokens: Optional[int]
|
106
|
+
"""
|
107
|
+
The maximum number of [tokens](/tokenizer) that can be generated in the
|
108
|
+
completion.
|
109
|
+
|
110
|
+
The token count of your prompt plus `max_tokens` cannot exceed the model's
|
111
|
+
context length.
|
112
|
+
[Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken)
|
113
|
+
for counting tokens.
|
114
|
+
"""
|
115
|
+
|
116
|
+
n: Optional[int]
|
117
|
+
"""How many completions to generate for each prompt.
|
118
|
+
|
119
|
+
**Note:** Because this parameter generates many completions, it can quickly
|
120
|
+
consume your token quota. Use carefully and ensure that you have reasonable
|
121
|
+
settings for `max_tokens` and `stop`.
|
122
|
+
"""
|
123
|
+
|
124
|
+
presence_penalty: Optional[float]
|
125
|
+
"""Number between -2.0 and 2.0.
|
126
|
+
|
127
|
+
Positive values penalize new tokens based on whether they appear in the text so
|
128
|
+
far, increasing the model's likelihood to talk about new topics.
|
129
|
+
|
130
|
+
[See more information about frequency and presence penalties.](https://platform.openai.com/docs/guides/text-generation/parameter-details)
|
131
|
+
"""
|
132
|
+
|
133
|
+
seed: Optional[int]
|
134
|
+
"""
|
135
|
+
If specified, our system will make a best effort to sample deterministically,
|
136
|
+
such that repeated requests with the same `seed` and parameters should return
|
137
|
+
the same result.
|
138
|
+
|
139
|
+
Determinism is not guaranteed, and you should refer to the `system_fingerprint`
|
140
|
+
response parameter to monitor changes in the backend.
|
141
|
+
"""
|
142
|
+
|
143
|
+
stop: Union[Optional[str], List[str], None]
|
144
|
+
"""Up to 4 sequences where the API will stop generating further tokens.
|
145
|
+
|
146
|
+
The returned text will not contain the stop sequence.
|
147
|
+
"""
|
148
|
+
|
149
|
+
suffix: Optional[str]
|
150
|
+
"""The suffix that comes after a completion of inserted text.
|
151
|
+
|
152
|
+
This parameter is only supported for `gpt-3.5-turbo-instruct`.
|
153
|
+
"""
|
154
|
+
|
155
|
+
temperature: Optional[float]
|
156
|
+
"""What sampling temperature to use, between 0 and 2.
|
157
|
+
|
158
|
+
Higher values like 0.8 will make the output more random, while lower values like
|
159
|
+
0.2 will make it more focused and deterministic.
|
160
|
+
|
161
|
+
We generally recommend altering this or `top_p` but not both.
|
162
|
+
"""
|
163
|
+
|
164
|
+
top_p: Optional[float]
|
165
|
+
"""
|
166
|
+
An alternative to sampling with temperature, called nucleus sampling, where the
|
167
|
+
model considers the results of the tokens with top_p probability mass. So 0.1
|
168
|
+
means only the tokens comprising the top 10% probability mass are considered.
|
169
|
+
|
170
|
+
We generally recommend altering this or `temperature` but not both.
|
171
|
+
"""
|
172
|
+
|
173
|
+
user: str
|
174
|
+
"""
|
175
|
+
A unique identifier representing your end-user, which can help OpenAI to monitor
|
176
|
+
and detect abuse.
|
177
|
+
[Learn more](https://platform.openai.com/docs/guides/safety-best-practices/end-user-ids).
|
178
|
+
"""
|
179
|
+
|
180
|
+
|
181
|
+
@dataclass
|
182
|
+
class CompletionCreateParamsNonStreaming(CompletionCreateParamsBase):
|
183
|
+
stream: Optional[Literal[False]]
|
184
|
+
"""Whether to stream back partial progress.
|
185
|
+
|
186
|
+
If set, tokens will be sent as data-only
|
187
|
+
[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
|
188
|
+
as they become available, with the stream terminated by a `data: [DONE]`
|
189
|
+
message.
|
190
|
+
[Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
|
191
|
+
"""
|
192
|
+
|
193
|
+
|
194
|
+
@dataclass
|
195
|
+
class CompletionCreateParamsStreaming(CompletionCreateParamsBase):
|
196
|
+
stream: Required[Literal[True]]
|
197
|
+
"""Whether to stream back partial progress.
|
198
|
+
|
199
|
+
If set, tokens will be sent as data-only
|
200
|
+
[server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
|
201
|
+
as they become available, with the stream terminated by a `data: [DONE]`
|
202
|
+
message.
|
203
|
+
[Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
|
204
|
+
"""
|
205
|
+
|
206
|
+
|
207
|
+
CompletionCreateParams = Union[
|
208
|
+
CompletionCreateParamsNonStreaming, CompletionCreateParamsStreaming
|
209
|
+
]
|
@@ -0,0 +1,30 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2024 OpenAI
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
__all__ = ["CompletionUsage"]
|
17
|
+
|
18
|
+
from dataclasses import dataclass
|
19
|
+
|
20
|
+
|
21
|
+
@dataclass
|
22
|
+
class CompletionUsage:
|
23
|
+
completion_tokens: int
|
24
|
+
"""Number of tokens in the generated completion."""
|
25
|
+
|
26
|
+
prompt_tokens: int
|
27
|
+
"""Number of tokens in the prompt."""
|
28
|
+
|
29
|
+
total_tokens: int
|
30
|
+
"""Total number of tokens used in the request (prompt + completion)."""
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2024 OpenAI
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
from dataclasses import dataclass
|
17
|
+
|
18
|
+
from typing_extensions import Literal
|
19
|
+
|
20
|
+
__all__ = ["Model"]
|
21
|
+
|
22
|
+
|
23
|
+
@dataclass
|
24
|
+
class Model:
|
25
|
+
id: str
|
26
|
+
"""The model identifier, which can be referenced in the API endpoints."""
|
27
|
+
|
28
|
+
created: int
|
29
|
+
"""The Unix timestamp (in seconds) when the model was created."""
|
30
|
+
|
31
|
+
object: Literal["model"]
|
32
|
+
"""The object type, which is always "model"."""
|
33
|
+
|
34
|
+
owned_by: str
|
35
|
+
"""The organization that owns the model."""
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2024 OpenAI
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
from dataclasses import dataclass
|
17
|
+
from typing import Optional
|
18
|
+
|
19
|
+
__all__ = ["ErrorObject"]
|
20
|
+
|
21
|
+
|
22
|
+
@dataclass
|
23
|
+
class ErrorObject:
|
24
|
+
type: str
|
25
|
+
message: str
|
26
|
+
param: Optional[str] = None
|
27
|
+
code: Optional[str] = None
|
@@ -0,0 +1,49 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2024 OpenAI
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
from dataclasses import dataclass
|
17
|
+
from typing import Optional
|
18
|
+
|
19
|
+
from .function_parameters import FunctionParameters
|
20
|
+
|
21
|
+
__all__ = ["FunctionDefinition"]
|
22
|
+
|
23
|
+
|
24
|
+
@dataclass
|
25
|
+
class FunctionDefinition:
|
26
|
+
name: str
|
27
|
+
"""The name of the function to be called.
|
28
|
+
|
29
|
+
Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length
|
30
|
+
of 64.
|
31
|
+
"""
|
32
|
+
|
33
|
+
description: Optional[str] = None
|
34
|
+
"""
|
35
|
+
A description of what the function does, used by the model to choose when and
|
36
|
+
how to call the function.
|
37
|
+
"""
|
38
|
+
|
39
|
+
parameters: Optional[FunctionParameters] = None
|
40
|
+
"""The parameters the functions accepts, described as a JSON Schema object.
|
41
|
+
|
42
|
+
See the
|
43
|
+
[guide](https://platform.openai.com/docs/guides/text-generation/function-calling)
|
44
|
+
for examples, and the
|
45
|
+
[JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
46
|
+
documentation about the format.
|
47
|
+
|
48
|
+
Omitting `parameters` defines a function with an empty parameter list.
|
49
|
+
"""
|
@@ -0,0 +1,20 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2024 OpenAI
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
from typing import Dict
|
17
|
+
|
18
|
+
__all__ = ["FunctionParameters"]
|
19
|
+
|
20
|
+
FunctionParameters = Dict[str, object]
|
@@ -0,0 +1,49 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2024 OpenAI
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
from __future__ import annotations
|
17
|
+
|
18
|
+
from typing_extensions import Required, TypedDict
|
19
|
+
|
20
|
+
from ...types import shared_params
|
21
|
+
|
22
|
+
__all__ = ["FunctionDefinition"]
|
23
|
+
|
24
|
+
|
25
|
+
class FunctionDefinition(TypedDict, total=False):
|
26
|
+
name: Required[str]
|
27
|
+
"""The name of the function to be called.
|
28
|
+
|
29
|
+
Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length
|
30
|
+
of 64.
|
31
|
+
"""
|
32
|
+
|
33
|
+
description: str
|
34
|
+
"""
|
35
|
+
A description of what the function does, used by the model to choose when and
|
36
|
+
how to call the function.
|
37
|
+
"""
|
38
|
+
|
39
|
+
parameters: shared_params.FunctionParameters
|
40
|
+
"""The parameters the functions accepts, described as a JSON Schema object.
|
41
|
+
|
42
|
+
See the
|
43
|
+
[guide](https://platform.openai.com/docs/guides/text-generation/function-calling)
|
44
|
+
for examples, and the
|
45
|
+
[JSON Schema reference](https://json-schema.org/understanding-json-schema/) for
|
46
|
+
documentation about the format.
|
47
|
+
|
48
|
+
Omitting `parameters` defines a function with an empty parameter list.
|
49
|
+
"""
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# Copyright 2024 OpenAI
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
from __future__ import annotations
|
17
|
+
|
18
|
+
from typing import Dict
|
19
|
+
|
20
|
+
__all__ = ["FunctionParameters"]
|
21
|
+
|
22
|
+
FunctionParameters = Dict[str, object]
|
@@ -0,0 +1,26 @@
|
|
1
|
+
from abc import ABC
|
2
|
+
from typing import Generic, TypeVar
|
3
|
+
|
4
|
+
from frogml.llmops.generation.chat.openai.types.chat.chat_completion_chunk import (
|
5
|
+
ChatCompletionChunk,
|
6
|
+
)
|
7
|
+
|
8
|
+
try:
|
9
|
+
from collections import Iterable
|
10
|
+
|
11
|
+
iterableABC = Iterable
|
12
|
+
except ImportError:
|
13
|
+
from collections.abc import Iterable
|
14
|
+
|
15
|
+
iterableABC = Iterable
|
16
|
+
|
17
|
+
|
18
|
+
_T = TypeVar("_T")
|
19
|
+
|
20
|
+
|
21
|
+
class Stream(Generic[_T], ABC, iterableABC):
|
22
|
+
pass
|
23
|
+
|
24
|
+
|
25
|
+
class ChatCompletionStream(Stream[ChatCompletionChunk], ABC):
|
26
|
+
pass
|
File without changes
|
@@ -0,0 +1,40 @@
|
|
1
|
+
from abc import ABC
|
2
|
+
from dataclasses import dataclass, field
|
3
|
+
from typing import Dict, Iterable, List, Optional, Union
|
4
|
+
|
5
|
+
from typing_extensions import Literal
|
6
|
+
|
7
|
+
from frogml.llmops.generation.chat.openai.types.chat.chat_completion_tool_choice_option_param import (
|
8
|
+
ChatCompletionToolChoiceOptionParam,
|
9
|
+
)
|
10
|
+
from frogml.llmops.generation.chat.openai.types.chat.chat_completion_tool_param import (
|
11
|
+
ChatCompletionToolParam,
|
12
|
+
)
|
13
|
+
|
14
|
+
|
15
|
+
class ModelDescriptor(ABC):
|
16
|
+
pass
|
17
|
+
|
18
|
+
|
19
|
+
class ChatModelDescriptor(ModelDescriptor):
|
20
|
+
pass
|
21
|
+
|
22
|
+
|
23
|
+
@dataclass
|
24
|
+
class OpenAIChat(ChatModelDescriptor):
|
25
|
+
model_id: str
|
26
|
+
frequency_penalty: Optional[float] = field(default=None)
|
27
|
+
logit_bias: Optional[Dict[str, int]] = field(default=None)
|
28
|
+
logprobs: Optional[bool] = field(default=None)
|
29
|
+
max_tokens: Optional[int] = field(default=None)
|
30
|
+
n: Optional[int] = field(default=None)
|
31
|
+
presence_penalty: Optional[float] = field(default=None)
|
32
|
+
response_format: Literal["text", "json_object"] = "text"
|
33
|
+
seed: Optional[int] = field(default=None)
|
34
|
+
stop: Union[Optional[str], List[str], None] = field(default=None)
|
35
|
+
temperature: Optional[float] = field(default=None)
|
36
|
+
top_p: Optional[float] = field(default=None)
|
37
|
+
top_logprobs: Optional[int] = field(default=None)
|
38
|
+
tool_choice: Optional[ChatCompletionToolChoiceOptionParam] = field(default=None)
|
39
|
+
tools: Optional[Iterable[ChatCompletionToolParam]] = field(default=None)
|
40
|
+
user: Optional[str] = field(default=None)
|
File without changes
|
@@ -0,0 +1,136 @@
|
|
1
|
+
import os
|
2
|
+
from abc import ABC, abstractmethod
|
3
|
+
from dataclasses import dataclass, field
|
4
|
+
from typing import Callable, Dict, Optional, Union
|
5
|
+
|
6
|
+
from cachetools import TTLCache, cached
|
7
|
+
|
8
|
+
from frogml.exceptions import FrogmlException
|
9
|
+
from frogml.llmops.generation.base import ModelResponse
|
10
|
+
from frogml.llmops.generation.chat.openai.types.chat.chat_completion import (
|
11
|
+
ChatCompletion,
|
12
|
+
)
|
13
|
+
from frogml.llmops.generation.streaming import ChatCompletionStream, Stream
|
14
|
+
from frogml.llmops.model.descriptor import ChatModelDescriptor, ModelDescriptor
|
15
|
+
from frogml.llmops.prompt.chat.template import ChatPromptTemplate
|
16
|
+
from frogml.llmops.prompt.chat.value import ChatPromptValue
|
17
|
+
from frogml.llmops.prompt.value import PromptValue
|
18
|
+
from frogml.llmops.provider.chat import ChatCompletionProvider
|
19
|
+
|
20
|
+
|
21
|
+
@dataclass
|
22
|
+
class BasePrompt(ABC):
|
23
|
+
@abstractmethod
|
24
|
+
def render(self, variables: Dict[str, any]) -> PromptValue:
|
25
|
+
pass
|
26
|
+
|
27
|
+
@abstractmethod
|
28
|
+
def invoke(
|
29
|
+
self,
|
30
|
+
variables: Optional[Dict[str, any]] = None,
|
31
|
+
model_override: Optional[ModelDescriptor] = None,
|
32
|
+
stream: bool = False,
|
33
|
+
) -> Union[ModelResponse, Stream]:
|
34
|
+
pass
|
35
|
+
|
36
|
+
|
37
|
+
@dataclass
|
38
|
+
class ChatPrompt(BasePrompt):
|
39
|
+
template: ChatPromptTemplate
|
40
|
+
model: Optional[ChatModelDescriptor]
|
41
|
+
|
42
|
+
def __post_init__(self):
|
43
|
+
self._validate()
|
44
|
+
|
45
|
+
def _validate(self):
|
46
|
+
if not isinstance(self.template, ChatPromptTemplate) or (
|
47
|
+
self.model and not isinstance(self.model, ChatModelDescriptor)
|
48
|
+
):
|
49
|
+
raise ValueError("ChatPrompt initiated with non-chat type fields!")
|
50
|
+
|
51
|
+
def render(self, variables: Dict[str, any]) -> ChatPromptValue:
|
52
|
+
return self.template.render(variables=variables)
|
53
|
+
|
54
|
+
def invoke(
|
55
|
+
self,
|
56
|
+
variables: Optional[Dict[str, any]] = None,
|
57
|
+
model_override: Optional[ModelDescriptor] = None,
|
58
|
+
stream: bool = False,
|
59
|
+
) -> Union[ChatCompletion, ChatCompletionStream]:
|
60
|
+
if not variables:
|
61
|
+
variables = dict()
|
62
|
+
if not self.model and not model_override:
|
63
|
+
raise FrogmlException(
|
64
|
+
"Can't invoke a prompt without a `ModelDescriptor`."
|
65
|
+
" Please provide one using the model_override "
|
66
|
+
"or create a ChatPrompt with a model."
|
67
|
+
)
|
68
|
+
|
69
|
+
return ChatCompletionProvider.invoke(
|
70
|
+
chat_prompt_value=self.render(variables=variables),
|
71
|
+
chat_model_descriptor=model_override if model_override else self.model,
|
72
|
+
stream=stream,
|
73
|
+
)
|
74
|
+
|
75
|
+
|
76
|
+
@dataclass
|
77
|
+
class RegisteredPrompt(BasePrompt):
|
78
|
+
name: str
|
79
|
+
prompt_description: str
|
80
|
+
version_description: str
|
81
|
+
version: int
|
82
|
+
_target_default_version: bool
|
83
|
+
prompt: BasePrompt
|
84
|
+
_cache: Callable[[str], "RegisteredPrompt"] = field(init=False, default=None)
|
85
|
+
_prompt_manager: "PromptManager" = None # noqa
|
86
|
+
|
87
|
+
def _get_prompt_manager(self) -> "PromptManager": # noqa
|
88
|
+
from frogml.llmops.prompt.manager import PromptManager
|
89
|
+
|
90
|
+
if not self._prompt_manager:
|
91
|
+
self._prompt_manager = PromptManager()
|
92
|
+
return self._prompt_manager
|
93
|
+
|
94
|
+
def _get_prompt_default_version_internal(self, name: str) -> "RegisteredPrompt":
|
95
|
+
return self._get_prompt_manager().get_prompt(name=name, version=None)
|
96
|
+
|
97
|
+
def _get_prompt_default_version(self, *, name: str) -> "RegisteredPrompt":
|
98
|
+
if not self._cache:
|
99
|
+
cache = cached(
|
100
|
+
cache=TTLCache(
|
101
|
+
maxsize=1, ttl=float(os.environ.get("_PROMPT_CACHE_SECONDS", "60"))
|
102
|
+
),
|
103
|
+
key=lambda *args, **kwargs: kwargs["name"],
|
104
|
+
)
|
105
|
+
self._cache = cache(self._get_prompt_default_version_internal)
|
106
|
+
return self._cache(name=name) # noqa
|
107
|
+
|
108
|
+
def _handle_default_version_swap(self):
|
109
|
+
if self._target_default_version:
|
110
|
+
new_default_version_prompt: RegisteredPrompt = (
|
111
|
+
self._get_prompt_default_version(name=self.name)
|
112
|
+
)
|
113
|
+
self.prompt_description = new_default_version_prompt.prompt_description
|
114
|
+
if self.version != new_default_version_prompt.version:
|
115
|
+
self.version_description = (
|
116
|
+
new_default_version_prompt.version_description
|
117
|
+
)
|
118
|
+
self.version = new_default_version_prompt.version
|
119
|
+
self.prompt = new_default_version_prompt.prompt
|
120
|
+
|
121
|
+
def render(self, variables: Dict[str, any]) -> PromptValue:
|
122
|
+
self._handle_default_version_swap()
|
123
|
+
return self.prompt.render(variables=variables)
|
124
|
+
|
125
|
+
def invoke(
|
126
|
+
self,
|
127
|
+
variables: Optional[Dict[str, any]] = None,
|
128
|
+
model_override: Optional[ModelDescriptor] = None,
|
129
|
+
stream: bool = False,
|
130
|
+
) -> Union[ModelResponse, Stream]:
|
131
|
+
if not variables:
|
132
|
+
variables = dict()
|
133
|
+
self._handle_default_version_swap()
|
134
|
+
return self.prompt.invoke(
|
135
|
+
variables=variables, model_override=model_override, stream=stream
|
136
|
+
)
|
File without changes
|