PurviewExtensions 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.
Extension methods to add Purview capabilities to an AIAgent.
public static class PurviewExtensions
type PurviewExtensions = class
Public Module PurviewExtensions
- Inheritance
-
PurviewExtensions
Methods
| Name | Description |
|---|---|
| PurviewAgentMiddleware(TokenCredential, PurviewSettings, ILogger, IDistributedCache) |
Creates a Purview middleware function for use with an AIAgent. |
| PurviewChatMiddleware(TokenCredential, PurviewSettings, ILogger, IDistributedCache) |
Creates a Purview middleware function for use with a IChatClient. |
| SetUserId(ChatMessage, Guid) |
Sets the user id for a message. |
| WithPurview(AIAgentBuilder, TokenCredential, PurviewSettings, ILogger, IDistributedCache) |
Adds Purview capabilities to an AIAgentBuilder. |
| WithPurview(ChatClientBuilder, TokenCredential, PurviewSettings, ILogger, IDistributedCache) |
Adds Purview capabilities to a ChatClientBuilder. |