File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,12 @@ Install LitServe via pip ([more options](https://lightning.ai/docs/litserve/home
6666pip 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
7476import litserve as ls
7577
@@ -116,7 +118,7 @@ Test the server: Simulate an http request (run this on any terminal):
116118curl -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
122124import re, requests, openai
You can’t perform that action at this time.
0 commit comments