Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-ya authored Aug 9, 2023
1 parent 468458d commit 9cb59eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ To start using the Comet API, create a Comet object with your API key and the ID

```ts
import { Comet } from 'outpostkit'
const comet= Comet('api-key','cometId');
const comet= new Comet('api-key','cometId');
```

### Now you can start prompting the comet service

```ts
const response = comet.prompt({input:"what is useCallback?",stream:false});
const response = comet.prompt({input:"what is useCallback?",configs:{stream:false}});
```


Expand All @@ -45,4 +45,4 @@ const response = comet.prompt({input:"what is useCallback?",stream:false});

Outpost Kit is a project by [Outpost](https://outpost.run).

Released under the MIT License.
Released under the MIT License.

0 comments on commit 9cb59eb

Please sign in to comment.