From 2c870517b2a509f788016495ea6a0884d29a414b Mon Sep 17 00:00:00 2001 From: Dhravya Date: Sun, 31 Mar 2024 22:52:32 -0700 Subject: remove unnecessasry comment --- apps/cf-ai-backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cf-ai-backend/src/index.ts b/apps/cf-ai-backend/src/index.ts index 5f45eeb0..9b8eec8f 100644 --- a/apps/cf-ai-backend/src/index.ts +++ b/apps/cf-ai-backend/src/index.ts @@ -38,11 +38,11 @@ export default { const store = new CloudflareVectorizeStore(embeddings, { index: env.VECTORIZE_INDEX, }); - // const ai = new Ai(env.AI) const genAI = new GoogleGenerativeAI(env.GOOGLE_AI_API_KEY); const model = genAI.getGenerativeModel({ model: "gemini-pro" }); + // TODO: Add /chat endpoint to chat with the AI in a conversational manner if (pathname === "/add" && request.method === "POST") { const body = await request.json() as { -- cgit v1.2.3