Documentation Index
Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Function: validateCodeScorer()
Parameters
codeContent
string
The Python code content to validate. Must include a function named scorer_fn with a return type annotation.
scoreableNodeTypes
( |"agent"
| "llm"
| "retriever"
| "tool"
| "workflow"
| "control"
| "trace"
| "session")[]
The node types that this scorer can score.
timeoutMs?
number
(Optional) Maximum time to wait for validation in milliseconds.
pollIntervalMs?
number
(Optional) Interval between polling attempts in milliseconds.
requiredScorers?
string[]
Returns
Promise<ValidateRegisteredScorerResult>
A promise that resolves to the validation result.