Expose log text interface for qualitative text sections
validmind-library
2.8.17
documentation
enhancement
highlight
You can now log free-form text content in the ValidMind Library to enhance your model documentation. This update introduces the log_text function, allowing you to easily integrate text data into your documentation.
Example usage:
file = open("model_limitations.md", "r")
model_limitations = file.read()
file.close()
vm.log_text(
content_id="model_limitations",
text=model_limitations
)This function logs the data, making it accessible on the platform UI for various document types.
Another example:
readme = open("../README.md", "r").read()
vm.log_text(content_id="my_readme", text=readme)