Skip to content

Commit

Permalink
Update readme script
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole White committed Oct 27, 2023
1 parent 79d26e8 commit 413a0ea
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 20 deletions.
2 changes: 0 additions & 2 deletions JavaScript/chatbot-nextjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ View the deployed application at https://chatbot-example.autoblocks.ai
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named `.env` in this folder and include the following environment variables:

`.env`

```
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
Expand Down
2 changes: 0 additions & 2 deletions JavaScript/langchain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named `.env` in this folder and include the following environment variables:

`.env`

```
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
Expand Down
2 changes: 0 additions & 2 deletions JavaScript/novel-ai-text-editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ Example Next.js application using [Novel](https://github.com/steven-tey/novel).
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named `.env` in this folder and include the following environment variables:

`.env`

```
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
Expand Down
2 changes: 0 additions & 2 deletions JavaScript/openai-automated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named `.env` in this folder and include the following environment variables:

`.env`

```
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
Expand Down
2 changes: 0 additions & 2 deletions JavaScript/openai-manual/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named `.env` in this folder and include the following environment variables:

`.env`

```
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
Expand Down
2 changes: 0 additions & 2 deletions Python/langchain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named `.env` in this folder and include the following environment variables:

`.env`

```
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
Expand Down
2 changes: 0 additions & 2 deletions Python/openai-automated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named `.env` in this folder and include the following environment variables:

`.env`

```
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
Expand Down
2 changes: 0 additions & 2 deletions Python/openai-manual/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named `.env` in this folder and include the following environment variables:

`.env`

```
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
Expand Down
9 changes: 5 additions & 4 deletions tools/make-readmes.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,19 @@ const BANNER_START_COMMENT = '<!-- banner start -->';
const BANNER_END_COMMENT = '<!-- banner end -->';

// Getting started checklist we add to each individual project README
const GETTING_STARTED = `## Getting started
const GETTING_STARTED = `
## Getting started
- Sign up for an Autoblocks account at https://app.autoblocks.ai
- Grab your Autoblocks ingestion key from https://app.autoblocks.ai/settings/api-keys
- Grab your OpenAI API key from https://platform.openai.com/account/api-keys
- Create a file named \`.env\` in this folder and include the following environment variables:
\`.env\`
\`\`\`
OPENAI_API_KEY=<your-api-key>
AUTOBLOCKS_INGESTION_KEY=<your-ingestion-key>
\`\`\``;
\`\`\`
`;

const GETTING_STARTED_START_COMMENT = '<!-- getting started start -->';
const GETTING_STARTED_END_COMMENT = '<!-- getting started end -->';
Expand Down Expand Up @@ -131,7 +132,7 @@ const GETTING_STARTED_END_COMMENT = '<!-- getting started end -->';
content: readme,
startComment: `<!-- ${section} start -->`,
endComment: `<!-- ${section} end -->`,
replacement: makeMarkdownTable(headers, rows),
replacement: '\n' + makeMarkdownTable(headers, rows) + '\n',
});
}

Expand Down

0 comments on commit 413a0ea

Please sign in to comment.