MOE
MOE copied to clipboard
Create MOE clientlib or similar
Right now we have some /examples
that access moe/easy_interface
modules. These modules in turn require some basic components of MOE (constants.py and data_containers.py).
Unfortunately, at the moment users have to checkout the entire code base to access these simple examples. After that, the docs may make them think they need to install all of MOE (including the C++) to make these simple endpoints work, none of which is true (they only need those few files and numpy). Having these files live under /moe
doesn't help.
Instead, it'd be nice to establish moe_common
and/or moe_client
repos. Either...
- constants, data_containers, etc. basic modules live in moe_common, and both moe & moe_client require it.
- everything goes in moe_client for now (since the extra dependencies are few, maybe creating moe_common is overkill) and moe depends on moe_client.
Then as long as you have a moe server somewhere, your local machine only needs moe_client to access our endpoint wrappers and you're good to go.
I think option 2 is preferred for now. the current views/schemas/ folder should also move to the clientlib.