twosom commented on code in PR #397:
URL: https://github.com/apache/flink-agents/pull/397#discussion_r2672634906


##########
docs/content/docs/development/vector_stores.md:
##########
@@ -67,26 +83,64 @@ query = VectorStoreQuery(
 )
 ```
 
-### Query Results
+{{< /tab >}}
 
-When you execute a query, you receive a `VectorStoreQueryResult` object that 
contains the search results:
+{{< tab "Java" >}}
 
-```python
-# Execute the query
-result = vector_store.query(query)
+```java
+// Create a semantic search query
+VectorStoreQuery query = new VectorStoreQuery(
+        VectorStoreQueryMode.SEMANTIC,
+        "What is Apache Flink Agents?",
+        3
+);

Review Comment:
   @xintongsong 
   
   Thank you for the review!
   
   I apologize - I realize now that this constructor doesn't actually exist in 
the current implementation. I will add it to support this cleaner API.
   
   I'll also apply your suggested inline comments.
   
   Will update shortly.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to