@@ -342,6 +342,7 @@ public interface ITypesenseClient
342342 /// Using lower amount will lower timeout risk, but increase number of requests made.
343343 /// If not specified, typesense server will default to 200.
344344 /// </param>
345+ /// <param name="returnId">Eanble to return the id fo the document in the response.</param>
345346 /// <returns>A collection of import responses.</returns>
346347 /// <exception cref="ArgumentNullException"></exception>
347348 /// <exception cref="ArgumentException"></exception>
@@ -356,7 +357,8 @@ Task<List<ImportResponse>> ImportDocuments(
356357 string documents ,
357358 int batchSize = 40 ,
358359 ImportType importType = ImportType . Create ,
359- int ? remoteEmbeddingBatchSize = null ) ;
360+ int ? remoteEmbeddingBatchSize = null ,
361+ bool ? returnId = null ) ;
360362
361363 /// <summary>
362364 /// Batch import documents.
@@ -370,6 +372,7 @@ Task<List<ImportResponse>> ImportDocuments(
370372 /// Using lower amount will lower timeout risk, but increase number of requests made.
371373 /// If not specified, typesense server will default to 200.
372374 /// </param>
375+ /// <param name="returnId">Eanble to return the id fo the document in the response.</param>
373376 /// <returns>A collection of import responses.</returns>
374377 /// <exception cref="ArgumentNullException"></exception>
375378 /// <exception cref="ArgumentException"></exception>
@@ -384,7 +387,8 @@ Task<List<ImportResponse>> ImportDocuments(
384387 IEnumerable < string > documents ,
385388 int batchSize = 40 ,
386389 ImportType importType = ImportType . Create ,
387- int ? remoteEmbeddingBatchSize = null ) ;
390+ int ? remoteEmbeddingBatchSize = null ,
391+ bool ? returnId = null ) ;
388392
389393 /// <summary>
390394 /// Batch import documents.
@@ -398,6 +402,7 @@ Task<List<ImportResponse>> ImportDocuments(
398402 /// Using lower amount will lower timeout risk, but increase number of requests made.
399403 /// If not specified, typesense server will default to 200.
400404 /// </param>
405+ /// <param name="returnId">Eanble to return the id fo the document in the response.</param>
401406 /// <returns>A collection of import responses.</returns>
402407 /// <exception cref="ArgumentNullException"></exception>
403408 /// <exception cref="ArgumentException"></exception>
@@ -412,7 +417,8 @@ Task<List<ImportResponse>> ImportDocuments<T>(
412417 IEnumerable < T > documents ,
413418 int batchSize = 40 ,
414419 ImportType importType = ImportType . Create ,
415- int ? remoteEmbeddingBatchSize = null ) ;
420+ int ? remoteEmbeddingBatchSize = null ,
421+ bool ? returnId = null ) ;
416422
417423 /// <summary>
418424 /// Export all documents in a given collection.
0 commit comments