From 6541794cfef0f7059a61dffca6643e8fd3252075 Mon Sep 17 00:00:00 2001 From: Piaoyang Cui <bcstyle@gmail.com> Date: Sat, 8 Jul 2023 22:15:03 -0700 Subject: [PATCH] Rename leftover original name to LlamaIndex (#6792) * Rename left over original name to LlamaIndex * revert unnecessary change to ipynb * Address comment --- CONTRIBUTING.md | 2 +- docs/examples/vector_stores/RedisIndexDemo.ipynb | 2 +- llama_index/vector_stores/redis.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1ddcab4e09..a77a07c3c7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -239,7 +239,7 @@ if you are in windows, use the following to activate your virtual environment: .venv\scripts\activate ``` -Install the required dependencies (this will also install gpt-index through `pip install -e .` +Install the required dependencies (this will also install LlamaIndex through `pip install -e .` so that you can start developing on it): ```bash diff --git a/docs/examples/vector_stores/RedisIndexDemo.ipynb b/docs/examples/vector_stores/RedisIndexDemo.ipynb index ed5999223c..0ba5e79b0f 100644 --- a/docs/examples/vector_stores/RedisIndexDemo.ipynb +++ b/docs/examples/vector_stores/RedisIndexDemo.ipynb @@ -199,7 +199,7 @@ " >>> # Create a RedisVectorStore\n", " >>> vector_store = RedisVectorStore(\n", " >>> index_name=\"my_index\",\n", - " >>> index_prefix=\"gpt_index\",\n", + " >>> index_prefix=\"llama_index\",\n", " >>> index_args={\"algorithm\": \"HNSW\", \"m\": 16, \"ef_construction\": 200,\n", " \"distance_metric\": \"cosine\"},\n", " >>> redis_url=\"redis://localhost:6379/\",\n", diff --git a/llama_index/vector_stores/redis.py b/llama_index/vector_stores/redis.py index cbf1787e96..206f36613a 100644 --- a/llama_index/vector_stores/redis.py +++ b/llama_index/vector_stores/redis.py @@ -86,7 +86,7 @@ class RedisVectorStore(VectorStore): >>> # Create a RedisVectorStore >>> vector_store = RedisVectorStore( >>> index_name="my_index", - >>> index_prefix="gpt_index", + >>> index_prefix="llama_index", >>> index_args={"algorithm": "HNSW", "m": 16, "ef_construction": 200, "distance_metric": "cosine"}, >>> redis_url="redis://localhost:6379/", -- GitLab