Skip to content

Commit

Permalink
add optional dependencies for example to run
Browse files Browse the repository at this point in the history
  • Loading branch information
uma-victor1 committed Feb 17, 2025
1 parent be00e62 commit 677e732
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/secure-ai-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Demonstrates:

### Prompt Filtering

The first perimeter to secure our financial advisor agent focuses on checking user permissions for recieving AI advice before they reach the AI model. This ensures that users can only make requests within their permission scope. By implementing this perimeter, we can check if users opt-in for AI finance advice.
The first perimeter to secure our financial advisor agent focuses on checking user permissions for receiving AI advice before they reach the AI model. This ensures that users can only make requests within their permission scope. By implementing this perimeter, we can check if users opt-in for AI finance advice.

In our financial advisor example, this perimeter:

Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ Documentation = "https://ai.pydantic.dev"
Changelog = "https://github.com/pydantic/pydantic-ai/releases"

[project.optional-dependencies]
examples = ["pydantic-ai-examples==0.0.24"]
examples = [
"pydantic-ai-examples==0.0.24",
"python-dotenv==1.0.1",
"permit==2.7.2"
]
logfire = ["logfire>=2.3"]

[tool.uv.sources]
Expand Down

0 comments on commit 677e732

Please sign in to comment.