We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bde464f commit b43ab35Copy full SHA for b43ab35
docs/source/en/quick_tour.md
@@ -93,6 +93,18 @@ response = client.embeddings.create(
93
print(response.data[0].embedding)
94
```
95
96
+Alternatively, you can also send the request with cURL as follows:
97
+
98
+```bash
99
+curl http://localhost/v1/embeddings \
100
+ -H "Content-Type: application/json" \
101
+ -d '{
102
+ "input": "What is Deep Learning?",
103
+ "model": "text-embeddings-inference",
104
+ "encoding_format": "float"
105
+ }'
106
+``
107
108
Alternatively, you can also send the request with cURL as follows:
109
```bash
110
curl http://localhost:8080/v1/embeddings \
0 commit comments