From 8878295984659085c671b179af7d43eb5ba1a508 Mon Sep 17 00:00:00 2001
From: thucpn <thucsh2@gmail.com>
Date: Thu, 28 Dec 2023 14:52:12 +0700
Subject: [PATCH] docs: update packages

---
 templates/index.ts                               | 1 +
 templates/types/simple/fastapi/pyproject.toml    | 1 +
 templates/types/streaming/fastapi/pyproject.toml | 1 +
 3 files changed, 3 insertions(+)

diff --git a/templates/index.ts b/templates/index.ts
index 169dd2ec..1165c946 100644
--- a/templates/index.ts
+++ b/templates/index.ts
@@ -42,6 +42,7 @@ const createEnvLocalFile = async (
 
   switch (opts?.vectorDb) {
     case "mongo": {
+      content += `# For generating a connection URI, see https://www.mongodb.com/docs/guides/atlas/connection-string\n`;
       content += `MONGO_URI=\n`;
       content += `MONGODB_DATABASE=\n`;
       content += `MONGODB_VECTORS=\n`;
diff --git a/templates/types/simple/fastapi/pyproject.toml b/templates/types/simple/fastapi/pyproject.toml
index f9bb9605..a563ffbf 100644
--- a/templates/types/simple/fastapi/pyproject.toml
+++ b/templates/types/simple/fastapi/pyproject.toml
@@ -12,6 +12,7 @@ uvicorn = { extras = ["standard"], version = "^0.23.2" }
 llama-index = "^0.9.19"
 pypdf = "^3.17.0"
 python-dotenv = "^1.0.0"
+pymongo = "^4.6.1"
 
 
 [build-system]
diff --git a/templates/types/streaming/fastapi/pyproject.toml b/templates/types/streaming/fastapi/pyproject.toml
index f9bb9605..a563ffbf 100644
--- a/templates/types/streaming/fastapi/pyproject.toml
+++ b/templates/types/streaming/fastapi/pyproject.toml
@@ -12,6 +12,7 @@ uvicorn = { extras = ["standard"], version = "^0.23.2" }
 llama-index = "^0.9.19"
 pypdf = "^3.17.0"
 python-dotenv = "^1.0.0"
+pymongo = "^4.6.1"
 
 
 [build-system]
-- 
GitLab