Skip to content

Commit

Permalink
fix(doc-embeddings): minimist import
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnr committed Sep 19, 2023
1 parent 11b7103 commit 42d88ee
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 4 additions & 3 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
"react-markdown": "^8.0.3",
"rehype-slug": "^5.1.0",
"remark": "^14.0.2",
"remark-gfm": "^3.0.1",
"remark-emoji": "^3.1.2",
"remark-gfm": "^3.0.1",
"ui": "*",
"unist-builder": "^3.0.1",
"unist-util-filter": "^4.0.1",
Expand All @@ -96,13 +96,15 @@
"devDependencies": {
"@aws-sdk/client-secrets-manager": "^3.410.0",
"@types/hast": "^2.3.4",
"@types/minimist": "^1.2.2",
"@types/node": "^17.0.24",
"@types/react": "17.0.39",
"@types/unist": "^2.0.6",
"config": "*",
"dotenv": "^16.0.3",
"ejs": "^3.1.8",
"globby": "^13.2.2",
"jest-environment-jsdom": "^29.7.0",
"minimist": "^1.2.8",
"next-transpile-modules": "^9.0.0",
"npm-run-all": "^4.1.5",
Expand All @@ -111,7 +113,6 @@
"ts-node": "^10.9.1",
"tsconfig": "*",
"tsx": "^3.12.2",
"typescript": "^5.0.4",
"jest-environment-jsdom": "^29.7.0"
"typescript": "^5.0.4"
}
}
2 changes: 1 addition & 1 deletion apps/docs/scripts/search/generate-embeddings.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { createClient } from '@supabase/supabase-js'
import dotenv from 'dotenv'
import minimist from 'minimist'
import 'openai'
import { Configuration, OpenAIApi } from 'openai'
import { inspect } from 'util'
import { v4 as uuidv4 } from 'uuid'
import { fetchSources } from './sources'
import * as minimist from 'minimist'

dotenv.config()

Expand Down
7 changes: 7 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 42d88ee

Please sign in to comment.