diff --git a/src/main/java/io/github/stefanbratanov/jvm/openai/EmbeddingsRequest.java b/src/main/java/io/github/stefanbratanov/jvm/openai/EmbeddingsRequest.java index cd098fc..0db057a 100644 --- a/src/main/java/io/github/stefanbratanov/jvm/openai/EmbeddingsRequest.java +++ b/src/main/java/io/github/stefanbratanov/jvm/openai/EmbeddingsRequest.java @@ -82,7 +82,7 @@ public Builder user(String user) { } public EmbeddingsRequest build() { - return new EmbeddingsRequest(List.copyOf(input), model, encodingFormat, dimensions, user); + return new EmbeddingsRequest(input, model, encodingFormat, dimensions, user); } } }