-
Notifications
You must be signed in to change notification settings - Fork 198
/
Copy pathmkdocs.yml
314 lines (296 loc) Β· 12.2 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
site_name: π¦ TruLens
site_description: Evaluate and track LLM applications. Explain Deep Neural Nets.
repo_name: truera/trulens
repo_url: https://github.com/truera/trulens
markdown_extensions:
# Note: disabled most extensions are they were interfering with each other and
# rendering things poorly.
# https://squidfunk.github.io/mkdocs-material/reference/mathjax/
#- pymdownx.arithmatex:
# generic: true
- admonition
#- codehilite:
# guess_lang: true
#- footnotes
- toc:
permalink: true
#- pymdownx.arithmatex
#- pymdownx.betterem:
# smart_enable: all
#- pymdownx.caret
#- pymdownx.critic
# - pymdownx.details
# - pymdownx.extra
# - pymdownx.inlinehilite
- pymdownx.magiclink
# - pymdownx.mark
# - pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.details
# - pymdownx.tasklist:
# custom_checkbox: true
#- pymdownx.tilde
#- mdx_math:
# enable_dollar_delimiter: True #for use of inline $..$
- markdown_include.include:
base_path: docs
- attr_list
watch:
- src
plugins:
- blog
- include-markdown:
preserve_includer_indent: false
dedent: false
trailing_newlines: true
comments: true
rewrite_relative_urls: true
heading_offset: 0
- search
- gen-files:
scripts:
- docs/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md
- mkdocs-jupyter:
include: ["*.ipynb"]
- mkdocstrings:
# See https://mkdocstrings.github.io/python/usage/configuration/docstrings/ .
default_handler: python
handlers:
python:
import:
# These allow for links to types defined by various packages.
- https://docs.python.org/3/objects.inv
- https://docs.scipy.org/doc/numpy/objects.inv
- https://api.python.langchain.com/en/latest/objects.inv
- http://pandas.pydata.org/pandas-docs/stable/objects.inv
- https://docs.pydantic.dev/latest/objects.inv
- https://typing-extensions.readthedocs.io/en/latest/objects.inv
- https://docs.llamaindex.ai/en/stable/objects.inv
- https://docs.sqlalchemy.org/en/20/objects.inv
paths:
- src/core
- src/feedback
- src/dashboard
- src/benchmark
- src/apps/langchain
- src/apps/llamaindex
- src/apps/nemo
- src/providers/bedrock
- src/providers/cortex
- src/providers/huggingface
- src/providers/langchain
- src/providers/litellm
- src/providers/openai
- src/connectors/snowflake
- src/trulens_eval # to remove after deprecation
- examples/
options:
heading_level: 2
annotations_path: brief
extensions:
- pydantic: { schema: true }
inherited_members: true
show_signature: true
show_signature_annotations: true
signature_crossrefs: true
separate_signature: true
line_length: 60
docstring_style: google
docstring_section_style: spacy
show_symbol_type_heading: true
show_symbol_type_toc: true
show_attributes: true
show_category_heading: true
show_submodules: false
group_by_category: true
show_source: false
show_root_heading: true
show_if_no_docstring: false
members_order: source
allow_inspection: true
# load_external_modules: true
#preload_modules:
#- __future__
#- builtins
#- datetime
#- pandas
# - numpy # some error occurs
#- pydantic
#- llama_index
#- typing
#- typing_extensions
# members:
# filters:
# - "!^_" # exclude all members starting with _
# - "!^tru_class_info" # don't show tru_class_info
# - "^__init__$" # but always include __init__ modules and methods
# - "^__call__$" # and __call__ methods
#selection:
- redirects:
redirect_maps:
# These were distributed in the past but moved since then. Our own links
# in the docs are updated but we keep these here for any distributed
# links out there.
# NOTE: Even though both the source and target in these maps refer to
# ".md", the get interpreted (or maybe generated as) urls without ".md".
# hack: old .ipynb files are set has .md because .ipynb not supported for old link
trulens/install.md: getting_started/install.md
trulens/core_concepts_feedback_functions.md: getting_started/core_concepts/feedback_functions.md
trulens/core_concepts_rag_triad.md: getting_started/core_concepts/rag_triad.md
trulens/core_concepts_honest_harmless_helpful_evals.md: getting_started/core_concepts/honest_harmless_helpful_evals.md
trulens/quickstart.md: getting_started/quickstarts/quickstart.ipynb
trulens/langchain_quickstart.md: getting_started/quickstarts/langchain_quickstart.ipynb
trulens/llama_index_quickstart.md: getting_started/quickstarts/llama_index_quickstart.ipynb
trulens/text2text_quickstart.md: getting_started/quickstarts/text2text_quickstart.ipynb
trulens/groundtruth_evals.md: getting_started/quickstarts/groundtruth_evals.ipynb
trulens/human_feedback.md: getting_started/quickstarts/human_feedback.ipynb
trulens/release_blog_1dot.md: blog/posts/release_blog_1dot.md
theme:
name: material
icon:
repo: fontawesome/brands/github
custom_dir: docs/overrides/
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: trulens-light
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
#font:
# text: Source Sans Pro
favicon: img/favicon.ico
logo: img/squid.png
features:
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/
# - navigation.instant
# - navigation.instant.progress
- navigation.indexes
- navigation.top
- navigation.tabs
- navigation.sections
# - navigation.expand
- navigation.tracking
- navigation.path
- search.share
- search.suggest
- search.highlight
- toc.follow
# - toc.integrate
- content.code.copy
- content.tabs
nav:
- π Home: index.md
- π Getting Started:
- getting_started/index.md
- π Quickstarts:
# - getting_started/quickstarts/index.md
# Title labels of these notebooks come from within the notebooks
# themselves and will be overridden if specified here.
- getting_started/quickstarts/quickstart.ipynb
- getting_started/quickstarts/add_dataframe_quickstart.ipynb
- getting_started/quickstarts/existing_data_quickstart.ipynb
- getting_started/quickstarts/langchain_quickstart.ipynb
- getting_started/quickstarts/llama_index_quickstart.ipynb
- getting_started/quickstarts/text2text_quickstart.ipynb
- getting_started/quickstarts/groundtruth_evals.ipynb
- getting_started/quickstarts/human_feedback.ipynb
- getting_started/quickstarts/groundtruth_evals_for_retrieval_systems.ipynb
- getting_started/quickstarts/groundtruth_dataset_persistence.ipynb
- getting_started/quickstarts/custom_stream.ipynb
- β Core Concepts:
- getting_started/core_concepts/index.md
- β Feedback Functions: getting_started/core_concepts/feedback_functions.md
- β RAG Triad: getting_started/core_concepts/rag_triad.md
- π Honest, Harmless, Helpful Evals: getting_started/core_concepts/honest_harmless_helpful_evals.md
- πViewing Results:
- getting_started/dashboard/index.md
- πΊοΈ Component Guides:
- Instrumentation:
- component_guides/instrumentation/index.md
# Titles set inside notebooks and will be overridden if provider here.
- component_guides/instrumentation/langchain.md
- component_guides/instrumentation/llama_index.md
- component_guides/instrumentation/nemo.md
- Logging:
- component_guides/logging/where_to_log/index.md
- βοΈ Logging in Snowflake: component_guides/logging/where_to_log/log_in_snowflake.md
- Logging Methods: component_guides/logging/logging.ipynb
- π― Evaluation:
- component_guides/evaluation/index.md
- Anatomy of a Feedback Function: component_guides/evaluation/feedback_anatomy.md
- Feedback Implementations:
- component_guides/evaluation/feedback_implementations/index.md
- Stock Feedback Functions: component_guides/evaluation/feedback_implementations/stock.md
- component_guides/evaluation/feedback_implementations/custom_feedback_functions.ipynb
- Feedback Selectors:
- component_guides/evaluation/feedback_selectors/index.md
- Selecting Components: component_guides/evaluation/feedback_selectors/selecting_components.md
- Selector Shortcuts: component_guides/evaluation/feedback_selectors/selector_shortcuts.md
- Feedback Aggregation:
- component_guides/evaluation/feedback_aggregation.md
- Running Feedback Functions:
# PLACEHOLDER: - evaluation/running_feedback_functions/index.md
- Running with your app: component_guides/evaluation/running_feedback_functions/with_app.md
- Running on existing data: component_guides/evaluation/running_feedback_functions/existing_data.md
- Generating Test Cases:
- component_guides/evaluation/generate_test_cases.md
- π Evaluation Benchmarks:
- component_guides/evaluation_benchmarks/index.md
- Answer Relevance Benchmark (small): component_guides/evaluation_benchmarks/answer_relevance_benchmark_small.ipynb
- Comprehensiveness Benchmark: component_guides/evaluation_benchmarks/comprehensiveness_benchmark.ipynb
- Context Relevance Benchmark (small): component_guides/evaluation_benchmarks/context_relevance_benchmark_small.ipynb
- Context Relevance Benchmark (large): component_guides/evaluation_benchmarks/context_relevance_benchmark.ipynb
- Groundedness Benchmark: component_guides/evaluation_benchmarks/groundedness_benchmark.ipynb
- π‘οΈ Guardrails:
- component_guides/guardrails/index.md
- Other:
- Moving from TruLens Eval: component_guides/other/trulens_eval_migration.md
- Uninstalling TruLens: component_guides/other/uninstalling.md
- π API Reference: reference/
- π§βπ³ Cookbook: cookbook/
- π€ Contributing:
- contributing/index.md
- π§ Design: contributing/design.md
- π¦ Release Policies: contributing/policies.md
- β
Standards: contributing/standards.md
- π£ Tech Debt: contributing/techdebt.md
- β
Optional Packages: contributing/optional.md
- β¨ Database Migration: contributing/migration.md
- π Release History: contributing/release_history.md
- βοΈ Blog:
- blog/index.md
# - Resources:
# - NeurIPS Demo: https://truera.github.io/neurips-demo-2021/
extra:
analytics:
provider: google
property: G-VE9D0QFFKD
generator: false
extra_css:
- stylesheets/extra.css
# https://squidfunk.github.io/mkdocs-material/reference/mathjax/
# Polyfill provides backcompat for JS. We need to import it before
# importing MathJax.
extra_javascript:
- javascript/config.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- javascript/tex-mml-chtml-3.0.0.js
- https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML
- https://unpkg.com/[email protected]/dist/tablesort.min.js
- javascript/tablesort.js