-
Notifications
You must be signed in to change notification settings - Fork 746
/
mkdocs.yml
236 lines (229 loc) Β· 9.36 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
site_name: Ragas
repo_name: explodinggradients/ragas
repo_url: https://github.com/explodinggradients/ragas
watch:
- src
# Navigation
nav:
- "": index.md
- π Get Started:
- getstarted/index.md
- Installation: getstarted/install.md
- Evaluate Using Metrics: getstarted/rag_evaluation.md
- Generate Synthetic Testset for RAG: getstarted/rag_testset_generation.md
- π Core Concepts:
- concepts/index.md
- Components:
- concepts/components/index.md
- General:
- Prompt: concepts/components/prompt.md
- Evaluation:
- Evaluation Sample: concepts/components/eval_sample.md
- Evaluation Dataset: concepts/components/eval_dataset.md
- Metrics:
- concepts/metrics/index.md
- Overview: concepts/metrics/overview/index.md
- Available Metrics:
- concepts/metrics/available_metrics/index.md
- Retrieval Augmented Generation:
- Context Precision: concepts/metrics/available_metrics/context_precision.md
- Context Recall: concepts/metrics/available_metrics/context_recall.md
- Context Entities Recall: concepts/metrics/available_metrics/context_entities_recall.md
- Noise Sensitivity: concepts/metrics/available_metrics/noise_sensitivity.md
- Response Relevancy: concepts/metrics/available_metrics/answer_relevance.md
- Faithfulness: concepts/metrics/available_metrics/faithfulness.md
- Agents or Tool Use Cases:
- concepts/metrics/available_metrics/agents.md
- Topic Adherence: concepts/metrics/available_metrics/agents/#topic-adherence
- Tool Call Accuracy: concepts/metrics/available_metrics/agents/#tool-call-accuracy
- Agent Goal Accuracy: concepts/metrics/available_metrics/agents/#agent-goal-accuracy
- Natural Language Comparison:
- Factual Correctness: concepts/metrics/available_metrics/factual_correctness.md
- Semantic Similarity: concepts/metrics/available_metrics/semantic_similarity.md
- Traditional non LLM metrics:
- concepts/metrics/available_metrics/traditional.md
- Non LLM String Similarity: concepts/metrics/available_metrics/traditional/#non-llm-string-similarity
- BLEU Score: concepts/metrics/available_metrics/traditional/#bleu-score
- ROUGE Score: concepts/metrics/available_metrics/traditional/#rouge-score
- String Presence: concepts/metrics/available_metrics/traditional/#string-presence
- Exact Match: concepts/metrics/available_metrics/traditional/#exact-match
- SQL:
- concepts/metrics/available_metrics/sql.md
- Execution based Datacompy Score: concepts/metrics/available_metrics/sql/#execution-based-metrics
- SQL Query Equivalence: concepts/metrics/available_metrics/sql/#sql-query-semantic-equivalence
- General Purpose:
- concepts/metrics/available_metrics/general_purpose.md
- Aspect Critic: concepts/metrics/available_metrics/general_purpose/#aspect-critic
- Simple Criteria Scoring: concepts/metrics/available_metrics/general_purpose/#simple-criteria-scoring
- Rubrics Based Scoring: concepts/metrics/available_metrics/general_purpose/#rubrics-based-criteria-scoring
- Instance Specific Rubrics Scoring: concepts/metrics/available_metrics/general_purpose/#instance-specific-rubrics-criteria-scoring
- Other Tasks:
- Summarization: concepts/metrics/available_metrics/summarization_score.md
- Test Data Generation:
- concepts/test_data_generation/index.md
- RAG:
- concepts/test_data_generation/rag.md
- KG Building: concepts/test_data_generation/rag/#knowledge-graph-creation
- Scenario Generation: concepts/test_data_generation/rag/#scenario-generation
- Agents or tool use:
- concepts/test_data_generation/agents.md
- Feedback Intelligence:
- concepts/feedback/index.md
- π οΈ How-to Guides:
- howtos/index.md
- Customizations:
- howtos/customizations/index.md
- General:
- Customise models: howtos/customizations/customize_models.md
- Run Config: howtos/customizations/_run_config.md
- Metrics:
- Modify Prompts: howtos/customizations/metrics/_modifying-prompts-metrics.md
- Adapt Metrics to Languages: howtos/customizations/metrics/_metrics_language_adaptation.md
- Write your own Metrics: howtos/customizations/metrics/_write_your_own_metric.md
- Write your own Metrics - (advanced): howtos/customizations/metrics/_write_your_own_metric_advanced.md
- Testset Generation:
- howtos/customizations/testgenerator/index.md
- Persona Generation: howtos/customizations/testgenerator/_persona_generator.md
- Applications:
- howtos/applications/index.md
- Metrics:
- Cost Analysis: howtos/applications/_cost.md
- Debug LLM Based Metrics: howtos/applications/_metrics_llm_calls.md
- Integrations:
- howtos/integrations/index.md
- LlamaIndex: howtos/integrations/_llamaindex.md
- Arize: howtos/integrations/_arize.md
- LangGraph: howtos/integrations/_langgraph_agent_evaluation.md
- Migrations:
- From v0.1 to v0.2: howtos/migrations/migrate_from_v01_to_v02.md
- π References:
- Core:
- Prompt: references/prompt.md
- LLMs: references/llms.md
- Embeddings: references/embeddings.md
- RunConfig: references/run_config.md
- Executor: references/executor.md
- Evaluation:
- Schemas: references/evaluation_schema.md
- Metrics: references/metrics.md
- evaluate(): references/evaluate.md
- Testset Generation:
- Schemas: references/testset_schema.md
- Graph: references/graph.md
- Transforms: references/transforms.md
- Synthesizers: references/synthesizers.md
- Generation: references/generate.md
- Integrations: references/integrations.md
- β€οΈ Community: community/index.md
# https://www.mkdocs.org/user-guide/configuration/#validation
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
# Material-Docs Theme
theme:
name: material
logo: _static/imgs/ragas-logo.png
favicon: _static/favicon.ico
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: ragas_light
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: ragas_dark
toggle:
icon: material/brightness-4
name: Switch to system preference
features:
- content.tabs.link
- content.code.annotate
- content.code.copy
- announce.dismiss
- navigation.tabs
- navigation.path
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.preview
- navigation.sections
- navigation.top
- navigation.tracking
- navigation.indexes
- navigation.footer
- search.suggest
- search.highlight
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- admonition
- pymdownx.inlinehilite
- pymdownx.details
- pymdownx.tabbed:
alternate_style: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- attr_list
- md_in_html
- pymdownx.arithmatex:
generic: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.snippets:
base_path: ["./docs/extra/components/"]
# Extra CSS
extra_css:
- extra/style.css
# Plugins
extra:
version:
provider: mike
analytics:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY
plugins:
- search
- social
- git-revision-date-localized:
enabled: !ENV [MKDOCS_CI, false]
enable_creation_date: true
- git-committers:
enabled: !ENV [MKDOCS_CI, false]
repository: explodinggradients/ragas
branch: main
- mkdocstrings:
handlers:
python:
paths: [src]
options:
docstring_style: numpy
members_order: source
separate_signature: true
filters: ["!^_"]
docstring_options:
ignore_init_summary: true
merge_init_into_class: true
show_signature_annotations: true
signature_crossrefs: true
- glightbox
- gen-files:
scripts:
- docs/ipynb_to_md.py
extra_javascript:
- _static/js/mathjax.js
- _static/js/header_border.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
- _static/js/toggle.js