Skip to content

Commit 222c944

Browse files
minor docs update
1 parent 960715a commit 222c944

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

docs/getting-started/quickstart.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ print(f"Score: {result.score}")
2828
print(f"Reasoning: {result.reasoning}")
2929
```
3030

31-
**Sample Output:**
32-
```
33-
Decision: 9
34-
Score: 9.0
35-
Reasoning: The statement is technically accurate. Python is indeed known for its
36-
versatility and simple, readable syntax, making it popular for various applications.
37-
```
38-
3931
## 📊 Using Pre-built Metrics
4032

4133
vLLM Judge comes with 20+ pre-built metrics:

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pip install vllm-judge[dev]
3333
from vllm_judge import Judge
3434

3535
# Initialize with vLLM url
36-
judge = Judge.from_url("http://localhost:8000")
36+
judge = Judge.from_url("http://vllm-server:8000")
3737

3838
# Simple evaluation
3939
result = await judge.evaluate(
@@ -67,7 +67,7 @@ result = await judge.evaluate(
6767
Run Judge as a REST API:
6868

6969
```bash
70-
vllm-judge serve --base-url http://localhost:8000 --port 9090 --host localhost
70+
vllm-judge serve --base-url http://vllm-server:8000 --port 9090
7171
```
7272

7373
Then use the HTTP API:
@@ -77,7 +77,7 @@ from vllm_judge.api import JudgeClient
7777

7878
client = JudgeClient("http://localhost:9090")
7979
result = await client.evaluate(
80-
response="Python is great!",
80+
response="Python is a versatile programming language known for its simple syntax.",
8181
criteria="technical accuracy"
8282
)
8383
```

0 commit comments

Comments
 (0)