Skip to content

Commit

Permalink
docs: fix expression
Browse files Browse the repository at this point in the history
  • Loading branch information
yoojinko committed Sep 21, 2023
1 parent 3696f4b commit f43e185
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ainize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default class Ainize {
}

/**
* Login of the ainize using AI Network account private key.
* Login to ainize using AI Network account private key.
* @param {string} privateKey
*/
async login(privateKey: string) {
Expand All @@ -43,7 +43,7 @@ export default class Ainize {
}

/**
* Logout of the ainize.
* Logout from ainize.
*/
async logout() {
this.ain.removeDefaultAccount();
Expand All @@ -62,8 +62,8 @@ export default class Ainize {
// FIXME(yoojin): add config type and change param type.
/**
* Deploy AI model container.
* @param {deployConfig} deployConfig Set configuration for container. modelName, billingConfig, etc.
* @returns {Model} Control object of deployed model.
* @param {deployConfig} deployConfig Set configuration for setting container. modelName, billingConfig, etc.
* @returns {Model} Deployed model object.
*/
// TODO(yoojin, woojae): Deploy container, advanced.
async deploy({modelName, billingConfig, serviceUrl}: deployConfig): Promise<Model> {
Expand Down Expand Up @@ -94,7 +94,7 @@ export default class Ainize {
/**
* Get deployed model.
* @param modelName
* @returns {Model} Control object of deployed model.
* @returns {Model} Deployed model object.
*/
async model(modelName: string): Promise<Model> {
const modelPath = Path.app(modelName).root();
Expand Down

0 comments on commit f43e185

Please sign in to comment.