File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ const mapWeaviateObject = (
343343
344344 return {
345345 properties : object . properties ,
346- metadata : metadata ,
346+ metadata,
347347 references : undefined ,
348348 uuid : object . uuid ,
349349 vectors : object . vector ,
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ export type SearchExecutionOptions = {
276276 /** The maximum number of results to return. */
277277 limit ?: number ;
278278 /** The offset of the results to return, for paginating through query result sets. */
279- offset ? : number ;
279+ offset : number ;
280280} ;
281281
282282export type SearchModeResponse = {
Original file line number Diff line number Diff line change @@ -98,13 +98,13 @@ export class QueryAgentSearcher {
9898 *
9999 * @param [options] - Options for executing the search
100100 * @param [options.limit] - The maximum number of results to return. Defaults to 20 if not specified.
101- * @param [options.offset] - The offset to start from. If not specified, retrieval begins from the first object.
101+ * @param [options.offset] - The offset to start from.
102102 * @returns A SearchModeResponse object containing the results, usage, and underlying searches performed.
103103 */
104104 async run ( {
105105 limit = 20 ,
106- offset = 0 ,
107- } : SearchExecutionOptions = { } ) : Promise < SearchModeResponse > {
106+ offset,
107+ } : SearchExecutionOptions ) : Promise < SearchModeResponse > {
108108 if ( ! this . collections || this . collections . length === 0 ) {
109109 throw Error ( "No collections provided to the query agent." ) ;
110110 }
You can’t perform that action at this time.
0 commit comments