notice
This is documentation for Rasa & Rasa Pro Documentation v2.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.x).
Version: 2.x
rasa.nlu.utils
module_path_from_object
module_path_from_object(o: Any) -> Text
Returns the fully qualified class path of the instantiated object.
write_json_to_file
write_json_to_file(filename: Text, obj: Any, **kwargs: Any) -> None
Write an object as a json string to a file.
write_to_file
write_to_file(filename: Text, text: Any) -> None
Write a text to a file.
is_url
is_url(resource_name: Text) -> bool
Check whether the url specified is a well formed one.
Arguments:
resource_name
- Remote URL to validate
Returns:
True
if valid, otherwise False
.