You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Interface for text based search queries with type-safe LINQ filtering for use with Semantic Kernel prompts and automatic function calling.
11
+
/// This generic interface supports LINQ-based filtering through <see cref="TextSearchOptions{TRecord}"/> for type-safe queries.
11
12
/// </summary>
12
13
/// <typeparam name="TRecord">The type of record being searched.</typeparam>
13
14
[Experimental("SKEXP0001")]
@@ -19,10 +20,6 @@ public interface ITextSearch<TRecord>
19
20
/// <param name="query">What to search for.</param>
20
21
/// <param name="searchOptions">Options used when executing a text search.</param>
21
22
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
22
-
/// <remarks>
23
-
/// Dynamic code generation is only required when using AnyTagEqualTo filter operations that generate LINQ Contains expressions.
/// <param name="query">What to search for.</param>
35
32
/// <param name="searchOptions">Options used when executing a text search.</param>
36
33
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
37
-
/// <remarks>
38
-
/// Dynamic code generation is only required when using AnyTagEqualTo filter operations that generate LINQ Contains expressions.
/// <param name="query">What to search for.</param>
50
43
/// <param name="searchOptions">Options used when executing a text search.</param>
51
44
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to monitor for cancellation requests. The default is <see cref="CancellationToken.None"/>.</param>
52
-
/// <remarks>
53
-
/// Dynamic code generation is only required when using AnyTagEqualTo filter operations that generate LINQ Contains expressions.
[UnconditionalSuppressMessage("AOT","IL3050:Calling members annotated with 'RequiresDynamicCodeAttribute' may break functionality when AOT compiling.",Justification="Test application intentionally tests dynamic code paths. VectorStoreTextSearch LINQ filtering requires reflection for dynamic expression building from runtime filter specifications.")]
@@ -104,7 +104,7 @@ public static class TextSearchServiceCollectionExtensions
104
104
/// <param name="options">Options used to construct an instance of <see cref="VectorStoreTextSearch{TRecord}"/></param>
105
105
/// <param name="serviceId">An optional service id to use as the service key.</param>
106
106
[Obsolete("Use the overload which doesn't accept a textEmbeddingGenerationServiceId, and configure an IEmbeddingGenerator instead with the collection represented by vectorSearchServiceId.")]
0 commit comments