diff --git a/applications/GTE_mlx_RAG/README.md b/applications/GTE_mlx_RAG/README.md index 9637fa26..86d3c872 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 b3b61a8b..f8791c19 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: