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")
= file.read()
model_limitations file.close()
vm.log_text(="model_limitations",
content_id=model_limitations
text )
This function logs the data, making it accessible on the platform UI for various document types.
Another example:
= open("../README.md", "r").read()
readme ="my_readme", text=readme) vm.log_text(content_id