Skip to content

Commit a4e37c0

Browse files
committed
use shared title for quick start
1 parent 55d4123 commit a4e37c0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/inference-providers/index.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ Inference Providers requires passing a user token in the request headers. You ca
7171

7272
For more details about user tokens, check out [this guide](https://huggingface.co/docs/hub/en/security-tokens).
7373

74+
### Quick Start
75+
7476
<hfoptions id="inference-providers-examples">
7577
<hfoption id="curl">
7678

77-
### cURL
79+
**cURL**
7880

7981
Let's start with a cURL command highlighting the raw HTTP request. You can adapt this request to be run with the tool of your choice.
8082

@@ -97,7 +99,7 @@ curl https://router.huggingface.co/novita/v3/openai/chat/completions \
9799
</hfoption>
98100
<hfoption id="python">
99101

100-
### Python
102+
**Python**
101103

102104
In Python, you can use the `requests` library to make raw requests to the API:
103105

@@ -148,7 +150,7 @@ print(completion.choices[0].message)
148150
</hfoption>
149151
<hfoption id="javascript">
150152

151-
### JavaScript
153+
**JavaScript**
152154

153155
In JS, you can use the `fetch` library to make raw requests to the API:
154156

0 commit comments

Comments
 (0)