diff --git a/README.md b/README.md index 8348bf1..8373db3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# ainize-sdk +# ainize-js -A Typescript SDK for the Ainize, a system for running AI services on the AI Network. +A Typescript JS for the Ainize, a system for running AI services on the AI Network. ## Requirements node >= 16 @@ -8,14 +8,14 @@ node >= 16 ## usage ### Install ```bash -npm install @ainize-team/ainize-sdk +npm install @ainize-team/ainize-js -yarn install @ainize-team/ainize-sdk +yarn install @ainize-team/ainize-js ``` ### Import ```typescript -import Ainize from '@ainize-team/ainize-sdk' +import Ainize from '@ainize-team/ainize-js' const ainize = new Ainize(); ``` @@ -49,9 +49,9 @@ service.run(); ``` ### Using Service -You can use a service using `ainize.service()`. +You can use a service using `ainize.getService()`. ```typescript -const service = await ainize.service(); +const service = await ainize.getService(); ``` You should deposit AIN to credit before using service.