Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions python/packages/purview/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Integration with Microsoft Purview for data governance and policy enforcement.

### Configuration

- **`PurviewSettings`** - Pydantic settings for Purview configuration
- **`PurviewSettings`** - TypedDict settings for Purview configuration
- **`PurviewAppLocation`** / **`PurviewLocationType`** - Location configuration

### Caching
Expand All @@ -29,9 +29,10 @@ Integration with Microsoft Purview for data governance and policy enforcement.

```python
from agent_framework.microsoft import PurviewPolicyMiddleware, PurviewSettings
from azure.identity import DefaultAzureCredential

settings = PurviewSettings(...)
middleware = PurviewPolicyMiddleware(settings=settings)
middleware = PurviewPolicyMiddleware(credential=DefaultAzureCredential(), settings=settings)
agent = Agent(..., middleware=[middleware])
```

Expand Down
Loading