From c8fec77a6c53a0c3a689cb14a96c443f7d8ecf14 Mon Sep 17 00:00:00 2001 From: raghavdixit99 Date: Wed, 7 Feb 2024 16:08:49 -0500 Subject: [PATCH] formatting changes --- applications/GTE_mlx_RAG/README.md | 2 +- applications/GTE_mlx_RAG/ingest_pdf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/GTE_mlx_RAG/README.md b/applications/GTE_mlx_RAG/README.md index 9637fa2..86d3c87 100644 --- a/applications/GTE_mlx_RAG/README.md +++ b/applications/GTE_mlx_RAG/README.md @@ -15,7 +15,7 @@ It is built using `lancedb.embeddings.gte` embedding function which uses General Please install lancedb via git instead of PyPI as some latest features might be missing, to get the latest code, run the following in your virtual env : ```bash -pip install -e "git+https://github.com/lancedb/lancedb.git#egg=lancedb&subdirectory=python" +python3 -m pip install -e "git+https://github.com/lancedb/lancedb.git#egg=lancedb&subdirectory=python" python3 -m pip install -r requirements.txt ``` diff --git a/applications/GTE_mlx_RAG/ingest_pdf.py b/applications/GTE_mlx_RAG/ingest_pdf.py index b3b61a8..f8791c1 100644 --- a/applications/GTE_mlx_RAG/ingest_pdf.py +++ b/applications/GTE_mlx_RAG/ingest_pdf.py @@ -41,7 +41,7 @@ def pdf_to_lancedb(pdf_file: str, path: str = "/tmp/lancedb"): Parameters: - pdf_file (str): The path to the input PDF file. - - vdb_file (str): The path to store the vector DB. + - path (str): The path to store the vector DB. default: /tmp/lancedb Returns: