Skip to content

Commit

Permalink
fix(js/plugins/vertexai): corrected plugin names
Browse files Browse the repository at this point in the history
  • Loading branch information
CorieW authored and cabljac committed Oct 18, 2024
1 parent 5efa6e7 commit d8f6f8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/plugins/vertexai/src/evaluation/evaluator_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class EvaluatorFactory {
): Action {
return defineEvaluator(
{
name: `vertexai/${config.metric.toLocaleLowerCase()}`,
name: `vertexaiEvaluation/${config.metric.toLocaleLowerCase()}`,
displayName: config.displayName,
definition: config.definition,
},
Expand Down
2 changes: 1 addition & 1 deletion js/plugins/vertexai/src/evaluation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface PluginOptions extends BasePluginOptions {
* Plugin for Vertex AI Model Garden
*/
export const vertexAIEvaluation: Plugin<[PluginOptions] | []> = genkitPlugin(
'vertexAiEvaluation',
'vertexaiEvaluation',
async (options?: PluginOptions) => {
// Authenticate with Google Cloud
const authOptions = options?.googleAuth;
Expand Down

0 comments on commit d8f6f8b

Please sign in to comment.