Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammad-usman-108 committed May 29, 2024
1 parent b9cc1c2 commit de02f5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ You can install this package using npm or yarn.
// Usage example

```typescript
import {
Paraphrase,
GrammaticalCorrection,
TextImprovements,
TextSegmentation,
ContextualAnswer } from 'ai21-sdk';
import Paraphrase from "ai21-sdk/dist/paraphrase";
import GrammaticalCorrection from "ai21-sdk/dist/grammaticalCorrection";
import TextImprovements from "ai21-sdk/dist/textImprovements";
import TextSegmentation from "ai21-sdk/dist/textSegmentation";
import ContextualAnswer from "ai21-sdk/dist/contextualAnswers";

const access_token = 'xxxxxxxxxxxxxxxxxx';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ai21-sdk",
"version": "1.0.1",
"version": "1.0.2",
"description": "A npm package designed specializing in Natural Language Processing, which develops AI systems that can understand and generate natural language.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit de02f5d

Please sign in to comment.