diff options
| author | Dhravya <[email protected]> | 2024-04-12 23:49:11 -0700 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-04-12 23:49:11 -0700 |
| commit | 38222b91be0a7fe8f3b7d19b2410fb3aabb5b0c6 (patch) | |
| tree | f2cae4c994762c944a249ee00791f0bd9120bb32 /apps/web/src/app/api/vectorizeTweets | |
| parent | bookmark tweets feature (diff) | |
| download | supermemory-38222b91be0a7fe8f3b7d19b2410fb3aabb5b0c6.tar.xz supermemory-38222b91be0a7fe8f3b7d19b2410fb3aabb5b0c6.zip | |
vectorize function
Diffstat (limited to 'apps/web/src/app/api/vectorizeTweets')
| -rw-r--r-- | apps/web/src/app/api/vectorizeTweets/route.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/src/app/api/vectorizeTweets/route.ts b/apps/web/src/app/api/vectorizeTweets/route.ts index 5dfb22f1..63aa38f0 100644 --- a/apps/web/src/app/api/vectorizeTweets/route.ts +++ b/apps/web/src/app/api/vectorizeTweets/route.ts @@ -43,6 +43,8 @@ export async function POST(req: NextRequest) { const body = (await req.json()) as TweetData[]; + console.log(body); + const resp = await fetch( `https://cf-ai-backend.dhravya.workers.dev/batchUploadTweets`, { |