@10ml/ai-sdk-perfume 1.0.1 → 1.0.3
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 +1 -1
- package/dist/index.d.ts +464 -416
- package/dist/index.js +2 -2
- package/package.json +1 -5
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ Runnable examples are in [`examples/`](examples): `npm run example` (needs a mod
|
|
|
58
58
|
| `explainNote` | `explainNote` | `GET /notes/{id}` | What a note smells like, what it pairs with, which perfumes it leads |
|
|
59
59
|
| `getPerfumeHouse` | `getPerfumeHouse` | `GET /houses/{id}` | A perfume house: country, style, signature perfumes |
|
|
60
60
|
| `listPerfumeHouses` | `listPerfumeHouses` | `GET /houses` | Browse houses by type, country or name |
|
|
61
|
-
| `searchPerfumeGuides` | `searchPerfumeGuides` | `GET /guides` | 10ML perfume guides and articles to read or cite, in
|
|
61
|
+
| `searchPerfumeGuides` | `searchPerfumeGuides` | `GET /guides` | 10ML perfume guides and articles to read or cite, in seventeen languages |
|
|
62
62
|
|
|
63
63
|
Each tool has a zod input schema with a description on every field (enums for audience, season, occasion, style, closeness and locale) and a description written for tool-calling models. The schemas are exported too (`searchPerfumesInput`, ...). An unknown perfume returns `found: false` with spelling suggestions instead of an error; other API errors throw a `PerfumeApiError` that the AI SDK passes back to the model. Results are paginated: pass `next_cursor` back as `cursor`.
|
|
64
64
|
|