Skip to content

Commit

Permalink
docs: fix typo (#1801)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahules786 authored Dec 28, 2024
1 parent 891549b commit e732231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getstarted/evals.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ from ragas.config import InstructionConfig, DemonstrationConfig
demo_config = DemonstrationConfig(embedding=evaluator_embeddings)
inst_config = InstructionConfig(llm=evaluator_llm)

evaluator.train(path="<your-annotated-json.json>", demonstration_config=demo_config, instruction_config=inst_config)
metric.train(path="<your-annotated-json.json>", demonstration_config=demo_config, instruction_config=inst_config)
```

Once trained, you can re-evaluate the same or different test datasets. You should notice that the metric now aligns with your preferences and makes fewer mistakes, improving its accuracy.
Expand Down

0 comments on commit e732231

Please sign in to comment.