diff options
| author | Dhravya <[email protected]> | 2024-03-30 15:27:36 -0700 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-03-30 15:27:36 -0700 |
| commit | ce2da50398a4f4fc5c79841877bb6a58ec1d2a15 (patch) | |
| tree | 5be6da220d7792eab7d118d664e5216c3dec3c4c | |
| parent | fix: type error (diff) | |
| download | archived-supermemory-ce2da50398a4f4fc5c79841877bb6a58ec1d2a15.tar.xz archived-supermemory-ce2da50398a4f4fc5c79841877bb6a58ec1d2a15.zip | |
update: fixed type error in OpenaiEmbeddings and added tailwindcss-animate as requirement
| -rw-r--r-- | apps/cf-ai-backend/src/OpenAIEmbedder.ts | 2 | ||||
| -rw-r--r-- | package.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/cf-ai-backend/src/OpenAIEmbedder.ts b/apps/cf-ai-backend/src/OpenAIEmbedder.ts index aa6935a1..35c36c74 100644 --- a/apps/cf-ai-backend/src/OpenAIEmbedder.ts +++ b/apps/cf-ai-backend/src/OpenAIEmbedder.ts @@ -1,4 +1,4 @@ -import { AiTextEmbeddings } from "@cloudflare/ai/dist/tasks/text-embeddings"; +import { AiTextGenerationOutput } from "@cloudflare/ai/dist/ai/tasks/text-generation"; interface OpenAIEmbeddingsParams { apiKey: string; diff --git a/package.json b/package.json index a668efb0..30ff476f 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "lucide-react": "^0.343.0", "next-auth": "beta", "react-markdown": "^9.0.1", - "remark-gfm": "^4.0.0" + "remark-gfm": "^4.0.0", + "tailwindcss-animate": "^1.0.7" } } |