Skip to content

Commit

Permalink
Merge pull request #35 from Cherry/chore/remove-cloudflare-ai-package
Browse files Browse the repository at this point in the history
chore: remove @cloudflare/ai package
  • Loading branch information
Dhravya authored May 10, 2024
2 parents 54cc268 + 35de8c0 commit c771885
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/cf-ai-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"unsafe-reset-vector-db": "wrangler vectorize delete supermem-vector && wrangler vectorize create --dimensions=1536 supermem-vector-1 --metric=cosine"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240222.0",
"@cloudflare/workers-types": "^4.20240502.0",
"typescript": "^5.0.4",
"wrangler": "^3.0.0"
}
Expand Down
2 changes: 0 additions & 2 deletions apps/cf-ai-backend/src/OpenAIEmbedder.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { AiTextGenerationOutput } from '@cloudflare/ai/dist/ai/tasks/text-generation';

interface OpenAIEmbeddingsParams {
apiKey: string;
modelName: string;
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"devDependencies": {
"@cloudflare/next-on-pages": "1",
"@cloudflare/workers-types": "^4.20240329.0",
"@cloudflare/workers-types": "^4.20240502.0",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"dependencies": {
"@auth/d1-adapter": "^0.6.0",
"@auth/drizzle-adapter": "^0.7.0",
"@cloudflare/ai": "^1.0.52",
"@cloudflare/next-on-pages-next-dev": "^0.0.1",
"@cloudflare/puppeteer": "^0.0.6",
"@crxjs/vite-plugin": "^1.0.14",
Expand Down

0 comments on commit c771885

Please sign in to comment.