Skip to content

Commit a4eb7b9

Browse files
committed
command options
1 parent 33485bf commit a4eb7b9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/src/main/java/com/datastax/astra/genai/QuickStartOpenAI.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,7 @@ public static void main(String[] args) {
7575

7676
// Find the document
7777
Optional<Document> doc = collection.findOne(new FindOneOptions()
78-
.sort("You shouldn't come around here singing up at people like tha")
79-
.projection(Projections.exclude(DataAPIKeywords.VECTOR.getKeyword()))
80-
.embeddingAPIKey(embeddingApiKey)
81-
.includeSimilarity());
78+
.sort("You shouldn't come around here singing up at people like tha"));
8279

8380
log.info("A document has found been : " + doc);
8481

0 commit comments

Comments
 (0)