MindsDB supports the usage of variables. Users can save values of API keys or other frequently used values and pass them as variables when creating knowledge bases, agents, or other MindsDB object.
Here is how to create variables in MindsDB.
SET
and save values either using the from_env()
function or directly.Here is an example for knowledge bases.