diff --git a/apps/hash-ai-worker-ts/src/activities/shared/embeddings.ts b/apps/hash-ai-worker-ts/src/activities/shared/embeddings.ts index 12acea4ea34..cd8bba3ba41 100644 --- a/apps/hash-ai-worker-ts/src/activities/shared/embeddings.ts +++ b/apps/hash-ai-worker-ts/src/activities/shared/embeddings.ts @@ -9,7 +9,8 @@ import type { } from "@local/hash-graph-types/ontology"; import { extractBaseUrl } from "@local/hash-subgraph/type-system-patch"; import OpenAI from "openai"; -import Usage = OpenAI.CreateEmbeddingResponse.Usage; + +type Usage = OpenAI.CreateEmbeddingResponse.Usage; const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY,