Skip to content

Commit

Permalink
refactor: move create_index and delete_index to utils
Browse files Browse the repository at this point in the history
  • Loading branch information
KevKibe committed May 14, 2024
1 parent a30beaa commit aaf5fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/create_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit aaf5fbf

Please sign in to comment.