Skip to content

Commit

Permalink
Improvements in the docs , updated dependencies (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
izam-mohammed authored Mar 24, 2024
2 parents d5c3b7f + 86cc0d2 commit d79acef
Show file tree
Hide file tree
Showing 6 changed files with 133 additions and 132 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ from ragrank.metric import response_relevancy
data = from_dict({
"question": "What is the capital of France?",
"context": ["France is famous for its iconic landmarks such as the Eiffel Tower and its rich culinary tradition."],
"answer": "The capital of France is Paris.",
"response": "The capital of France is Paris.",
})

# Evaluate the response relevance metric
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# -- Project information --------

project = "ragrank"
project = "Ragrank"
copyright = "2024, Izam Mohammed"
author = "Izam Mohammed"
release = "0.0.6"
Expand Down Expand Up @@ -45,7 +45,7 @@
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

html_theme = "furo"
html_title = "ragrank 🎯"
html_title = "ragrank"
html_favicon = "./_static/favicon.ico"
html_static_path = ["_static"]
language = "en"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/evaluation/detailed_evaluation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ data = from_dict(
"context": [
"France is famous for its iconic landmarks such as the Eiffel Tower and its rich culinary tradition."
],
"answer": "The capital of France is Paris.",
"response": "The capital of France is Paris.",
},
return_as_dataset=True,
)
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/get_started/basic_evaluation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ from ragrank.metric import response_relevancy
data = from_dict({
"question": "What is the capital of France?",
"context": ["France is famous for its iconic landmarks such as the Eiffel Tower and its rich culinary tradition."],
"answer": "The capital of France is Paris.",
"response": "The capital of France is Paris.",
})

# Evaluate the response relevance metric
Expand Down
Loading

0 comments on commit d79acef

Please sign in to comment.