Update README.md
Browse files
README.md
CHANGED
@@ -135,7 +135,7 @@ Prompt format is based on ChatML.
|
|
135 |
### Free API Service (hosted by Siam.Ai and Float16.cloud)
|
136 |
|
137 |
#### Siam.AI
|
138 |
-
```
|
139 |
curl https://api.aieat.or.th/v1/completions \
|
140 |
-H "Content-Type: application/json" \
|
141 |
-H "Authorization: Bearer dummy" \
|
@@ -151,7 +151,7 @@ curl https://api.aieat.or.th/v1/completions \
|
|
151 |
```
|
152 |
|
153 |
#### Float16
|
154 |
-
```
|
155 |
curl -X POST https://api.float16.cloud/dedicate/78y8fJLuzE/v1/chat/completions \
|
156 |
-H "Content-Type: application/json" \
|
157 |
-H "Authorization: Bearer float16-AG0F8yNce5s1DiXm1ujcNrTaZquEdaikLwhZBRhyZQNeS7Dv0X" \
|
@@ -171,7 +171,7 @@ curl -X POST https://api.float16.cloud/dedicate/78y8fJLuzE/v1/chat/completions \
|
|
171 |
```
|
172 |
|
173 |
### OpenAI Client Library (Hosted by VLLM, please see below.)
|
174 |
-
```
|
175 |
import openai
|
176 |
|
177 |
# Configure OpenAI client to use vLLM server
|
|
|
135 |
### Free API Service (hosted by Siam.Ai and Float16.cloud)
|
136 |
|
137 |
#### Siam.AI
|
138 |
+
```bash
|
139 |
curl https://api.aieat.or.th/v1/completions \
|
140 |
-H "Content-Type: application/json" \
|
141 |
-H "Authorization: Bearer dummy" \
|
|
|
151 |
```
|
152 |
|
153 |
#### Float16
|
154 |
+
```bash
|
155 |
curl -X POST https://api.float16.cloud/dedicate/78y8fJLuzE/v1/chat/completions \
|
156 |
-H "Content-Type: application/json" \
|
157 |
-H "Authorization: Bearer float16-AG0F8yNce5s1DiXm1ujcNrTaZquEdaikLwhZBRhyZQNeS7Dv0X" \
|
|
|
171 |
```
|
172 |
|
173 |
### OpenAI Client Library (Hosted by VLLM, please see below.)
|
174 |
+
```python
|
175 |
import openai
|
176 |
|
177 |
# Configure OpenAI client to use vLLM server
|