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 @@ -71,10 +71,12 @@ Inference Providers requires passing a user token in the request headers. You ca
7171
7272For 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
7981Let'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
102104In 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
153155In JS, you can use the ` fetch ` library to make raw requests to the API:
154156
You can’t perform that action at this time.
0 commit comments