Getting started
This article describes how to load data, train an MDM model, and use match operation.
Create a client
First you need to have a client for Aidbox mdm Python integration
Create an access policy
Create an acccess policy which allows the client to execute raw SQL queries
Prepare Python
Install Python 3, pip, and poetry.
Follow MDM Python integration readme to launch Jupyter Notebook.
Train a model
Follow MDM Python integration tutorial to learn how to train an MDM model
Export a model
Use save_zen_model_edn
method to export zen symbol for your model
Add model to Aidbox configuration project
Insert exported symbol to your Aidbox configuration project. And enable an MDM service.
Example:
Prepare MDM tables
Call aidbox.mdm/update-mdm-tables
RPC method to prepare MDM tables.
Use match operation
Use $match operation or aidbox.mdm/match
RPC method to find similar resources:
Example output:
Last updated