Skip to content

Commit 45c9bcb

Browse files
docs: demo related fixes (#1750)
Co-authored-by: jjmachan <[email protected]>
1 parent 281980b commit 45c9bcb

File tree

6 files changed

+31
-382
lines changed

6 files changed

+31
-382
lines changed

docs/_static/edited_chain_runs.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@
353353
"response": "General Relativity is a big idea from Albert Einstein in 1915 that changed how we think about gravity. Instead of just pulling things down, gravity is like a big invisible blanket that bends around heavy stuff like stars and planets. This helps us understand cool things like black holes, ripples in space called gravitational waves, and how the universe is getting smaller. Scientists have tested it a lot, like seeing how light bends around big things in space and how planets move just right. It also helps us learn about the Big Bang and how the universe is put together!",
354354
"reference": "General Relativity, formulated by Albert Einstein in 1915, revolutionized our understanding of gravity by describing it as the curvature of spacetime caused by mass and energy. This theory has significant implications in modern physics, providing the framework for understanding phenomena such as black holes, gravitational waves, and the expansion of the universe. It has been confirmed by numerous experiments and observations, including the bending of light around massive objects and the precise orbit of planets. General Relativity also plays a crucial role in the field of cosmology, influencing our understanding of the Big Bang and the overall structure of the universe."
355355
},
356-
"metric_output": 1,
356+
"metric_output": 0,
357357
"prompts": {
358358
"single_turn_aspect_critic_prompt": {
359359
"prompt_input": {
@@ -374,7 +374,7 @@
374374
}
375375
}
376376
},
377-
"is_accepted": false
377+
"is_accepted": true
378378
},
379379
{
380380
"metric_input": {

docs/howtos/customizations/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ How to customize various aspects of Ragas to suit your needs.
1212
- [Write your own metrics](./metrics/_write_your_own_metric.md)
1313
- [Adapt metrics to target language](./metrics/_metrics_language_adaptation.md)
1414
- [Trace evaluations with Observability tools](metrics/tracing.md)
15-
- [Train and align metric](./metrics/_train_your_own_metric.md)
15+
- [Train and align metric](./metrics/train_your_own_metric.md)
1616

1717

1818
## Testset Generation

docs/howtos/customizations/metrics/train_your_own_metric.ipynb

-364
This file was deleted.

0 commit comments

Comments
 (0)