litellm/docs/my-website
Cole McIntosh 702e399d94
Add presidio_language yaml configuration support for guardrails (#11331)
* feat: Add presidio_language parameter for PII analysis configuration via yaml config files

- Introduced presidio_language parameter in guardrail_initializers and guardrail_hooks to allow language specification for Presidio PII analysis via yaml config files
- Updated PresidioPresidioConfigModelUserInterface to include presidio_language with a default value of "en".
- Added tests to verify language configuration functionality, ensuring correct language usage in analyze requests.

* docs: Enhance PII masking documentation with language support details

- Added information on configuring the default language for PII analysis using the `presidio_language` parameter in both the UI and YAML configuration.
- Included supported language codes (English, Spanish, German) and their precedence in language settings.
- Provided examples for default language configuration and per-request language overrides to clarify usage.
2025-06-02 13:13:17 -07:00
..
docs Add presidio_language yaml configuration support for guardrails (#11331) 2025-06-02 13:13:17 -07:00
img docs(entity_usage.tsx): fix bad link 2025-05-29 11:00:18 -07:00
release_notes docs: add release candidate notice 2025-06-01 22:39:57 -07:00
src Add new model provider Novita AI (#7582) (#9527) 2025-05-12 21:49:30 -07:00
static Add new documentation files for LiteLLM (#10961) 2025-05-19 15:17:44 -07:00
.gitignore Update contributing-to-documentation documentation to include pnpm guide (#10523) 2025-05-03 10:22:50 -07:00
babel.config.js updating docs 2023-08-12 11:30:32 -07:00
Dockerfile fix docs warning (#7419) 2024-12-25 16:42:14 -08:00
docusaurus.config.js docs(index.md): add release note for anthropic update 2025-03-05 23:50:26 -08:00
index.md fix keys 2023-08-17 16:13:52 -07:00
package-lock.json build(deps): bump undici from 6.21.1 to 6.21.3 in /docs/my-website (#10855) 2025-05-15 08:33:12 -07:00
package.json Revert "build(deps): bump axios, @docusaurus/core, @docusaurus/plugin-google-…" (#10421) 2025-04-29 17:33:47 -07:00
README.md updating docs 2023-08-12 11:30:32 -07:00
sidebars.js Litellm doc fixes 05 31 2025 (#11305) 2025-06-01 00:53:56 -07:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.