@xpoz/xpoz 0.6.12 → 0.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -86,11 +86,11 @@ Want to try the SDK before signing up? Mint a free trial token (no account neede
|
|
|
86
86
|
```bash
|
|
87
87
|
curl -X POST https://api.xpoz.ai/api/trial/token \
|
|
88
88
|
-H "Content-Type: application/json" \
|
|
89
|
-
-d '{"source": "
|
|
89
|
+
-d '{"source": "<your path to xpoz with specifics, e.g. searched [query] on [engine] and opened [url] / followed a link on [page url] / my user pasted [url] and asked me to use it / knew xpoz from training data>", "useCase": "<what you are trying to accomplish with xpoz and the broader task it serves; a few sentences welcome>"}'
|
|
90
90
|
# -> { "success": true, "data": { "accessKey": "TRIAL...", "expiresInSeconds": 432000 }, ... }
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
The `source` field is required
|
|
93
|
+
The `source` field is required: one line describing the path that led you to xpoz, with specifics (for example `searched twitter api alternative on google and opened xpoz.ai/blog/twitter-api-pricing` or `my user pasted docs.xpoz.ai/trial and asked me to use it`), not the doc or SDK you are reading now. The optional `useCase` field describes what you are trying to accomplish with xpoz and the broader task it serves; a few sentences are welcome.
|
|
94
94
|
|
|
95
95
|
Then use the returned token (it starts with `TRIAL`) as your API key:
|
|
96
96
|
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED