Member Junction
Preparing search index...
@memberjunction/testing-engine
RubricOracleEngine
Interface RubricOracleEngine
interface
RubricOracleEngine
{
EvaluateRecord
(
input
:
{
content
?:
{
data
?:
Record
<
string
,
unknown
>
;
text
?:
string
}
;
contextEntityName
?:
string
;
contextRecordId
?:
string
;
evaluatorConfig
?:
unknown
;
passThreshold
?:
number
|
null
;
rubricId
?:
string
;
subjectEntityName
:
string
;
subjectRecordId
:
string
;
versionId
?:
string
;
}
,
)
:
Promise
<
{
criteria
:
{
key
:
string
;
normalizedScore
:
number
|
null
;
rationale
?:
string
;
}
[]
;
displayScore
?:
number
|
null
;
evaluationId
:
string
;
outcome
:
string
|
null
;
score
:
number
|
null
;
}
,
>
;
}
Index
Methods
Evaluate
Record
Methods
Evaluate
Record
EvaluateRecord
(
input
:
{
content
?:
{
data
?:
Record
<
string
,
unknown
>
;
text
?:
string
}
;
contextEntityName
?:
string
;
contextRecordId
?:
string
;
evaluatorConfig
?:
unknown
;
passThreshold
?:
number
|
null
;
rubricId
?:
string
;
subjectEntityName
:
string
;
subjectRecordId
:
string
;
versionId
?:
string
;
}
,
)
:
Promise
<
{
criteria
:
{
key
:
string
;
normalizedScore
:
number
|
null
;
rationale
?:
string
;
}
[]
;
displayScore
?:
number
|
null
;
evaluationId
:
string
;
outcome
:
string
|
null
;
score
:
number
|
null
;
}
,
>
Parameters
input
:
{
content
?:
{
data
?:
Record
<
string
,
unknown
>
;
text
?:
string
}
;
contextEntityName
?:
string
;
contextRecordId
?:
string
;
evaluatorConfig
?:
unknown
;
passThreshold
?:
number
|
null
;
rubricId
?:
string
;
subjectEntityName
:
string
;
subjectRecordId
:
string
;
versionId
?:
string
;
}
Returns
Promise
<
{
criteria
:
{
key
:
string
;
normalizedScore
:
number
|
null
;
rationale
?:
string
;
}
[]
;
displayScore
?:
number
|
null
;
evaluationId
:
string
;
outcome
:
string
|
null
;
score
:
number
|
null
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
Evaluate
Record
Member Junction
Loading...