Skip to content

Commit

Permalink
docs: Update README templates to include instructions for generating …
Browse files Browse the repository at this point in the history
…embeddings
  • Loading branch information
marcusschiesser committed Mar 20, 2024
1 parent 58d9c0c commit e851c0c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion templates/types/simple/express/README-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ First, install the dependencies:
npm install
```

Second, run the development server:
Second, generate the embeddings of the documents in the `./data` directory (if this folder exists - otherwise, skip this step):

```
npm run generate
```

Third, run the development server:

```
npm run dev
Expand Down
8 changes: 7 additions & 1 deletion templates/types/streaming/express/README-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ First, install the dependencies:
npm install
```

Second, run the development server:
Second, generate the embeddings of the documents in the `./data` directory (if this folder exists - otherwise, skip this step):

```
npm run generate
```

Third, run the development server:

```
npm run dev
Expand Down
8 changes: 7 additions & 1 deletion templates/types/streaming/nextjs/README-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ First, install the dependencies:
npm install
```

Second, run the development server:
Second, generate the embeddings of the documents in the `./data` directory (if this folder exists - otherwise, skip this step):

```
npm run generate
```

Third, run the development server:

```
npm run dev
Expand Down

0 comments on commit e851c0c

Please sign in to comment.