Automated commit by github action: 4513324356

This commit is contained in:
GitHub Action Bot
2023-03-24 16:31:11 +00:00
parent e7e107bfe3
commit 81fd2da20c
4 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
post:
operationId: getFeatures
tags:
- IAI MLOPS Feature Store
summary: Request feature values from featurestore
description: >-
This API receives a list of feature names and entity id mappings and returns the requested feature values from the online store
requestBody:
description: A mapping of feature aliases to feature store view and column name as well as a list of entity key value mappings to request values for
content:
application/json:
schema:
$ref: '../schemas/FeatureStoreFeatureValuesRequest.yaml'
responses:
'200':
description: List of feature and entity values
content:
application/json:
schema:
$ref: '../schemas/FeatureStoreFeatureValuesResponse.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'
security:
- oauth2: [mlops:feature-data:read]

View File

@@ -0,0 +1,25 @@
type : object
properties:
features:
type: object
description: A mapping from the feature alias to the feature view name and column name in the feature store in the format <view>:<column>
additionalProperties:
type: string
example:
ent_count: "identity_entitlement_count:entitlement_count"
peerless_score: "identity_peerless_score:peerless_score"
entities:
type: array
description: A list of entity key value mappings to retrieve values for
items:
type: object
additionalProperties:
type: string
example: [
{
identity_id: 2c918089762475180176267f885e54ca
},
{
identity_id: 2c918089762475180176267f885e54cb
}
]

View File

@@ -0,0 +1,23 @@
type : object
properties:
results:
type: array
description: A list of key value mappings of entity and feature names and their values from the feature store
items:
type: object
additionalProperties:
type: string
example: [
{
identity_id: 2c918089762475180176267f885e54ca,
customer_id: f44d2387-9285-422d-ab72-b6f15ed2b39e,
ent_count: 19,
peerless_score: 0
},
{
identity_id: 2c918089762475180176267f885e54cb,
customer_id: f44d2387-9285-422d-ab72-b6f15ed2b39e,
ent_count: 25,
peerless_score: 0.5
}
]

View File

@@ -55,3 +55,6 @@ flows:
'idn:transforms:delete': Right to delete transforms
'idn:transforms:usage': Right to check whether a transform is referenced elsewhere
idn:source-connector:write: Right to configure source-connectors
mlops:feature-data:read: Right to retrieve data from the feature store
mlops:feature-data:write: Right to update data in the feature store