Package Exports
- @webgpt/sdk
- @webgpt/sdk/dist/esm/index.es.js
- @webgpt/sdk/dist/umd/index.umd.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@webgpt/sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
WebGPT SDK
Usage
npm i @webgpt/sdk
import { WebgptSdk } from '@webgpt/sdk';
const webgpt = new WebgptSdk({
apiKey: 'YOUR_API_KEY',
});
const assignment = webgpt.createAssignment(`Krokodýlí Zoo`, (taskProgress) => {
console.info(`Progress:`, taskProgress);
});
// TODO: !!!