From 6a409cbbc6283645980aa3f72b5a47a4b7b423d4 Mon Sep 17 00:00:00 2001
From: Huu Le <39040748+leehuwuj@users.noreply.github.com>
Date: Fri, 6 Sep 2024 13:12:42 +0700
Subject: [PATCH] chore: bump tool package versions (#273)

---
 .changeset/tame-tables-sit.md                    | 5 +++++
 helpers/python.ts                                | 4 ++--
 helpers/tools.ts                                 | 8 ++++----
 templates/types/streaming/fastapi/pyproject.toml | 2 +-
 4 files changed, 12 insertions(+), 7 deletions(-)
 create mode 100644 .changeset/tame-tables-sit.md

diff --git a/.changeset/tame-tables-sit.md b/.changeset/tame-tables-sit.md
new file mode 100644
index 00000000..d1d55f38
--- /dev/null
+++ b/.changeset/tame-tables-sit.md
@@ -0,0 +1,5 @@
+---
+"create-llama": patch
+---
+
+Bump web and database reader packages
diff --git a/helpers/python.ts b/helpers/python.ts
index 0a2f25aa..aee63dad 100644
--- a/helpers/python.ts
+++ b/helpers/python.ts
@@ -109,13 +109,13 @@ const getAdditionalDependencies = (
         case "web":
           dependencies.push({
             name: "llama-index-readers-web",
-            version: "^0.1.6",
+            version: "^0.2.2",
           });
           break;
         case "db":
           dependencies.push({
             name: "llama-index-readers-database",
-            version: "^0.1.3",
+            version: "^0.2.0",
           });
           dependencies.push({
             name: "pymysql",
diff --git a/helpers/tools.ts b/helpers/tools.ts
index c92499f2..a635e3fd 100644
--- a/helpers/tools.ts
+++ b/helpers/tools.ts
@@ -41,7 +41,7 @@ export const supportedTools: Tool[] = [
     dependencies: [
       {
         name: "llama-index-tools-google",
-        version: "0.1.2",
+        version: "^0.2.0",
       },
     ],
     supportedFrameworks: ["fastapi"],
@@ -83,7 +83,7 @@ For better results, you can specify the region parameter to get results from a s
     dependencies: [
       {
         name: "llama-index-tools-wikipedia",
-        version: "0.1.2",
+        version: "^0.2.0",
       },
     ],
     supportedFrameworks: ["fastapi", "express", "nextjs"],
@@ -145,7 +145,7 @@ For better results, you can specify the region parameter to get results from a s
     dependencies: [
       {
         name: "llama-index-tools-openapi",
-        version: "0.1.3",
+        version: "0.2.0",
       },
       {
         name: "jsonschema",
@@ -153,7 +153,7 @@ For better results, you can specify the region parameter to get results from a s
       },
       {
         name: "llama-index-tools-requests",
-        version: "0.1.3",
+        version: "0.2.0",
       },
     ],
     config: {
diff --git a/templates/types/streaming/fastapi/pyproject.toml b/templates/types/streaming/fastapi/pyproject.toml
index 218d6d69..b66ca346 100644
--- a/templates/types/streaming/fastapi/pyproject.toml
+++ b/templates/types/streaming/fastapi/pyproject.toml
@@ -14,7 +14,7 @@ fastapi = "^0.109.1"
 uvicorn = { extras = ["standard"], version = "^0.23.2" }
 python-dotenv = "^1.0.0"
 aiostream = "^0.5.2"
-llama-index = "0.11.1"
+llama-index = "0.11.6"
 cachetools = "^5.3.3"
 
 [build-system]
-- 
GitLab