Skip to content

Commit ccc6e83

Browse files
committed
fix(tests): update embeddings model
1 parent 5a139bc commit ccc6e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openai-client/src/commonTest/kotlin/com/aallam/openai/client/TestEmbeddings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TestEmbeddings : TestOpenAI() {
1414
@Test
1515
fun embeddings() = test {
1616
val response = openAI.embeddings(request = embeddingRequest {
17-
model = ModelId("text-similarity-babbage-001")
17+
model = ModelId("text-embedding-ada-002")
1818
input = listOf("The food was delicious and the waiter...")
1919
})
2020
assertTrue { response.embeddings.isNotEmpty() }

0 commit comments

Comments
 (0)