Realm

oa::ml::byte::encode_text

Upload UTF-8 text without tokenization or normalization on this thread’s default runtime. Errors Returns an error when the default runtime cannot be initialized or when allocation or upload fails.

FnRust public API

Function Documentation

pub fn encode_text( text: &str ) -> Result<Matrix>
Upload UTF-8 text without tokenization or normalization on this thread’s default runtime. Errors Returns an error when the default runtime cannot be initialized or when allocation or upload fails.