Skip to content

Commit

Permalink
We can't consider these results to be deterministic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Park committed Jul 27, 2023
1 parent 51c3e46 commit fc9c917
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sdk/ai/azopenai/client_embeddings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,8 @@ func testGetEmbeddings(t *testing.T, client *azopenai.Client, modelOrDeploymentI
t.Errorf("Client.GetEmbeddings() error = %v, wantErr %v", err, tt.wantErr)
return
}
if len(got.Embeddings.Data[0].Embedding) != 4096 {
t.Errorf("Client.GetEmbeddings() len(Data) want 4096, got %d", len(got.Embeddings.Data))
return
}

require.NotEmpty(t, got.Embeddings.Data[0].Embedding)
})
}
}

0 comments on commit fc9c917

Please sign in to comment.