Skip to content

Commit

Permalink
fix(docs): add open ai dummy value to ignore OPENAI_API_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
realdreamer committed Oct 5, 2023
1 parent 3b72555 commit 1d4256b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"7d": "npx 7d pinecone-create-index --index kda-docs --environment asia-northeast1-gcp",
"7d:clear": "npx 7d pinecone-clear-namespace --namespace kda-docs",
"7d:ingest": "npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --namespace kda-docs",
"7d:ingest-algolia": "npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --namespace docs_website_dev --skip-embeddings",
"7d:ingest-algolia": "OPENAI_API_KEY=dummy-key && npx 7d ingest --files 'src/pages/docs/**/*.md' --files 'src/pages/docs/**/*.mdx' --files 'src/specs/**/*.json' --db algolia --namespace docs_website_dev --skip-embeddings",
"7d:query": "npx 7d",
"build": "pnpm run build:scripts && next build",
"build:blogAuthorInfo": "node src/scripts/createBlogAuthors.mjs",
Expand Down

0 comments on commit 1d4256b

Please sign in to comment.