Spaces:
Runtime error
Runtime error
Commit History
-
Fix examples to run correctly end-to-end
horriblecpp +1: Claude Sonnet 4.6- Switch example imports from @botcierge/sdk to ../src/index.ts so they work without a dist/ build step when run with tsx - Add "type": "module" to package.json so top-level await works in ESM - Make IntentResult.scores optional to match what the backend actually returns (classify() only returns domain, intent, confidence) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>d58e081 -
Add SDK usage examples
horriblecpp +1: Claude Sonnet 4.6Four runnable TypeScript examples covering basic usage, custom client configuration, error handling, and batch classification. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>87996a7