vm | R Documentation |
Retrieve a validmind (vm) connection object using reticulate
vm(
api_key,
api_secret,
model,
python_version,
api_host = "http://localhost:3000/api/v1/tracking"
)
api_key |
The ValidMind API key |
api_secret |
The ValidMind API secret |
model |
The ValidMind model |
python_version |
The Python Version to use |
api_host |
The ValidMind host, defaulting to local |
A validmind connection object, obtained from 'reticulate', which orchestrates the connection to the ValidMind API
## Not run:
vm_r <- vm(
api_key="<your_api_key_here>",
api_secret="<your_api_secret_here>",
model="<your_model_id_here>",
python_version=python_version,
api_host="https://api.dev.vm.validmind.ai/api/v1/tracking"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.