From 2ea91dc94bc67432373ee529a5e3f20b50c78230 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 --- packages/create-llama/templates/index.ts | 1 + .../create-llama/templates/types/simple/fastapi/pyproject.toml | 1 + .../templates/types/streaming/fastapi/pyproject.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/create-llama/templates/index.ts b/packages/create-llama/templates/index.ts index 169dd2ec6..1165c9467 100644 --- a/packages/create-llama/templates/index.ts +++ b/packages/create-llama/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/packages/create-llama/templates/types/simple/fastapi/pyproject.toml b/packages/create-llama/templates/types/simple/fastapi/pyproject.toml index f9bb9605b..a563ffbfd 100644 --- a/packages/create-llama/templates/types/simple/fastapi/pyproject.toml +++ b/packages/create-llama/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/packages/create-llama/templates/types/streaming/fastapi/pyproject.toml b/packages/create-llama/templates/types/streaming/fastapi/pyproject.toml index f9bb9605b..a563ffbfd 100644 --- a/packages/create-llama/templates/types/streaming/fastapi/pyproject.toml +++ b/packages/create-llama/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