Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranMn committed Dec 16, 2024
1 parent 67fb80a commit 2968758
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/hash-ai-worker-ts/src/activities/shared/embeddings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2968758

Please sign in to comment.