Skip to content

Commit df929b1

Browse files
Update README.md
1 parent b59df7b commit df929b1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ Install LitServe via pip ([more options](https://lightning.ai/docs/litserve/home
6666
pip install litserve
6767
```
6868

69-
Example 1: Toy inference pipeline with multiple models.
70-
[Example 2](#agentic-example): Real minimal agent (with OpenAI API).
69+
[Example 1](#inference-pipeline-example): Toy inference pipeline with multiple models.
70+
[Example 2](#agent-example): Minimal agent to fetch the news (with OpenAI API).
7171
([Advanced examples](#featured-examples)):
7272

73+
### Inference pipeline example
74+
7375
```python
7476
import litserve as ls
7577

@@ -116,7 +118,7 @@ Test the server: Simulate an http request (run this on any terminal):
116118
curl -X POST http://127.0.0.1:8000/predict -H "Content-Type: application/json" -d '{"input": 4.0}'
117119
```
118120

119-
### Agentic example
121+
### Agent example
120122

121123
```python
122124
import re, requests, openai

0 commit comments

Comments
 (0)