We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33485bf commit a4eb7b9Copy full SHA for a4eb7b9
examples/src/main/java/com/datastax/astra/genai/QuickStartOpenAI.java
@@ -75,10 +75,7 @@ public static void main(String[] args) {
75
76
// Find the document
77
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());
+ .sort("You shouldn't come around here singing up at people like tha"));
82
83
log.info("A document has found been : " + doc);
84
0 commit comments