Added Docker support for the Indexer

This commit is contained in:
2025-06-15 13:56:55 +02:00
parent d95c1c57bb
commit 7d566cd921
8 changed files with 91 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ def index_files(toolset: Toolset):
jsonEntities:list = []
for filename in os.listdir(example_content):
qualified_filepath = example_content + "/" + filename
with open(qualified_filepath, "r") as file:
with open(qualified_filepath, "r", encoding='utf-8') as file:
title = file.readline()
text = file.read()
datapoints:list = [