We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5394d67 commit 3a48970Copy full SHA for 3a48970
package.json
@@ -18,7 +18,7 @@
18
"lint": "npx eslint 'src/**/*.{ts,tsx}' --no-ignore",
19
"format": "prettier --write \"src/**/*.ts\"",
20
"prepare": "npm run build",
21
- "example": "npx tsx src/script.ts"
+ "example": "npx tsx src/example.ts"
22
},
23
"files": [
24
"dist"
src/script.ts renamed to src/example.ts
@@ -1,5 +1,8 @@
1
import { AI21 } from './Client';
2
3
+/*
4
+ This is a temporary example to test the API streaming/non-streaming functionality.
5
+*/
6
async function main() {
7
const client = new AI21('L40MQGXxfbtQVnCRqNTTKaojD8Snt7nQ');
8
0 commit comments