TextSearchProviderOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options controlling the behavior of TextSearchProvider.
public sealed class TextSearchProviderOptions
type TextSearchProviderOptions = class
Public NotInheritable Class TextSearchProviderOptions
- Inheritance
-
TextSearchProviderOptions
Constructors
| Name | Description |
|---|---|
| TextSearchProviderOptions() | |
Properties
| Name | Description |
|---|---|
| CitationsPrompt |
Gets or sets the instruction appended after results to request citations. |
| ContextFormatter |
Optional delegate to fully customize formatting of the result list. |
| ContextPrompt |
Gets or sets the context prompt prefixed to results. |
| EnableSensitiveTelemetryData |
Gets or sets a value indicating whether sensitive data such as user queries and search results may appear in logs. |
| FunctionToolDescription |
Gets or sets the description of the exposed search tool when operating in on-demand mode. |
| FunctionToolName |
Gets or sets the name of the exposed search tool when operating in on-demand mode. |
| RecentMessageMemoryLimit |
Gets or sets the number of recent conversation messages (both user and assistant) to keep in memory and include when constructing the search input for BeforeAIInvoke searches. |
| RecentMessageRolesIncluded |
Gets or sets the list of ChatRole types to filter recent messages to when deciding which recent messages to include when constructing the search input. |
| Redactor |
Gets or sets a custom Redactor used to redact sensitive data in log output. |
| SearchInputMessageFilter |
Gets or sets an optional filter function applied to request messages when constructing the search input text during InvokingAsync(AIContextProvider+InvokingContext, CancellationToken). |
| SearchTime |
Gets or sets a value indicating when the search should be executed. |
| StateKey |
Gets or sets the key used to store provider state in the StateBag. |
| StorageInputRequestMessageFilter |
Gets or sets an optional filter function applied to request messages when updating the recent message memory during InvokedAsync(AIContextProvider+InvokedContext, CancellationToken). |
| StorageInputResponseMessageFilter |
Gets or sets an optional filter function applied to response messages when updating the recent message memory during InvokedAsync(AIContextProvider+InvokedContext, CancellationToken). |