You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.initializeSchema(true) // Set to true to initialize the required schema
243
-
.build();
244
238
}
245
239
246
240
// This can be any EmbeddingModel implementation.
247
241
@Bean
248
242
public EmbeddingModel embeddingModel() {
249
-
return new OpenAiEmbeddingModel(new OpenAiApi(System.getenv("OPENAI_API_KEY")));
243
+
return new OpenAiEmbeddingModel(OpenAiApi.builder().apiKey(this.openaiKey).build());
250
244
}
251
245
----
252
246
253
247
== Limitations
254
248
255
-
NOTE: It is mandatory to have the following Couchbase services activated: Data, Query, Index, Search. While Data and Seach could be enough, Query and Index are necessary to support the complete metadata filtering mechanism.
249
+
NOTE: It is mandatory to have the following Couchbase services activated: Data, Query, Index, Search. While Data and Search could be enough, Query and Index are necessary to support the complete metadata filtering mechanism.
0 commit comments