forked from guardrails-ai/guardrails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
131 lines (118 loc) · 3.75 KB
/
mkdocs.yml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
site_name: Guardrails.ai
site_url: https://getguardrails.com
site_author: Shreya Rajpal
repo_url: https://github.com/ShreyaR/guardrails
repo_name: ShreyaR/guardrails
remote_branch: gh-pages
remote_name: origin
copyright: |
Maintained by <a href="https://github.com/shreyar">Shreya Rajpal</a>.
nav:
- 'Home': index.md
- 'Getting Started': getting_started.ipynb
- 'RAIL Specification':
- 'Overview': rail/index.md
- 'Output Element': rail/output.md
- 'Prompt Element': rail/prompt.md
- '(Experimental) Script Element': rail/script.md
- 'Guardrails Reference':
- 'Guard': guard.md
- 'Data Types': data_types.md
- 'Validators': validation.md
# - 'LLM API Wrappers': llm_api_wrappers.md
- 'Inspecting logs': logs.md
- 'Examples':
- 'Extracting entities from ToS': examples/extracting_entities.ipynb
- 'Generating bug-free Python code': examples/bug_free_python_code.ipynb
- 'No secrets in generated text': examples/no_secrets_in_generated_text.ipynb
- 'Natural language to bug-free SQL': examples/syntax_error_free_sql.ipynb
- 'Vegan Mac & Cheese Recipe Generator': examples/recipe_generation.ipynb
- 'Using GPT to play valid chess moves': examples/valid_chess_moves.ipynb
# - 'Natural language to pandas code': examples/nl_to_pandas.md
# - 'Building EHRs from doctors notes': examples/ehr_from_doctors_notes.md
# - 'Forcing positive sentiment in chatbots': examples/positive_sentiment.md
# - 'AI tutor for writing improvements': examples/ai_tutor.md
# - 'SFW tutoring system for kids': examples/sfw_tutoring.md
theme:
name: material
favicon: img/favicon.ico
logo: img/tracks_white.png
custom_dir: docs/overrides
icon:
repo: fontawesome/brands/github
admonition:
note: octicons/tag-16
abstract: octicons/checklist-16
info: octicons/info-16
tip: octicons/squirrel-16
success: octicons/check-16
question: octicons/question-16
warning: octicons/alert-16
failure: octicons/x-circle-16
danger: octicons/zap-16
bug: octicons/bug-16
example: octicons/beaker-16
quote: octicons/quote-16
features:
- navigation.expand
- navigation.sections
- content.code.annotate
- toc.follow
palette:
- scheme: default
primary: black
toggle:
icon: material/toggle-switch
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
primary: black
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light mode
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- admonition
- pymdownx.details
- tables
- def_list
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
plugins:
- search
- mkdocstrings:
default_handler: python
handlers:
python:
options:
show_source: false
show_bases: false
show_if_no_docstring: true
merge_init_into_class: true
show_root_toc_entry: false
show_inheritance: true
show_private: false
show_special_members: false
- mknotebooks:
execute: false
timeout: 100
allow_errors: false
# - mkdocs-jupyter:
# execute_notebooks: true
# kernel_name: python3
# extra_arguments:
# - "--InlineBackend.figure_format=svg"
# include_source: True