Skip to content

Commit 84ea341

Browse files
Silas Marvingitbook-bot
authored andcommitted
GITBOOK-93: Quick Fixes
1 parent 410129d commit 84ea341

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

pgml-cms/docs/getting-started/connect-your-app.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ These SDKs are under rapid development to add new features and use cases, but we
1616

1717
{% tabs %}
1818
{% tab title="JavaScript" %}
19-
```
19+
```bash
2020
npm i pgml
2121
```
2222
{% endtab %}
@@ -32,13 +32,13 @@ pip install pgml
3232

3333
{% tabs %}
3434
{% tab title="JavaScript" %}
35-
```
35+
```javascript
3636
const pgml = require("pgml");
3737

38-
const main = async () => {
38+
const main = () => {
3939
const client = pgml.newOpenSourceAI();
4040
const results = client.chat_completions_create(
41-
"mistralai/Mistral-7B-Instruct-v0.1",
41+
"HuggingFaceH4/zephyr-7b-beta",
4242
[
4343
{
4444
role: "system",
@@ -51,17 +51,18 @@ const main = async () => {
5151
],
5252
);
5353
console.log(results);
54+
}
5455
```
5556
{% endtab %}
5657

5758
{% tab title="Python" %}
58-
```
59+
```python
5960
import pgml
6061

6162
async def main():
6263
client = pgml.OpenSourceAI()
6364
results = client.chat_completions_create(
64-
"mistralai/Mistral-7B-Instruct-v0.1",
65+
"HuggingFaceH4/zephyr-7b-beta",
6566
[
6667
{
6768
"role": "system",

0 commit comments

Comments
 (0)