Change EmbeddingOptions from class into interface

This commit is contained in:
Christian Tzolov
2024-01-28 19:10:08 +01:00
parent da12b56dc7
commit 7c7392e657
4 changed files with 8 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ public class PostgresMlEmbeddingClient extends AbstractEmbeddingClient implement
@Override
public EmbeddingResponse embedForResponse(List<String> texts) {
return this.call(new EmbeddingRequest(texts, new EmbeddingOptions()));
return this.call(new EmbeddingRequest(texts, EmbeddingOptions.EMPTY));
}
@Override