Skip to content

Commit

Permalink
fix(tests): update embeddings model
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Jan 13, 2024
1 parent 5a139bc commit ccc6e83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TestEmbeddings : TestOpenAI() {
@Test
fun embeddings() = test {
val response = openAI.embeddings(request = embeddingRequest {
model = ModelId("text-similarity-babbage-001")
model = ModelId("text-embedding-ada-002")
input = listOf("The food was delicious and the waiter...")
})
assertTrue { response.embeddings.isNotEmpty() }
Expand Down

0 comments on commit ccc6e83

Please sign in to comment.