Skip to content

Commit

Permalink
Add new embedding model ID
Browse files Browse the repository at this point in the history
  • Loading branch information
rileytomasek committed Dec 16, 2022
1 parent 61a192b commit 1a0fc96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/schemas/embedding.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { z } from 'zod';

const EmbeddingModel = z.union([
z.literal('text-embedding-ada-002'),
z.literal('text-similarity-ada-001'),
z.literal('text-similarity-babbage-001'),
z.literal('text-similarity-curie-001'),
Expand Down

0 comments on commit 1a0fc96

Please sign in to comment.