Skip to content

Commit 7ef3600

Browse files
author
Milder Hernandez Cagua
committed
Update docs
1 parent 5b54ec9 commit 7ef3600

2 files changed

Lines changed: 21 additions & 6 deletions

File tree

semantickernel-experimental/src/main/java/com/microsoft/semantickernel/connectors/data/jdbc/SQLVectorStoreQueryProvider.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,17 @@ void deleteRecords(String collectionName, List<String> keys,
131131
VectorStoreRecordDefinition recordDefinition, DeleteRecordOptions options);
132132

133133
/**
134+
* Vector search.
135+
* Executes a vector search query and returns the results.
136+
* The results are mapped to the specified record type using the provided mapper.
137+
* The query is executed against the specified collection.
134138
*
135-
*
136-
* @param query
139+
* @param <Record> the record type
140+
* @param collectionName the collection name
141+
* @param query the vectorized search query, containing the vector and search options
142+
* @param recordDefinition the record definition
143+
* @param mapper the mapper, responsible for mapping the result set to the record type.
144+
* @return the search results
137145
*/
138146
<Record> List<VectorSearchResult<Record>> search(String collectionName,
139147
VectorSearchQuery query,

semantickernel-experimental/src/main/java/com/microsoft/semantickernel/connectors/data/postgres/PostgreSQLVectorStoreQueryProvider.java

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,17 @@ public void upsertRecords(String collectionName, List<?> records,
321321
}
322322

323323
/**
324-
* @param collectionName
325-
* @param query
326-
* @param recordDefinition
327-
* @param mapper
324+
* Vector search.
325+
* Executes a vector search query and returns the results.
326+
* The results are mapped to the specified record type using the provided mapper.
327+
* The query is executed against the specified collection.
328+
*
329+
* @param <Record> the record type
330+
* @param collectionName the collection name
331+
* @param query the vectorized search query, containing the vector and search options
332+
* @param recordDefinition the record definition
333+
* @param mapper the mapper, responsible for mapping the result set to the record type.
334+
* @return the search results
328335
*/
329336
@Override
330337
public <Record> List<VectorSearchResult<Record>> search(String collectionName,

0 commit comments

Comments
 (0)