rajeshchoudharyt
commited on
Commit
•
0e8acca
1
Parent(s):
a5ec0f3
Update README.md
Browse files
README.md
CHANGED
@@ -10,13 +10,11 @@ license: mit
|
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
12 |
|
13 |
-
Endpoint: /
|
14 |
-
|
15 |
-
Headers:
|
16 |
-
Authorization: Bearer <token>
|
17 |
-
Body:
|
18 |
|
19 |
```bash
|
|
|
|
|
20 |
{
|
21 |
"input": [ "Hello", "World" ],
|
22 |
"embedding_type": "s2s_query" or "s2p_query" //optional
|
|
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
12 |
|
13 |
+
Endpoint: /embeddings
|
|
|
|
|
|
|
|
|
14 |
|
15 |
```bash
|
16 |
+
Authorization: Bearer token
|
17 |
+
|
18 |
{
|
19 |
"input": [ "Hello", "World" ],
|
20 |
"embedding_type": "s2s_query" or "s2p_query" //optional
|