From a98bdb8ecee513dc2e880f56674e7fd157d1dc3a Mon Sep 17 00:00:00 2001
From: Andrei Fajardo <92402603+nerdai@users.noreply.github.com>
Date: Wed, 29 Nov 2023 12:22:04 -0500
Subject: [PATCH] Fix incorrect LLAMA_HUB_CONTENTS_URL (#9215)

* fix bug. point to main

* make entry in CHANGELOG
---
 CHANGELOG.md                           | 1 +
 llama_index/download/download_utils.py | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index c1d165691f..25f2944c67 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@
 
 ### Bug Fixes / Nits
 
+- Fix bug in `download_utils.py` with pointing to wrong repo (#9215)
 - Use `azure_deployment` kwarg in `AzureOpenAILLM` (#9174)
 - Fix similarity score return for `AstraDBVectorStore` Integration (#9193)
 
diff --git a/llama_index/download/download_utils.py b/llama_index/download/download_utils.py
index d8082f64ab..7ba4195b7b 100644
--- a/llama_index/download/download_utils.py
+++ b/llama_index/download/download_utils.py
@@ -12,9 +12,7 @@ import pkg_resources
 import requests
 from pkg_resources import DistributionNotFound
 
-LLAMA_HUB_CONTENTS_URL = (
-    f"https://raw.githubusercontent.com/run-llama/llama-hub/datasets"
-)
+LLAMA_HUB_CONTENTS_URL = f"https://raw.githubusercontent.com/run-llama/llama-hub/main"
 LLAMA_HUB_PATH = "/llama_hub"
 LLAMA_HUB_URL = LLAMA_HUB_CONTENTS_URL + LLAMA_HUB_PATH
 
-- 
GitLab