Preparing search index...
The search index is not available
LangSmith - v0.2.15
LangSmith
evaluation
StringEvaluator
Class StringEvaluator
Implements
RunEvaluator
Index
Constructors
constructor
Properties
grading
Function
input
Key
prediction
Key
answer
Key?
evaluation
Name?
Methods
evaluate
Run
Constructors
constructor
new
StringEvaluator
(
params
:
StringEvaluatorParams
)
:
StringEvaluator
Parameters
params
:
StringEvaluatorParams
Returns
StringEvaluator
Properties
Protected
grading
Function
gradingFunction
:
(
params
:
GradingFunctionParams
,
)
=>
Promise
<
GradingFunctionResult
>
Protected
input
Key
inputKey
:
string
Protected
prediction
Key
predictionKey
:
string
Protected
Optional
answer
Key
answerKey
?:
string
Protected
Optional
evaluation
Name
evaluationName
?:
string
Methods
evaluate
Run
evaluateRun
(
run
:
Run
,
example
?:
Example
)
:
Promise
<
EvaluationResult
>
Parameters
run
:
Run
Optional
example
:
Example
Returns
Promise
<
EvaluationResult
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
grading
Function
input
Key
prediction
Key
answer
Key
evaluation
Name
Methods
evaluate
Run
LangSmith - v0.2.15
Loading...