fix: NPE in .OpenAiLLmUtil.promptToEmbeddingsPayload

This commit is contained in:
Michael Yang 2024-07-23 12:17:10 +08:00
parent 04853a3ad5
commit 15a1f019b6

View File

@ -58,7 +58,7 @@ public class StoreOptions extends Metadata {
/**
* store embedding options
*/
private EmbeddingOptions embeddingOptions;
private EmbeddingOptions embeddingOptions = EmbeddingOptions.DEFAULT;
public String getCollectionName() {