Skip to content
Snippets Groups Projects
Commit 1ac59397 authored by abir.chebbi's avatar abir.chebbi
Browse files

adjust part 2

parent 5406312f
No related branches found
No related tags found
No related merge requests found
...@@ -127,8 +127,8 @@ def main(endpoint, index_name): ...@@ -127,8 +127,8 @@ def main(endpoint, index_name):
if __name__== "__main__": if __name__== "__main__":
# Argument parsing # Argument parsing
parser = argparse.ArgumentParser(description='Configure endpoint and index name for the lecture chat application.') parser = argparse.ArgumentParser(description='Configure endpoint and index name for the lecture chat application.')
parser.add_argument('endpoint', type=str, help='The endpoint for the OpenSearch service.') parser.add_argument('--endpoint', type=str, help='The endpoint for the OpenSearch service.')
parser.add_argument('index_name', type=str, help='The index name for storing embeddings.') parser.add_argument('--index_name', type=str, help='The index name for storing embeddings.')
args = parser.parse_args() args = parser.parse_args()
main(args.endpoint, args.index_name) main(args.endpoint, args.index_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment