File size: 2,761 Bytes
a323dd9
 
 
 
 
53437c8
 
a323dd9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b207b4c
 
 
a414829
 
 
 
 
 
b207b4c
 
a70d6a8
 
2633ee9
096a26c
1f626ee
 
32d5d0c
 
177344c
36c3c0f
a323dd9
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# mkdocs.yml
site_name: Guardrails Genie

theme:
  name: material
  logo: assets/wandb_logo.svg
  favicon: assets/wandb_logo.svg
  palette: 
    # Palette toggle for light mode
    - scheme: default
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    # Palette toggle for dark mode
    - scheme: slate
      toggle:
        icon: material/brightness-4
        name: Switch to light mode
  features:
    - content.code.annotate
    - content.code.copy
    - content.code.select
    - content.tabs.link
    - content.tooltips
    - navigation.tracking

plugins:
  - mkdocstrings
  - search
  - minify
  - glightbox
  - mkdocs-jupyter:
      include_source: True


markdown_extensions:
  - attr_list
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg
  - pymdownx.arithmatex:
      generic: true
  - pymdownx.highlight:
      anchor_linenums: true
      line_spans: __span
      pygments_lang_class: true
  - pymdownx.tabbed:
      alternate_style: true
  - pymdownx.details
  - pymdownx.inlinehilite
  - pymdownx.snippets
  - pymdownx.superfences
  - admonition
  - attr_list
  - md_in_html

extra_javascript:
  - javascripts/mathjax.js
  - https://polyfill.io/v3/polyfill.min.js?features=es6
  - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js

nav:
  - Home: 'index.md'
  - Guardrails:
    - Guardrail Base Class: 'guardrails/base.md'
    - Guardrail Manager: 'guardrails/manager.md'
    - Entity Recognition Guardrails:
      - About: 'guardrails/entity_recognition/entity_recognition_guardrails.md'
      - Regex Entity Recognition Guardrail: 'guardrails/entity_recognition/regex_entity_recognition_guardrail.md'
      - Presidio Entity Recognition Guardrail: 'guardrails/entity_recognition/presidio_entity_recognition_guardrail.md'
      - Transformers Entity Recognition Guardrail: 'guardrails/entity_recognition/transformers_entity_recognition_guardrail.md'
      - LLM Judge for Entity Recognition Guardrail: 'guardrails/entity_recognition/llm_judge_entity_recognition_guardrail.md'
    - Prompt Injection Guardrails:
      - Classifier Guardrail: 'guardrails/prompt_injection/classifier.md'
      - Llama Prompt Guardrail: 'guardrails/prompt_injection/llama_prompt_guardrail.md'
      - LLM Survey Guardrail: 'guardrails/prompt_injection/llm_survey.md'
    - Secrets Detection Guardrail: "guardrails/secrets_detection.md"
  - LLM: 'llm.md'
  - Metrics: 'metrics.md'
  - RegexModel: 'regex_model.md'
  - Training:
    - Train Classifier: 'train/train_classifier.md'
    - Train Llama Guard: 'train/train_llama_guard.md'
  - Utils: 'utils.md'

repo_url: https://github.com/soumik12345/guardrails-genie