Skip to content

Commit

Permalink
updated references to QvikChat NPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-kural committed Jul 7, 2024
1 parent 3228981 commit b9121c5
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 @@ -31,16 +31,16 @@ You can either install QvikChat as a package or use the QvikChat starter templat
To install QvikChat as a package, run the following command:

```bash copy
npm install qvikchat # or pnpm add qvikchat
npm install @oconva/qvikchat # or pnpm add @oconva/qvikchat
```

Before you can deploy your chat endpoints, you need to setup Firebase Genkit, either by using the default configurations or by providing your own configurations, these may include additional Genkit plugins you may want to enable (e.g. to add support for a new language model). When starting out, we recommend using the default configurations.

Create a `index.ts` (or `index.js`) file and add the following code:

```typescript copy
import { runServer, setupGenkit } from "qvikchat/genkit";
import { defineChatEndpoint } from "qvikchat/endpoints";
import { runServer, setupGenkit } from "@oconva/qvikchat/genkit";
import { defineChatEndpoint } from "@oconva/qvikchat/endpoints";

// Setup Genkit
setupGenkit();
Expand Down

0 comments on commit b9121c5

Please sign in to comment.