Sophia NLU Engine: Import your Own Named Entities

Sophia offers the flexibility to import your own named entities. With support for a hierarchical category structure, you can effortlessly organize and extend the engine's vocabulary with your own products or other items.

To import named entities, simply prepare a directory structure where file and directory names represent categories. Directories can be nested as deeply as needed, and each file should contain one named entity or proper noun per line. When your directory is ready, import it by running a function in the shared library or calling the RPC command: import_entities(dirname).

This feature empowers your software to accurately parse and tag user input with an extensible vocabulary, ensuring that all future interactions are processed with precision. Whether you're working with specialized terms or expanding into new domains, our NLU engine adapts seamlessly to your needs, providing robust and reliable language processing.