fix: typo in TEI snippet
#5
by
mkrimmel-pplx - opened
README.md
CHANGED
|
@@ -47,12 +47,12 @@ curl -X POST https://api.perplexity.ai/v1/embeddings \
|
|
| 47 |
-H "Authorization: Bearer YOUR_API_KEY" \
|
| 48 |
-H "Content-Type: application/json" \
|
| 49 |
-d '{
|
| 50 |
-
"
|
| 51 |
"Scientists explore the universe driven by curiosity.",
|
| 52 |
"Children learn through curious exploration.",
|
| 53 |
"Historical discoveries began with curious questions.",
|
| 54 |
"Animals use curiosity to adapt and survive.",
|
| 55 |
-
"Philosophy examines the nature of curiosity."
|
| 56 |
],
|
| 57 |
"model": "pplx-embed-1-4B"
|
| 58 |
}'
|
|
@@ -129,9 +129,9 @@ curl http://0.0.0.0:8080/embed \
|
|
| 129 |
"Children learn through curious exploration.",
|
| 130 |
"Historical discoveries began with curious questions.",
|
| 131 |
"Animals use curiosity to adapt and survive.",
|
| 132 |
-
"Philosophy examines the nature of curiosity."
|
| 133 |
],
|
| 134 |
-
"normalize" false
|
| 135 |
}'
|
| 136 |
```
|
| 137 |
|
|
|
|
| 47 |
-H "Authorization: Bearer YOUR_API_KEY" \
|
| 48 |
-H "Content-Type: application/json" \
|
| 49 |
-d '{
|
| 50 |
+
"input": [
|
| 51 |
"Scientists explore the universe driven by curiosity.",
|
| 52 |
"Children learn through curious exploration.",
|
| 53 |
"Historical discoveries began with curious questions.",
|
| 54 |
"Animals use curiosity to adapt and survive.",
|
| 55 |
+
"Philosophy examines the nature of curiosity."
|
| 56 |
],
|
| 57 |
"model": "pplx-embed-1-4B"
|
| 58 |
}'
|
|
|
|
| 129 |
"Children learn through curious exploration.",
|
| 130 |
"Historical discoveries began with curious questions.",
|
| 131 |
"Animals use curiosity to adapt and survive.",
|
| 132 |
+
"Philosophy examines the nature of curiosity."
|
| 133 |
],
|
| 134 |
+
"normalize": false
|
| 135 |
}'
|
| 136 |
```
|
| 137 |
|