Skip to content

Commit 1fbfb9d

Browse files
author
Omer Haim
committed
minor update
1 parent 7ae9487 commit 1fbfb9d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
dependencies/
55

66
.venv/
7-
__pycache__/
7+
__pycache__/
8+
9+
.python-version

load-data-to-opensearch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def main():
7373
if success:
7474
logger.info("Creating OpenSearch index mapping")
7575
success = opensearch.create_index_mapping(opensearch_client, name)
76-
logger.info(f"OpenSearch Index mapping created")
76+
logger.info("OpenSearch Index mapping created")
7777

7878
# Download sample dataset from HuggingFace
7979
logger.info("Downloading dataset from HuggingFace")
@@ -88,7 +88,7 @@ def main():
8888

8989
# Vector embedding using Amazon Bedrock Titan text embedding
9090
all_json_records = []
91-
logger.info(f"Creating embeddings for records")
91+
logger.info("Creating embeddings for records")
9292

9393
# using the arg --early-stop
9494
i = 0

0 commit comments

Comments
 (0)