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


##########
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 
   That makes sense! I'll update the documentation to use the constructor 
without the mode argument, keeping it consistent with the Python 
implementation. Will also comment out the unsupported modes in the Java enum.



-- 
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