featurebase-node 0.14.3 → 0.15.1
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/CHANGELOG.md +16 -0
- package/client.d.mts +11 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -5
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/audit-logs.d.mts +3 -3
- package/resources/audit-logs.d.mts.map +1 -1
- package/resources/audit-logs.d.ts +3 -3
- package/resources/audit-logs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.d.mts +116 -116
- package/resources/changelogs/changelogs.d.mts.map +1 -1
- package/resources/changelogs/changelogs.d.ts +116 -116
- package/resources/changelogs/changelogs.d.ts.map +1 -1
- package/resources/changelogs/changelogs.js +74 -74
- package/resources/changelogs/changelogs.js.map +1 -1
- package/resources/changelogs/changelogs.mjs +74 -74
- package/resources/changelogs/changelogs.mjs.map +1 -1
- package/resources/changelogs/index.d.mts +1 -1
- package/resources/changelogs/index.d.mts.map +1 -1
- package/resources/changelogs/index.d.ts +1 -1
- package/resources/changelogs/index.d.ts.map +1 -1
- package/resources/changelogs/subscribers.d.mts +3 -3
- package/resources/changelogs/subscribers.d.mts.map +1 -1
- package/resources/changelogs/subscribers.d.ts +3 -3
- package/resources/changelogs/subscribers.d.ts.map +1 -1
- package/resources/conversation-attributes.d.mts +22 -17
- package/resources/conversation-attributes.d.mts.map +1 -1
- package/resources/conversation-attributes.d.ts +22 -17
- package/resources/conversation-attributes.d.ts.map +1 -1
- package/resources/conversation-attributes.js +19 -19
- package/resources/conversation-attributes.js.map +1 -1
- package/resources/conversation-attributes.mjs +19 -19
- package/resources/conversation-attributes.mjs.map +1 -1
- package/resources/feedback/boards.d.mts +19 -19
- package/resources/feedback/boards.d.mts.map +1 -1
- package/resources/feedback/boards.d.ts +19 -19
- package/resources/feedback/boards.d.ts.map +1 -1
- package/resources/feedback/boards.js +20 -20
- package/resources/feedback/boards.js.map +1 -1
- package/resources/feedback/boards.mjs +20 -20
- package/resources/feedback/boards.mjs.map +1 -1
- package/resources/feedback/comments.d.mts +113 -113
- package/resources/feedback/comments.d.mts.map +1 -1
- package/resources/feedback/comments.d.ts +113 -113
- package/resources/feedback/comments.d.ts.map +1 -1
- package/resources/feedback/comments.js +93 -93
- package/resources/feedback/comments.js.map +1 -1
- package/resources/feedback/comments.mjs +93 -93
- package/resources/feedback/comments.mjs.map +1 -1
- package/resources/feedback/custom-fields.d.mts +36 -36
- package/resources/feedback/custom-fields.d.mts.map +1 -1
- package/resources/feedback/custom-fields.d.ts +36 -36
- package/resources/feedback/custom-fields.d.ts.map +1 -1
- package/resources/feedback/custom-fields.js +36 -36
- package/resources/feedback/custom-fields.js.map +1 -1
- package/resources/feedback/custom-fields.mjs +36 -36
- package/resources/feedback/custom-fields.mjs.map +1 -1
- package/resources/feedback/feedback.d.mts +5 -5
- package/resources/feedback/feedback.d.mts.map +1 -1
- package/resources/feedback/feedback.d.ts +5 -5
- package/resources/feedback/feedback.d.ts.map +1 -1
- package/resources/feedback/index.d.mts +5 -5
- package/resources/feedback/index.d.mts.map +1 -1
- package/resources/feedback/index.d.ts +5 -5
- package/resources/feedback/index.d.ts.map +1 -1
- package/resources/feedback/post-statuses.d.mts +20 -20
- package/resources/feedback/post-statuses.d.mts.map +1 -1
- package/resources/feedback/post-statuses.d.ts +20 -20
- package/resources/feedback/post-statuses.d.ts.map +1 -1
- package/resources/feedback/post-statuses.js +23 -23
- package/resources/feedback/post-statuses.js.map +1 -1
- package/resources/feedback/post-statuses.mjs +23 -23
- package/resources/feedback/post-statuses.mjs.map +1 -1
- package/resources/feedback/posts/index.d.mts +1 -1
- package/resources/feedback/posts/index.d.mts.map +1 -1
- package/resources/feedback/posts/index.d.ts +1 -1
- package/resources/feedback/posts/index.d.ts.map +1 -1
- package/resources/feedback/posts/posts.d.mts +132 -132
- package/resources/feedback/posts/posts.d.mts.map +1 -1
- package/resources/feedback/posts/posts.d.ts +132 -132
- package/resources/feedback/posts/posts.d.ts.map +1 -1
- package/resources/feedback/posts/posts.js +107 -107
- package/resources/feedback/posts/posts.js.map +1 -1
- package/resources/feedback/posts/posts.mjs +107 -107
- package/resources/feedback/posts/posts.mjs.map +1 -1
- package/resources/feedback/posts/voters.d.mts +3 -3
- package/resources/feedback/posts/voters.d.mts.map +1 -1
- package/resources/feedback/posts/voters.d.ts +3 -3
- package/resources/feedback/posts/voters.d.ts.map +1 -1
- package/resources/help-center/articles.d.mts +213 -97
- package/resources/help-center/articles.d.mts.map +1 -1
- package/resources/help-center/articles.d.ts +213 -97
- package/resources/help-center/articles.d.ts.map +1 -1
- package/resources/help-center/articles.js +73 -73
- package/resources/help-center/articles.js.map +1 -1
- package/resources/help-center/articles.mjs +73 -73
- package/resources/help-center/articles.mjs.map +1 -1
- package/resources/help-center/collections.d.mts +158 -71
- package/resources/help-center/collections.d.mts.map +1 -1
- package/resources/help-center/collections.d.ts +158 -71
- package/resources/help-center/collections.d.ts.map +1 -1
- package/resources/help-center/collections.js +65 -65
- package/resources/help-center/collections.js.map +1 -1
- package/resources/help-center/collections.mjs +65 -65
- package/resources/help-center/collections.mjs.map +1 -1
- package/resources/help-center/help-center.d.mts +4 -4
- package/resources/help-center/help-center.d.mts.map +1 -1
- package/resources/help-center/help-center.d.ts +4 -4
- package/resources/help-center/help-center.d.ts.map +1 -1
- package/resources/help-center/help-centers.d.mts +77 -48
- package/resources/help-center/help-centers.d.mts.map +1 -1
- package/resources/help-center/help-centers.d.ts +77 -48
- package/resources/help-center/help-centers.d.ts.map +1 -1
- package/resources/help-center/help-centers.js +43 -43
- package/resources/help-center/help-centers.js.map +1 -1
- package/resources/help-center/help-centers.mjs +43 -43
- package/resources/help-center/help-centers.mjs.map +1 -1
- package/resources/help-center/index.d.mts +4 -4
- package/resources/help-center/index.d.mts.map +1 -1
- package/resources/help-center/index.d.ts +4 -4
- package/resources/help-center/index.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.d.mts +124 -124
- package/resources/help-center/redirect-rules.d.mts.map +1 -1
- package/resources/help-center/redirect-rules.d.ts +124 -124
- package/resources/help-center/redirect-rules.d.ts.map +1 -1
- package/resources/help-center/redirect-rules.js +112 -112
- package/resources/help-center/redirect-rules.js.map +1 -1
- package/resources/help-center/redirect-rules.mjs +112 -112
- package/resources/help-center/redirect-rules.mjs.map +1 -1
- package/resources/index.d.mts +6 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/organization/admins.d.mts +26 -26
- package/resources/organization/admins.d.mts.map +1 -1
- package/resources/organization/admins.d.ts +26 -26
- package/resources/organization/admins.d.ts.map +1 -1
- package/resources/organization/admins.js +25 -25
- package/resources/organization/admins.js.map +1 -1
- package/resources/organization/admins.mjs +25 -25
- package/resources/organization/admins.mjs.map +1 -1
- package/resources/organization/brands.d.mts +52 -52
- package/resources/organization/brands.d.mts.map +1 -1
- package/resources/organization/brands.d.ts +52 -52
- package/resources/organization/brands.d.ts.map +1 -1
- package/resources/organization/brands.js +54 -54
- package/resources/organization/brands.js.map +1 -1
- package/resources/organization/brands.mjs +54 -54
- package/resources/organization/brands.mjs.map +1 -1
- package/resources/organization/index.d.mts +3 -3
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +3 -3
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +3 -3
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +3 -3
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/teams.d.mts +47 -47
- package/resources/organization/teams.d.mts.map +1 -1
- package/resources/organization/teams.d.ts +47 -47
- package/resources/organization/teams.d.ts.map +1 -1
- package/resources/organization/teams.js +44 -44
- package/resources/organization/teams.js.map +1 -1
- package/resources/organization/teams.mjs +44 -44
- package/resources/organization/teams.mjs.map +1 -1
- package/resources/reports.d.mts +339 -223
- package/resources/reports.d.mts.map +1 -1
- package/resources/reports.d.ts +339 -223
- package/resources/reports.d.ts.map +1 -1
- package/resources/reports.js +114 -107
- package/resources/reports.js.map +1 -1
- package/resources/reports.mjs +114 -107
- package/resources/reports.mjs.map +1 -1
- package/resources/support/conversation-tags.d.mts +43 -43
- package/resources/support/conversation-tags.d.mts.map +1 -1
- package/resources/support/conversation-tags.d.ts +43 -43
- package/resources/support/conversation-tags.d.ts.map +1 -1
- package/resources/support/conversation-tags.js +32 -32
- package/resources/support/conversation-tags.js.map +1 -1
- package/resources/support/conversation-tags.mjs +32 -32
- package/resources/support/conversation-tags.mjs.map +1 -1
- package/resources/support/conversations/conversations.d.mts +363 -332
- package/resources/support/conversations/conversations.d.mts.map +1 -1
- package/resources/support/conversations/conversations.d.ts +363 -332
- package/resources/support/conversations/conversations.d.ts.map +1 -1
- package/resources/support/conversations/conversations.js +293 -283
- package/resources/support/conversations/conversations.js.map +1 -1
- package/resources/support/conversations/conversations.mjs +293 -283
- package/resources/support/conversations/conversations.mjs.map +1 -1
- package/resources/support/conversations/index.d.mts +1 -1
- package/resources/support/conversations/index.d.mts.map +1 -1
- package/resources/support/conversations/index.d.ts +1 -1
- package/resources/support/conversations/index.d.ts.map +1 -1
- package/resources/support/conversations/participants.d.mts +2 -2
- package/resources/support/conversations/participants.d.mts.map +1 -1
- package/resources/support/conversations/participants.d.ts +2 -2
- package/resources/support/conversations/participants.d.ts.map +1 -1
- package/resources/support/index.d.mts +3 -3
- package/resources/support/index.d.mts.map +1 -1
- package/resources/support/index.d.ts +3 -3
- package/resources/support/index.d.ts.map +1 -1
- package/resources/support/support.d.mts +3 -3
- package/resources/support/support.d.mts.map +1 -1
- package/resources/support/support.d.ts +3 -3
- package/resources/support/support.d.ts.map +1 -1
- package/resources/support/tickets/categories.d.mts +20 -20
- package/resources/support/tickets/categories.d.mts.map +1 -1
- package/resources/support/tickets/categories.d.ts +20 -20
- package/resources/support/tickets/categories.d.ts.map +1 -1
- package/resources/support/tickets/categories.js +25 -25
- package/resources/support/tickets/categories.js.map +1 -1
- package/resources/support/tickets/categories.mjs +25 -25
- package/resources/support/tickets/categories.mjs.map +1 -1
- package/resources/support/tickets/custom-fields.d.mts +22 -22
- package/resources/support/tickets/custom-fields.d.mts.map +1 -1
- package/resources/support/tickets/custom-fields.d.ts +22 -22
- package/resources/support/tickets/custom-fields.d.ts.map +1 -1
- package/resources/support/tickets/custom-fields.js +19 -19
- package/resources/support/tickets/custom-fields.js.map +1 -1
- package/resources/support/tickets/custom-fields.mjs +19 -19
- package/resources/support/tickets/custom-fields.mjs.map +1 -1
- package/resources/support/tickets/index.d.mts +4 -4
- package/resources/support/tickets/index.d.mts.map +1 -1
- package/resources/support/tickets/index.d.ts +4 -4
- package/resources/support/tickets/index.d.ts.map +1 -1
- package/resources/support/tickets/statuses.d.mts +19 -19
- package/resources/support/tickets/statuses.d.mts.map +1 -1
- package/resources/support/tickets/statuses.d.ts +19 -19
- package/resources/support/tickets/statuses.d.ts.map +1 -1
- package/resources/support/tickets/statuses.js +21 -21
- package/resources/support/tickets/statuses.js.map +1 -1
- package/resources/support/tickets/statuses.mjs +21 -21
- package/resources/support/tickets/statuses.mjs.map +1 -1
- package/resources/support/tickets/tickets.d.mts +75 -75
- package/resources/support/tickets/tickets.d.mts.map +1 -1
- package/resources/support/tickets/tickets.d.ts +75 -75
- package/resources/support/tickets/tickets.d.ts.map +1 -1
- package/resources/support/tickets/tickets.js +44 -44
- package/resources/support/tickets/tickets.js.map +1 -1
- package/resources/support/tickets/tickets.mjs +44 -44
- package/resources/support/tickets/tickets.mjs.map +1 -1
- package/resources/surveys.d.mts +43 -43
- package/resources/surveys.d.mts.map +1 -1
- package/resources/surveys.d.ts +43 -43
- package/resources/surveys.d.ts.map +1 -1
- package/resources/surveys.js +44 -44
- package/resources/surveys.js.map +1 -1
- package/resources/surveys.mjs +44 -44
- package/resources/surveys.mjs.map +1 -1
- package/resources/training-data/files.d.mts +292 -0
- package/resources/training-data/files.d.mts.map +1 -0
- package/resources/training-data/files.d.ts +292 -0
- package/resources/training-data/files.d.ts.map +1 -0
- package/resources/training-data/files.js +171 -0
- package/resources/training-data/files.js.map +1 -0
- package/resources/training-data/files.mjs +167 -0
- package/resources/training-data/files.mjs.map +1 -0
- package/resources/training-data/index.d.mts +4 -0
- package/resources/training-data/index.d.mts.map +1 -0
- package/resources/training-data/index.d.ts +4 -0
- package/resources/training-data/index.d.ts.map +1 -0
- package/resources/training-data/index.js +11 -0
- package/resources/training-data/index.js.map +1 -0
- package/resources/training-data/index.mjs +5 -0
- package/resources/training-data/index.mjs.map +1 -0
- package/resources/training-data/qna.d.mts +370 -0
- package/resources/training-data/qna.d.mts.map +1 -0
- package/resources/training-data/qna.d.ts +370 -0
- package/resources/training-data/qna.d.ts.map +1 -0
- package/resources/training-data/qna.js +177 -0
- package/resources/training-data/qna.js.map +1 -0
- package/resources/training-data/qna.mjs +173 -0
- package/resources/training-data/qna.mjs.map +1 -0
- package/resources/training-data/training-data.d.mts +442 -0
- package/resources/training-data/training-data.d.mts.map +1 -0
- package/resources/training-data/training-data.d.ts +442 -0
- package/resources/training-data/training-data.d.ts.map +1 -0
- package/resources/training-data/training-data.js +105 -0
- package/resources/training-data/training-data.js.map +1 -0
- package/resources/training-data/training-data.mjs +100 -0
- package/resources/training-data/training-data.mjs.map +1 -0
- package/resources/training-data.d.mts +2 -0
- package/resources/training-data.d.mts.map +1 -0
- package/resources/training-data.d.ts +2 -0
- package/resources/training-data.d.ts.map +1 -0
- package/resources/training-data.js +6 -0
- package/resources/training-data.js.map +1 -0
- package/resources/training-data.mjs +3 -0
- package/resources/training-data.mjs.map +1 -0
- package/resources/users/companies/companies.d.mts +121 -130
- package/resources/users/companies/companies.d.mts.map +1 -1
- package/resources/users/companies/companies.d.ts +121 -130
- package/resources/users/companies/companies.d.ts.map +1 -1
- package/resources/users/companies/companies.js +125 -125
- package/resources/users/companies/companies.js.map +1 -1
- package/resources/users/companies/companies.mjs +125 -125
- package/resources/users/companies/companies.mjs.map +1 -1
- package/resources/users/companies/contacts.d.mts +3 -3
- package/resources/users/companies/contacts.d.mts.map +1 -1
- package/resources/users/companies/contacts.d.ts +3 -3
- package/resources/users/companies/contacts.d.ts.map +1 -1
- package/resources/users/companies/index.d.mts +1 -1
- package/resources/users/companies/index.d.mts.map +1 -1
- package/resources/users/companies/index.d.ts +1 -1
- package/resources/users/companies/index.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.mts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/by-user-id.d.ts +2 -2
- package/resources/users/contacts/by-user-id/by-user-id.d.ts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.mts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/by-user-id/email-preferences.d.ts +2 -2
- package/resources/users/contacts/by-user-id/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/contacts.d.mts +249 -235
- package/resources/users/contacts/contacts.d.mts.map +1 -1
- package/resources/users/contacts/contacts.d.ts +249 -235
- package/resources/users/contacts/contacts.d.ts.map +1 -1
- package/resources/users/contacts/contacts.js +211 -184
- package/resources/users/contacts/contacts.js.map +1 -1
- package/resources/users/contacts/contacts.mjs +211 -184
- package/resources/users/contacts/contacts.mjs.map +1 -1
- package/resources/users/contacts/email-preferences.d.mts +2 -2
- package/resources/users/contacts/email-preferences.d.mts.map +1 -1
- package/resources/users/contacts/email-preferences.d.ts +2 -2
- package/resources/users/contacts/email-preferences.d.ts.map +1 -1
- package/resources/users/contacts/index.d.mts +1 -1
- package/resources/users/contacts/index.d.mts.map +1 -1
- package/resources/users/contacts/index.d.ts +1 -1
- package/resources/users/contacts/index.d.ts.map +1 -1
- package/resources/users/index.d.mts +2 -2
- package/resources/users/index.d.mts.map +1 -1
- package/resources/users/index.d.ts +2 -2
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/users.d.mts +2 -2
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +2 -2
- package/resources/users/users.d.ts.map +1 -1
- package/resources/webhooks.d.mts +83 -83
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +83 -83
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +77 -77
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +77 -77
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +26 -6
- package/src/resources/audit-logs.ts +19 -1
- package/src/resources/changelogs/changelogs.ts +320 -175
- package/src/resources/changelogs/index.ts +1 -1
- package/src/resources/changelogs/subscribers.ts +31 -2
- package/src/resources/conversation-attributes.ts +40 -34
- package/src/resources/feedback/boards.ts +30 -30
- package/src/resources/feedback/comments.ts +137 -137
- package/src/resources/feedback/custom-fields.ts +46 -46
- package/src/resources/feedback/feedback.ts +6 -6
- package/src/resources/feedback/index.ts +6 -6
- package/src/resources/feedback/post-statuses.ts +33 -33
- package/src/resources/feedback/posts/index.ts +2 -2
- package/src/resources/feedback/posts/posts.ts +176 -176
- package/src/resources/feedback/posts/voters.ts +3 -3
- package/src/resources/help-center/articles.ts +631 -109
- package/src/resources/help-center/collections.ts +349 -88
- package/src/resources/help-center/help-center.ts +5 -5
- package/src/resources/help-center/help-centers.ts +202 -57
- package/src/resources/help-center/index.ts +5 -5
- package/src/resources/help-center/redirect-rules.ts +294 -178
- package/src/resources/index.ts +13 -6
- package/src/resources/organization/admins.ts +36 -36
- package/src/resources/organization/brands.ts +68 -68
- package/src/resources/organization/index.ts +3 -3
- package/src/resources/organization/organization.ts +3 -3
- package/src/resources/organization/teams.ts +54 -54
- package/src/resources/reports.ts +462 -272
- package/src/resources/support/conversation-tags.ts +62 -62
- package/src/resources/support/conversations/conversations.ts +453 -417
- package/src/resources/support/conversations/index.ts +4 -4
- package/src/resources/support/conversations/participants.ts +2 -2
- package/src/resources/support/index.ts +7 -7
- package/src/resources/support/support.ts +7 -7
- package/src/resources/support/tickets/categories.ts +35 -35
- package/src/resources/support/tickets/custom-fields.ts +29 -29
- package/src/resources/support/tickets/index.ts +4 -4
- package/src/resources/support/tickets/statuses.ts +31 -31
- package/src/resources/support/tickets/tickets.ts +101 -101
- package/src/resources/surveys.ts +60 -60
- package/src/resources/training-data/files.ts +431 -0
- package/src/resources/training-data/index.ts +31 -0
- package/src/resources/training-data/qna.ts +514 -0
- package/src/resources/training-data/training-data.ts +603 -0
- package/src/resources/training-data.ts +3 -0
- package/src/resources/users/companies/companies.ts +158 -172
- package/src/resources/users/companies/contacts.ts +3 -3
- package/src/resources/users/companies/index.ts +2 -2
- package/src/resources/users/contacts/by-user-id/by-user-id.ts +2 -2
- package/src/resources/users/contacts/by-user-id/email-preferences.ts +2 -2
- package/src/resources/users/contacts/contacts.ts +284 -280
- package/src/resources/users/contacts/email-preferences.ts +2 -2
- package/src/resources/users/contacts/index.ts +3 -3
- package/src/resources/users/index.ts +5 -5
- package/src/resources/users/users.ts +5 -5
- package/src/resources/webhooks.ts +106 -100
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { CursorPage } from "../../core/pagination.mjs";
|
|
4
|
+
import { buildHeaders } from "../../internal/headers.mjs";
|
|
5
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* Training data teaches the AI agent about your product beyond your public Help Center: training files (documents, policies, internal notes) and Q&A entries (question variants with the exact answer to give). Use these endpoints to keep that knowledge in sync from your own systems — for example, pushing resolved support conversations, internal runbooks, or SOP documents automatically.
|
|
8
|
+
*/
|
|
9
|
+
export class QnaResource extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Creates or updates question variants and an answer. Optional externalId is a
|
|
12
|
+
* stable, caller-owned key, unique within workspace Q&A. Otherwise a normalized
|
|
13
|
+
* question addresses an existing entry. POST appends variants (maximum 50) and
|
|
14
|
+
* replaces supplied content; PATCH replaces the question list. Questions cannot
|
|
15
|
+
* belong to multiple entries: ambiguous ownership returns 409
|
|
16
|
+
* question_already_used. New entries return 201; updates and no-ops return 200.
|
|
17
|
+
* Responses include externalId, revision, and indexStatus. Indexing is attempted
|
|
18
|
+
* before returning; verify indexStatus rather than assuming HTTP success means
|
|
19
|
+
* searchable.
|
|
20
|
+
*
|
|
21
|
+
* Writes omit semantic checks by default. Optional onMatch runs a bounded check
|
|
22
|
+
* against the addressed entry and retrieved knowledge: reject refuses overlap;
|
|
23
|
+
* update explicitly permits answer replacement, including contradictions, but
|
|
24
|
+
* refuses unclear results; create explicitly overrides the check. Without an
|
|
25
|
+
* addressed entry, update can merge a matching Q&A, subject to source ownership.
|
|
26
|
+
* Articles and files are never edited. Check failures return 503 before writing.
|
|
27
|
+
* This is not a transaction over the knowledge base: other entries can change
|
|
28
|
+
* concurrently. After a separate oracle call, use PATCH with the checked
|
|
29
|
+
* expectedRevision; stale writes return 409 revision_conflict.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const qna = await client.trainingData.qna.create({
|
|
34
|
+
* answer:
|
|
35
|
+
* 'You can request a refund within 30 days from **Settings → Billing**.',
|
|
36
|
+
* questions: [
|
|
37
|
+
* 'How do I request a refund?',
|
|
38
|
+
* 'Can I get my money back?',
|
|
39
|
+
* ],
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
create(params, options) {
|
|
44
|
+
const { 'Featurebase-Version': featurebaseVersion, ...body } = params;
|
|
45
|
+
return this._client.post('/v2/training_data/qna', {
|
|
46
|
+
body,
|
|
47
|
+
...options,
|
|
48
|
+
headers: buildHeaders([
|
|
49
|
+
{
|
|
50
|
+
...(featurebaseVersion?.toString() != null ?
|
|
51
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
52
|
+
: undefined),
|
|
53
|
+
},
|
|
54
|
+
options?.headers,
|
|
55
|
+
]),
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns a single Q&A entry by ID.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```ts
|
|
63
|
+
* const qna = await client.trainingData.qna.retrieve(
|
|
64
|
+
* '67ec1234abcd5678ef901235',
|
|
65
|
+
* );
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
retrieve(id, params = {}, options) {
|
|
69
|
+
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
70
|
+
return this._client.get(path `/v2/training_data/qna/${id}`, {
|
|
71
|
+
...options,
|
|
72
|
+
headers: buildHeaders([
|
|
73
|
+
{
|
|
74
|
+
...(featurebaseVersion?.toString() != null ?
|
|
75
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
76
|
+
: undefined),
|
|
77
|
+
},
|
|
78
|
+
options?.headers,
|
|
79
|
+
]),
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Updates title, questions, answer, or source. Questions replaces the whole list;
|
|
84
|
+
* preserve the union yourself when merging. Supply expectedRevision from GET or
|
|
85
|
+
* oracle.existing / oracle.target to apply only to the version you reviewed. A
|
|
86
|
+
* stale revision returns 409 revision_conflict; a question owned by another entry
|
|
87
|
+
* returns 409 question_already_used. Content changes attempt indexing before
|
|
88
|
+
* returning; check indexStatus.
|
|
89
|
+
*
|
|
90
|
+
* Optional onMatch checks changed questions or answer against the addressed entry
|
|
91
|
+
* and retrieved candidates. reject refuses overlap; update permits deliberate
|
|
92
|
+
* replacement but refuses unclear results; create overrides the result. PATCH
|
|
93
|
+
* never merges entries. Checks are bounded advice and do not lock the rest of the
|
|
94
|
+
* knowledge base. A missing onMatch applies the requested update without semantic
|
|
95
|
+
* judging.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* const qna = await client.trainingData.qna.update(
|
|
100
|
+
* '67ec1234abcd5678ef901235',
|
|
101
|
+
* );
|
|
102
|
+
* ```
|
|
103
|
+
*/
|
|
104
|
+
update(id, params, options) {
|
|
105
|
+
const { 'Featurebase-Version': featurebaseVersion, ...body } = params;
|
|
106
|
+
return this._client.patch(path `/v2/training_data/qna/${id}`, {
|
|
107
|
+
body,
|
|
108
|
+
...options,
|
|
109
|
+
headers: buildHeaders([
|
|
110
|
+
{
|
|
111
|
+
...(featurebaseVersion?.toString() != null ?
|
|
112
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
113
|
+
: undefined),
|
|
114
|
+
},
|
|
115
|
+
options?.headers,
|
|
116
|
+
]),
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Returns Q&A entries, newest first, with cursor pagination. Filter by
|
|
121
|
+
* `externalId` or `source`. Entries include their full questions and answer.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* ```ts
|
|
125
|
+
* // Automatically fetches more pages as needed.
|
|
126
|
+
* for await (const qna of client.trainingData.qna.list()) {
|
|
127
|
+
* // ...
|
|
128
|
+
* }
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
list(params = {}, options) {
|
|
132
|
+
const { 'Featurebase-Version': featurebaseVersion, ...query } = params ?? {};
|
|
133
|
+
return this._client.getAPIList('/v2/training_data/qna', (CursorPage), {
|
|
134
|
+
query,
|
|
135
|
+
...options,
|
|
136
|
+
headers: buildHeaders([
|
|
137
|
+
{
|
|
138
|
+
...(featurebaseVersion?.toString() != null ?
|
|
139
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
140
|
+
: undefined),
|
|
141
|
+
},
|
|
142
|
+
options?.headers,
|
|
143
|
+
]),
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Removes a Q&A entry from the workspace and attempts search-index cleanup. Delete
|
|
148
|
+
* only entries your pipeline owns; a merged entry may have several contributing
|
|
149
|
+
* sources.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* ```ts
|
|
153
|
+
* const qna = await client.trainingData.qna.delete(
|
|
154
|
+
* '67ec1234abcd5678ef901235',
|
|
155
|
+
* );
|
|
156
|
+
* ```
|
|
157
|
+
*/
|
|
158
|
+
delete(id, params = {}, options) {
|
|
159
|
+
const { 'Featurebase-Version': featurebaseVersion } = params ?? {};
|
|
160
|
+
return this._client.delete(path `/v2/training_data/qna/${id}`, {
|
|
161
|
+
...options,
|
|
162
|
+
headers: buildHeaders([
|
|
163
|
+
{
|
|
164
|
+
...(featurebaseVersion?.toString() != null ?
|
|
165
|
+
{ 'Featurebase-Version': featurebaseVersion?.toString() }
|
|
166
|
+
: undefined),
|
|
167
|
+
},
|
|
168
|
+
options?.headers,
|
|
169
|
+
]),
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
//# sourceMappingURL=qna.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qna.mjs","sourceRoot":"","sources":["../../src/resources/training-data/qna.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,UAAU,EAAsC,kCAA8B;AACvF,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,MAAM,CAAC,MAAuB,EAAE,OAAwB;QACtD,MAAM,EAAE,qBAAqB,EAAE,k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AE,EAAE;wBAC3D,CAAC,CAAC,SAAS,CAAC;iBACb;gBACD,OAAO,EAAE,OAAO;aACjB,CAAC;SACH,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as FilesAPI from "./files.mjs";
|
|
3
|
+
import { FileCreateParams, FileDeleteParams, FileDeleteResponse, FileListParams, FileRetrieveParams, FileUpdateParams, Files, TrainingFile, TrainingFilesCursorPage } from "./files.mjs";
|
|
4
|
+
import * as QnaAPI from "./qna.mjs";
|
|
5
|
+
import { Qna, QnaCreateParams, QnaDeleteParams, QnaDeleteResponse, QnaListParams, QnaResource, QnaRetrieveParams, QnaUpdateParams, QnasCursorPage } from "./qna.mjs";
|
|
6
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
7
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
8
|
+
/**
|
|
9
|
+
* Training data teaches the AI agent about your product beyond your public Help Center: training files (documents, policies, internal notes) and Q&A entries (question variants with the exact answer to give). Use these endpoints to keep that knowledge in sync from your own systems — for example, pushing resolved support conversations, internal runbooks, or SOP documents automatically.
|
|
10
|
+
*/
|
|
11
|
+
export declare class TrainingData extends APIResource {
|
|
12
|
+
files: FilesAPI.Files;
|
|
13
|
+
qna: QnaAPI.QnaResource;
|
|
14
|
+
/**
|
|
15
|
+
* Checks a proposed Q&A without writing. Optional externalId or an existing
|
|
16
|
+
* normalized question addresses a target. Changed content is compared with that
|
|
17
|
+
* entry even if retrieval or excludeIds misses it. The judge continues past
|
|
18
|
+
* agreement to detect later contradictions; uncertainty takes precedence over
|
|
19
|
+
* agreement. Another agreeing Q&A remains visible for duplicate review.
|
|
20
|
+
*
|
|
21
|
+
* Actions: create means no overlap found in checked candidates; update_target
|
|
22
|
+
* refers to existing; update_qna refers to target; review_qna / review_article /
|
|
23
|
+
* review_file require review of the source; skip means an identical payload or
|
|
24
|
+
* already-covered answer. existing and Q&A candidates include revisions: use PATCH
|
|
25
|
+
* expectedRevision for a subsequent reviewed update.
|
|
26
|
+
*
|
|
27
|
+
* The evidence is bounded: retrieval can miss knowledge, document excerpts omit
|
|
28
|
+
* context, and checks observe changing data. checkTruncated reports verification
|
|
29
|
+
* shortlist or text limits and yields unclear unless a contradiction was found.
|
|
30
|
+
* False does not imply exhaustive coverage or factual correctness. Inspect full
|
|
31
|
+
* sources before promotion. Dependencies failing returns 503; this endpoint never
|
|
32
|
+
* writes.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const oracle = await client.trainingData.oracle({
|
|
37
|
+
* answer:
|
|
38
|
+
* 'You can request a refund within 30 days from **Settings → Billing**.',
|
|
39
|
+
* questions: [
|
|
40
|
+
* 'How do I request a refund?',
|
|
41
|
+
* 'Can I get my money back?',
|
|
42
|
+
* ],
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
oracle(params: TrainingDataOracleParams, options?: RequestOptions): APIPromise<Oracle>;
|
|
47
|
+
/**
|
|
48
|
+
* Searches one passage or claim across Q&A, training files, and live help-center
|
|
49
|
+
* articles. Returns ranked candidates and query-focused excerpts without judging
|
|
50
|
+
* or writing. Similarity is an embedding score, not factual confidence; calibrate
|
|
51
|
+
* thresholds on representative examples and retain keyword-only results
|
|
52
|
+
* (similarity null). Retrieval and excerpts can miss relevant facts. Fetch full
|
|
53
|
+
* sources for decisions. Split long documents into bounded sections and audit each
|
|
54
|
+
* section before upload. Latency and embedding work depend on query size and
|
|
55
|
+
* service load.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* const knowledgeSearch = await client.trainingData.search({
|
|
60
|
+
* query:
|
|
61
|
+
* 'Refunds are processed within 14 days of the request.',
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
search(params: TrainingDataSearchParams, options?: RequestOptions): APIPromise<KnowledgeSearch>;
|
|
66
|
+
}
|
|
67
|
+
export interface KnowledgeSearch {
|
|
68
|
+
/**
|
|
69
|
+
* Existing items closest to the query, best first, at most `topK`. `text` is an
|
|
70
|
+
* excerpt focused on the query; `section` is the heading path inside a file when
|
|
71
|
+
* known.
|
|
72
|
+
*/
|
|
73
|
+
candidates: Array<KnowledgeSearch.Candidate>;
|
|
74
|
+
/**
|
|
75
|
+
* Object type identifier
|
|
76
|
+
*/
|
|
77
|
+
object: 'knowledge_search';
|
|
78
|
+
/**
|
|
79
|
+
* The query as searched (trimmed)
|
|
80
|
+
*/
|
|
81
|
+
query: string;
|
|
82
|
+
/**
|
|
83
|
+
* Where the time went
|
|
84
|
+
*/
|
|
85
|
+
timings: KnowledgeSearch.Timings;
|
|
86
|
+
}
|
|
87
|
+
export declare namespace KnowledgeSearch {
|
|
88
|
+
interface Candidate {
|
|
89
|
+
/**
|
|
90
|
+
* ID of the existing item
|
|
91
|
+
*/
|
|
92
|
+
id: string;
|
|
93
|
+
/**
|
|
94
|
+
* The item's source identity, for training files and Q&A
|
|
95
|
+
*/
|
|
96
|
+
externalId: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* What kind of knowledge item matched: a Q&A entry, a training file / crawled
|
|
99
|
+
* page, or a live help-center article.
|
|
100
|
+
*/
|
|
101
|
+
kind: 'qna' | 'training_file' | 'help_center_article';
|
|
102
|
+
/**
|
|
103
|
+
* Question variants, for Q&A entries
|
|
104
|
+
*/
|
|
105
|
+
questions: Array<string> | null;
|
|
106
|
+
/**
|
|
107
|
+
* Q&A revision compared by the judge; null for other kinds. Use with PATCH
|
|
108
|
+
* expectedRevision.
|
|
109
|
+
*/
|
|
110
|
+
revision: number | null;
|
|
111
|
+
/**
|
|
112
|
+
* Heading breadcrumb of the matching section, for training files
|
|
113
|
+
*/
|
|
114
|
+
section: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* Cosine similarity between the query and item. Calibrate any threshold using
|
|
117
|
+
* representative examples; it is not a correctness or contradiction score. `null`
|
|
118
|
+
* when the item was found by keywords only. Arrays are already ordered closest
|
|
119
|
+
* first.
|
|
120
|
+
*/
|
|
121
|
+
similarity: number | null;
|
|
122
|
+
/**
|
|
123
|
+
* The item's `source` label, for Q&A entries and training files
|
|
124
|
+
*/
|
|
125
|
+
source: string | null;
|
|
126
|
+
/**
|
|
127
|
+
* Excerpt of the existing content the judge compared against (Q&A answer, matching
|
|
128
|
+
* document section, or article body), up to 1200 characters plus an ellipsis when
|
|
129
|
+
* cut.
|
|
130
|
+
*/
|
|
131
|
+
text: string;
|
|
132
|
+
/**
|
|
133
|
+
* Title of the existing item
|
|
134
|
+
*/
|
|
135
|
+
title: string;
|
|
136
|
+
/**
|
|
137
|
+
* Public URL of the item when it has one
|
|
138
|
+
*/
|
|
139
|
+
url: string | null;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Where the time went
|
|
143
|
+
*/
|
|
144
|
+
interface Timings {
|
|
145
|
+
/**
|
|
146
|
+
* Time spent searching and loading the items
|
|
147
|
+
*/
|
|
148
|
+
retrievalMs: number;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
export interface Oracle {
|
|
152
|
+
/**
|
|
153
|
+
* Suggested next step. `create`: no overlap found in the checked candidates;
|
|
154
|
+
* verify the source before writing. `update_target`: an entry already carries one
|
|
155
|
+
* of these questions (`existing`) and should be updated with this content — use
|
|
156
|
+
* PATCH with expectedRevision from existing to bind the write to this check.
|
|
157
|
+
* `update_qna`: an existing Q&A entry already answers this with the same facts —
|
|
158
|
+
* merge into it (`target`) instead of adding a second one. `review_qna` /
|
|
159
|
+
* `review_article` / `review_file`: an existing item (`target`) contradicts this
|
|
160
|
+
* answer or the judge could not decide — a human should pick the right fact and
|
|
161
|
+
* fix the source. `skip`: the knowledge already exists (an article or file answers
|
|
162
|
+
* it, or the payload is identical to the entry that already carries the question);
|
|
163
|
+
* nothing to write.
|
|
164
|
+
*/
|
|
165
|
+
action: 'create' | 'update_target' | 'update_qna' | 'review_qna' | 'review_article' | 'review_file' | 'skip';
|
|
166
|
+
/**
|
|
167
|
+
* Retrieved items and the addressed entry (first when present), at most 10.
|
|
168
|
+
* Excerpts are partial evidence.
|
|
169
|
+
*/
|
|
170
|
+
candidates: Array<Oracle.Candidate>;
|
|
171
|
+
/**
|
|
172
|
+
* A candidate or text budget limited verification (including clipped proposed
|
|
173
|
+
* answers or Q&A answers). This yields unclear unless a contradiction was already
|
|
174
|
+
* found. False does not mean the entire workspace was exhaustively checked.
|
|
175
|
+
*/
|
|
176
|
+
checkTruncated: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* The Q&A entry addressed by externalId or a normalized question, including its
|
|
179
|
+
* checked revision, or null
|
|
180
|
+
*/
|
|
181
|
+
existing: Oracle.Existing | null;
|
|
182
|
+
/**
|
|
183
|
+
* Per-candidate judge verdicts, in the order they were judged. Judging continues
|
|
184
|
+
* after agreement or uncertainty and stops on a contradiction. The addressed entry
|
|
185
|
+
* is always compared when its content changes. Only shortlisted candidates are
|
|
186
|
+
* judged, so this is usually shorter than `candidates`.
|
|
187
|
+
*/
|
|
188
|
+
judged: Array<Oracle.Judged>;
|
|
189
|
+
/**
|
|
190
|
+
* Object type identifier
|
|
191
|
+
*/
|
|
192
|
+
object: 'oracle';
|
|
193
|
+
/**
|
|
194
|
+
* One or two sentences explaining the action, from the judge when it ran
|
|
195
|
+
*/
|
|
196
|
+
reason: string;
|
|
197
|
+
target: Oracle.Target;
|
|
198
|
+
/**
|
|
199
|
+
* Where the time went
|
|
200
|
+
*/
|
|
201
|
+
timings: Oracle.Timings;
|
|
202
|
+
/**
|
|
203
|
+
* How the closest existing item relates to the entry. `same_topic`: it answers the
|
|
204
|
+
* same customer question (the entry would be a duplicate, rewording, or updated
|
|
205
|
+
* version). `contradicts`: same question, incompatible facts. `different`: a
|
|
206
|
+
* different question, even if the wording overlaps. `unclear`: the judge could not
|
|
207
|
+
* decide. `no_match`: nothing similar was found.
|
|
208
|
+
*/
|
|
209
|
+
verdict: 'same_topic' | 'contradicts' | 'different' | 'unclear' | 'no_match';
|
|
210
|
+
}
|
|
211
|
+
export declare namespace Oracle {
|
|
212
|
+
interface Candidate {
|
|
213
|
+
/**
|
|
214
|
+
* ID of the existing item
|
|
215
|
+
*/
|
|
216
|
+
id: string;
|
|
217
|
+
/**
|
|
218
|
+
* The item's source identity, for training files and Q&A
|
|
219
|
+
*/
|
|
220
|
+
externalId: string | null;
|
|
221
|
+
/**
|
|
222
|
+
* What kind of knowledge item matched: a Q&A entry, a training file / crawled
|
|
223
|
+
* page, or a live help-center article.
|
|
224
|
+
*/
|
|
225
|
+
kind: 'qna' | 'training_file' | 'help_center_article';
|
|
226
|
+
/**
|
|
227
|
+
* Question variants, for Q&A entries
|
|
228
|
+
*/
|
|
229
|
+
questions: Array<string> | null;
|
|
230
|
+
/**
|
|
231
|
+
* Q&A revision compared by the judge; null for other kinds. Use with PATCH
|
|
232
|
+
* expectedRevision.
|
|
233
|
+
*/
|
|
234
|
+
revision: number | null;
|
|
235
|
+
/**
|
|
236
|
+
* Heading breadcrumb of the matching section, for training files
|
|
237
|
+
*/
|
|
238
|
+
section: string | null;
|
|
239
|
+
/**
|
|
240
|
+
* Cosine similarity between the query and item. Calibrate any threshold using
|
|
241
|
+
* representative examples; it is not a correctness or contradiction score. `null`
|
|
242
|
+
* when the item was found by keywords only. Arrays are already ordered closest
|
|
243
|
+
* first.
|
|
244
|
+
*/
|
|
245
|
+
similarity: number | null;
|
|
246
|
+
/**
|
|
247
|
+
* The item's `source` label, for Q&A entries and training files
|
|
248
|
+
*/
|
|
249
|
+
source: string | null;
|
|
250
|
+
/**
|
|
251
|
+
* Excerpt of the existing content the judge compared against (Q&A answer, matching
|
|
252
|
+
* document section, or article body), up to 1200 characters plus an ellipsis when
|
|
253
|
+
* cut.
|
|
254
|
+
*/
|
|
255
|
+
text: string;
|
|
256
|
+
/**
|
|
257
|
+
* Title of the existing item
|
|
258
|
+
*/
|
|
259
|
+
title: string;
|
|
260
|
+
/**
|
|
261
|
+
* Public URL of the item when it has one
|
|
262
|
+
*/
|
|
263
|
+
url: string | null;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* The Q&A entry addressed by externalId or a normalized question, including its
|
|
267
|
+
* checked revision, or null
|
|
268
|
+
*/
|
|
269
|
+
interface Existing {
|
|
270
|
+
/**
|
|
271
|
+
* Q&A entry ID
|
|
272
|
+
*/
|
|
273
|
+
id: string;
|
|
274
|
+
/**
|
|
275
|
+
* Matching question from your request, or its first question when addressed by
|
|
276
|
+
* externalId
|
|
277
|
+
*/
|
|
278
|
+
question: string;
|
|
279
|
+
/**
|
|
280
|
+
* Revision of the addressed entry at check time. Use with PATCH expectedRevision.
|
|
281
|
+
*/
|
|
282
|
+
revision: number;
|
|
283
|
+
}
|
|
284
|
+
interface Judged {
|
|
285
|
+
/**
|
|
286
|
+
* ID of the judged candidate
|
|
287
|
+
*/
|
|
288
|
+
candidateId: string;
|
|
289
|
+
/**
|
|
290
|
+
* What kind of knowledge item matched: a Q&A entry, a training file / crawled
|
|
291
|
+
* page, or a live help-center article.
|
|
292
|
+
*/
|
|
293
|
+
kind: 'qna' | 'training_file' | 'help_center_article';
|
|
294
|
+
/**
|
|
295
|
+
* The judge's one-line explanation
|
|
296
|
+
*/
|
|
297
|
+
reason: string;
|
|
298
|
+
/**
|
|
299
|
+
* The judge's verdict for this candidate
|
|
300
|
+
*/
|
|
301
|
+
verdict: 'same_topic' | 'contradicts' | 'different' | 'unclear';
|
|
302
|
+
}
|
|
303
|
+
interface Target {
|
|
304
|
+
/**
|
|
305
|
+
* ID of the existing item
|
|
306
|
+
*/
|
|
307
|
+
id: string;
|
|
308
|
+
/**
|
|
309
|
+
* The item's source identity, for training files and Q&A
|
|
310
|
+
*/
|
|
311
|
+
externalId: string | null;
|
|
312
|
+
/**
|
|
313
|
+
* What kind of knowledge item matched: a Q&A entry, a training file / crawled
|
|
314
|
+
* page, or a live help-center article.
|
|
315
|
+
*/
|
|
316
|
+
kind: 'qna' | 'training_file' | 'help_center_article';
|
|
317
|
+
/**
|
|
318
|
+
* Question variants, for Q&A entries
|
|
319
|
+
*/
|
|
320
|
+
questions: Array<string> | null;
|
|
321
|
+
/**
|
|
322
|
+
* Q&A revision compared by the judge; null for other kinds. Use with PATCH
|
|
323
|
+
* expectedRevision.
|
|
324
|
+
*/
|
|
325
|
+
revision: number | null;
|
|
326
|
+
/**
|
|
327
|
+
* Heading breadcrumb of the matching section, for training files
|
|
328
|
+
*/
|
|
329
|
+
section: string | null;
|
|
330
|
+
/**
|
|
331
|
+
* Cosine similarity between the query and item. Calibrate any threshold using
|
|
332
|
+
* representative examples; it is not a correctness or contradiction score. `null`
|
|
333
|
+
* when the item was found by keywords only. Arrays are already ordered closest
|
|
334
|
+
* first.
|
|
335
|
+
*/
|
|
336
|
+
similarity: number | null;
|
|
337
|
+
/**
|
|
338
|
+
* The item's `source` label, for Q&A entries and training files
|
|
339
|
+
*/
|
|
340
|
+
source: string | null;
|
|
341
|
+
/**
|
|
342
|
+
* Excerpt of the existing content the judge compared against (Q&A answer, matching
|
|
343
|
+
* document section, or article body), up to 1200 characters plus an ellipsis when
|
|
344
|
+
* cut.
|
|
345
|
+
*/
|
|
346
|
+
text: string;
|
|
347
|
+
/**
|
|
348
|
+
* Title of the existing item
|
|
349
|
+
*/
|
|
350
|
+
title: string;
|
|
351
|
+
/**
|
|
352
|
+
* Public URL of the item when it has one
|
|
353
|
+
*/
|
|
354
|
+
url: string | null;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Where the time went
|
|
358
|
+
*/
|
|
359
|
+
interface Timings {
|
|
360
|
+
/**
|
|
361
|
+
* Number of judge calls made
|
|
362
|
+
*/
|
|
363
|
+
judgeCalls: number;
|
|
364
|
+
/**
|
|
365
|
+
* Time spent in the judge
|
|
366
|
+
*/
|
|
367
|
+
judgeMs: number;
|
|
368
|
+
/**
|
|
369
|
+
* Time spent searching
|
|
370
|
+
*/
|
|
371
|
+
retrievalMs: number;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
export interface TrainingDataOracleParams {
|
|
375
|
+
/**
|
|
376
|
+
* Body param: The answer the entry would give. Compared by the judge, never used
|
|
377
|
+
* as a search query.
|
|
378
|
+
*/
|
|
379
|
+
answer: string;
|
|
380
|
+
/**
|
|
381
|
+
* Body param: Question variants this answer applies to (1–50). Phrase them the way
|
|
382
|
+
* customers ask.
|
|
383
|
+
*/
|
|
384
|
+
questions: Array<string>;
|
|
385
|
+
/**
|
|
386
|
+
* Body param: Format of `answer`. `markdown` (default) is stored as-is; `html` is
|
|
387
|
+
* converted to markdown.
|
|
388
|
+
*/
|
|
389
|
+
answerFormat?: 'markdown' | 'html';
|
|
390
|
+
/**
|
|
391
|
+
* Body param: Q&A entry / training file IDs to omit from retrieval. The addressed
|
|
392
|
+
* Q&A entry is still compared when its content changes.
|
|
393
|
+
*/
|
|
394
|
+
excludeIds?: Array<string>;
|
|
395
|
+
/**
|
|
396
|
+
* Body param: Stable identity of the would-be Q&A entry. The oracle only reads; it
|
|
397
|
+
* never creates or updates it.
|
|
398
|
+
*/
|
|
399
|
+
externalId?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Body param: Short label for the would-be entry (also used as a search query)
|
|
402
|
+
*/
|
|
403
|
+
title?: string;
|
|
404
|
+
/**
|
|
405
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
406
|
+
* configured API version if not specified.
|
|
407
|
+
*/
|
|
408
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
409
|
+
}
|
|
410
|
+
export interface TrainingDataSearchParams {
|
|
411
|
+
/**
|
|
412
|
+
* Body param: A passage, claim, or question to find existing knowledge for — for
|
|
413
|
+
* example one section of a document you are about to upload. Compared by meaning
|
|
414
|
+
* and by keywords.
|
|
415
|
+
*/
|
|
416
|
+
query: string;
|
|
417
|
+
/**
|
|
418
|
+
* Body param: Q&A entry / training file IDs to leave out — typically the item you
|
|
419
|
+
* are about to update.
|
|
420
|
+
*/
|
|
421
|
+
excludeIds?: Array<string>;
|
|
422
|
+
/**
|
|
423
|
+
* Body param: Restrict to some kinds of knowledge. Default: all three (Q&A
|
|
424
|
+
* entries, training files, live help-center articles).
|
|
425
|
+
*/
|
|
426
|
+
kinds?: Array<'qna' | 'training_file' | 'help_center_article'>;
|
|
427
|
+
/**
|
|
428
|
+
* Body param: How many items to return (1–20).
|
|
429
|
+
*/
|
|
430
|
+
topK?: number;
|
|
431
|
+
/**
|
|
432
|
+
* Header param: API version for this request. Defaults to your organization's
|
|
433
|
+
* configured API version if not specified.
|
|
434
|
+
*/
|
|
435
|
+
'Featurebase-Version'?: '2026-08-19.orbit' | '2026-01-01.nova' | '2025-12-12.clover';
|
|
436
|
+
}
|
|
437
|
+
export declare namespace TrainingData {
|
|
438
|
+
export { type KnowledgeSearch as KnowledgeSearch, type Oracle as Oracle, type TrainingDataOracleParams as TrainingDataOracleParams, type TrainingDataSearchParams as TrainingDataSearchParams, };
|
|
439
|
+
export { Files as Files, type TrainingFile as TrainingFile, type FileDeleteResponse as FileDeleteResponse, type TrainingFilesCursorPage as TrainingFilesCursorPage, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileUpdateParams as FileUpdateParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, };
|
|
440
|
+
export { QnaResource as QnaResource, type Qna as Qna, type QnaDeleteResponse as QnaDeleteResponse, type QnasCursorPage as QnasCursorPage, type QnaCreateParams as QnaCreateParams, type QnaRetrieveParams as QnaRetrieveParams, type QnaUpdateParams as QnaUpdateParams, type QnaListParams as QnaListParams, type QnaDeleteParams as QnaDeleteParams, };
|
|
441
|
+
}
|
|
442
|
+
//# sourceMappingURL=training-data.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"training-data.d.mts","sourceRoot":"","sources":["../../src/resources/training-data/training-data.ts"],"names":[],"mappings":"AAEA,OAAO,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