gen_ai_hub.orchestration.utils module

gen_ai_hub.orchestration.utils.load_text_file(file_path)

Loads and returns the content of a text file.

Parameters:

file_path (str) – The path to the text file to be loaded.

Returns:

The content of the file as a string.

Return type:

str