Skip to content

Commit

Permalink
Fixed more eval imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelgj committed May 9, 2024
1 parent fe8c4db commit b288654
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/plugins/vertexai/src/evaluator_factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ import { BaseDataPoint, defineEvaluator, Score } from '@genkit-ai/ai/evaluator';
import { Action, GENKIT_CLIENT_HEADER } from '@genkit-ai/core';
import { runInNewSpan } from '@genkit-ai/core/tracing';
import { GoogleAuth } from 'google-auth-library';
import { JSONClient } from 'google-auth-library/build/src/auth/googleauth';
import z from 'zod';
import { VertexAIEvaluationMetricType } from './evaluation';

export class EvaluatorFactory {
constructor(
private readonly auth: GoogleAuth<JSONClient>,
private readonly auth: GoogleAuth,
private readonly location: string,
private readonly projectId: string
) {}
Expand Down

0 comments on commit b288654

Please sign in to comment.