Skip to content

Commit

Permalink
fix js imports on examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ardan-bkennedy committed Jun 7, 2024
1 parent 1837488 commit 4a45e9c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/PII.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ your preference or requirements, select the appropriate method for your applicat

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ your application.

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/chat_sse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ method for your application.

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/chat_vision.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ images that are base64 encoded represented by a data uri.

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/completions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ on your preference or requirements, select the appropriate method for your appli

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/embeddings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ encoded in a base64 string.

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/factuality.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ for your application.

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/injection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ your application.

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/toxicity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ on your preference or requirements, select the appropriate method for your appli

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down
2 changes: 1 addition & 1 deletion fern/docs/pages/reference/translate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ your preference or requirements, select the appropriate method for your applicat

<CodeBlock title="NodeJS">
```js
import * as pg from '../dist/index.js';
import * as pg from 'predictionguard';

const client = new pg.Client('https://api.predictionguard.com', process.env.PGKEY);

Expand Down

0 comments on commit 4a45e9c

Please sign in to comment.