Skip to content

Commit

Permalink
Update update-index.sh to switch from master to latest
Browse files Browse the repository at this point in the history
Signed-off-by: Goku Mohandas <[email protected]>
  • Loading branch information
GokuMohandas authored Jan 26, 2024
1 parent 54bf86b commit 1a9ce96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update-index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ "$load_docs" = true ]; then
wget -e robots=off --recursive --no-clobber --page-requisites \
--html-extension --convert-links --restrict-file-names=windows \
--domains docs.ray.io --no-parent --accept=html --retry-on-http-error=429 \
-P $EFS_DIR https://docs.ray.io/en/master/
-P $EFS_DIR https://docs.ray.io/en/latest/
fi

# Drop and create table
Expand All @@ -36,7 +36,7 @@ from pathlib import Path
from rag.config import EFS_DIR
from rag.index import build_index
build_index(
docs_dir=Path(EFS_DIR, "docs.ray.io/en/master/"),
docs_dir=Path(EFS_DIR, "docs.ray.io/en/latest/"),
chunk_size=700,
chunk_overlap=50,
embedding_model_name=os.environ["EMBEDDING_MODEL_NAME"],
Expand Down

0 comments on commit 1a9ce96

Please sign in to comment.