Skip to content

Commit 9abace0

Browse files
Version change (#39)
2 parents d79acef + ef69d4d commit 9abace0

File tree

17 files changed

+33
-24
lines changed

17 files changed

+33
-24
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<a href="https://ragrank.readthedocs.io/latest/">Documentation</a> |
3131
<a href="https://api-ragrank.readthedocs.io/">API reference</a> |
3232
<a href="https://ragrank.readthedocs.io/latest/get_started/basic_evaluation.html">Quickstart</a> |
33-
<a href="https://discord.gg/yaFRx6ja">Join the Community</a>
33+
<a href="https://discord.gg/KzfVpds3">Join the Community</a>
3434
<p>
3535
</h4>
3636

@@ -73,7 +73,7 @@ data = from_dict({
7373
})
7474

7575
# Evaluate the response relevance metric
76-
result = evaluate(data=data, metrics=[response_relevancy])
76+
result = evaluate(data, metrics=[response_relevancy])
7777

7878
# Display the evaluation results
7979
result.to_dataframe()

docs/api_reference/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
project = "Ragrank"
99
copyright = "2024, Izam Mohammed"
1010
author = "Izam Mohammed"
11-
release = "0.0.6"
11+
release = "0.0.7"
1212

1313

1414
# -- General configuration ---------

docs/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
project = "Ragrank"
1010
copyright = "2024, Izam Mohammed"
1111
author = "Izam Mohammed"
12-
release = "0.0.6"
12+
release = "0.0.7"
1313

1414

1515
# -- General configuration ------

docs/docs/evaluation/result.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ data = DataNode(
1717
)
1818

1919
result:EvalResult = evaluate(
20-
dataset=data,
20+
data ,
2121
)
2222

2323
print(result.to_dict())

docs/docs/evaluation/with_llm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ llm_configuration = LLMConfig(
2929
llm = OpenaiLLM(llm_config=llm_configuration)
3030

3131
result = evaluate(
32-
dataset=data,
32+
data ,
3333
llm=llm,
3434
)
3535

@@ -72,7 +72,7 @@ data = DataNode(
7272
)
7373

7474
result = evaluate(
75-
dataset = data,
75+
data ,
7676
llm = ragrank_llm,
7777
)
7878
```

docs/docs/evaluation/with_metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ data = DataNode(
4545

4646
# evaluating the metrics
4747
result = evaluate(
48-
data = data,
48+
data ,
4949
metrics=[
5050
response_relevancy,
5151
response_conciseness,

docs/docs/get_started/basic_evaluation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ data = from_dict({
2929
})
3030

3131
# Evaluate the response relevance metric
32-
result = evaluate(data=data, metrics=[response_relevancy])
32+
result = evaluate(data, metrics=[response_relevancy])
3333

3434
# Display the evaluation results
3535
result.to_dataframe()

docs/docs/metrics/context_related/context_relevancy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ data = DataNode(
2424
)
2525

2626
result = evaluate(
27-
dataset=data,
27+
data ,
2828
metrics=[
2929
response_relevancy,
3030
]

docs/docs/metrics/context_related/context_utilization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ data = DataNode(
2525
)
2626

2727
result = evaluate(
28-
dataset=data,
28+
data ,
2929
metrics=[
3030
response_relevancy,
3131
]

docs/docs/metrics/custom_metrics/custom_instruct.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ data = DataNode(
5757
)
5858

5959
result = evaluate(
60-
dataset=data,
60+
data ,
6161
metrics=[grammar_checker],
6262
)
6363
print(result)

docs/docs/metrics/custom_metrics/custom_metric.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ data = DataNode(
4242
)
4343

4444
result = evaluate(
45-
dataset=data,
45+
data ,
4646
metrics=[
4747
my_metric,
4848
]

docs/docs/metrics/response_related/response_conciseness.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ data = DataNode(
2525
)
2626

2727
result = evaluate(
28-
dataset=data,
28+
data ,
2929
metrics=[
3030
response_conciseness,
3131
]

docs/docs/metrics/response_related/response_relevancy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ data = DataNode(
2525
)
2626

2727
result = evaluate(
28-
dataset=data,
28+
data ,
2929
metrics=[
3030
response_relevancy,
3131
]

docs/docs/more/contributing.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,42 @@
3434
**5. Test Your Changes:**
3535
- Run tests to ensure your changes haven't introduced any regressions:
3636
```
37-
pytest
37+
make test
3838
```
3939
40-
**6. Commit Your Changes:**
40+
**6. Linting and formating:**
41+
- Format the code
42+
```
43+
make format
44+
```
45+
- Check the linting
46+
```
47+
make lint
48+
```
49+
**7. Commit Your Changes:**
4150
- Once you're satisfied with your changes, commit them:
4251
```
4352
git add .
4453
git commit -m "Add your descriptive commit message here"
4554
```
4655
47-
**7. Push Changes to Your Fork:**
56+
**8. Push Changes to Your Fork:**
4857
- Push your changes to your forked repository:
4958
```
5059
git push origin my-feature
5160
```
5261
53-
**8. Create a Pull Request:**
62+
**9. Create a Pull Request:**
5463
- Go to your forked repository on GitHub.
5564
- Click on the "Compare & pull request" button next to your branch.
5665
- Fill out the pull request form with a descriptive title and details of your changes.
5766
- Click on the "Create pull request" button to submit your contribution.
5867
59-
**9. Collaborate and Iterate:**
68+
**10. Collaborate and Iterate:**
6069
- Engage with reviewers and address any feedback or requests for changes.
6170
- Iterate on your code until it meets the project's standards and requirements.
6271
63-
**10. Stay Updated:**
72+
**11. Stay Updated:**
6473
- Keep an eye on the pull request for any updates or requests from maintainers.
6574
- Stay engaged with the Ragrank community and contribute to discussions and future development efforts.
6675

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ragrank"
3-
version = "0.0.6"
3+
version = "0.0.7"
44
description = "An evaluation library for RAG models"
55
authors = ["Izam Mohammed <izamdeveloper1@gmail.com>"]
66
license = "Apache-2.0"

src/ragrank/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__: str = "0.0.6"
1+
__version__: str = "0.0.7"

src/ragrank/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
RESPONSE_FIELD,
1717
]
1818

19-
SERVER_URL: str = "https://ragrank-trace.vercel.app/"
19+
SERVER_URL: str = "https://ragrank-trace.onrender.com/api/"
2020
DEBUG_MODE: str = "DEBUG_MODE_ON"
2121
REQUEST_TIME_OUT: float = 10.0

0 commit comments

Comments
 (0)