From aaf5fbfff96f75ed694e75ef8457fae7a0c0aa39 Mon Sep 17 00:00:00 2001 From: KevKibe Date: Tue, 14 May 2024 11:17:23 +0300 Subject: [PATCH] refactor: move create_index and delete_index to utils --- src/utils/create_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/create_index.py b/src/utils/create_index.py index 2653f22..eb1d7a6 100644 --- a/src/utils/create_index.py +++ b/src/utils/create_index.py @@ -2,7 +2,7 @@ import argparse def parse_args(): - parser = argparse.ArgumentParser(description="Index documents on Pinecone using OpenAI embeddings.") + parser = argparse.ArgumentParser(description="Create an Index on Pinecone.") parser.add_argument("--pinecone_api_key", type=str, help="Pinecone API key") parser.add_argument("--index_name", type=str, help="Name of the Pinecone index") return parser.parse_args()