MOE icon indicating copy to clipboard operation
MOE copied to clipboard

Create MOE clientlib or similar

Open suntzu86 opened this issue 10 years ago • 1 comments

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...

  1. constants, data_containers, etc. basic modules live in moe_common, and both moe & moe_client require it.
  2. 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.

suntzu86 avatar Jul 09 '14 22:07 suntzu86

I think option 2 is preferred for now. the current views/schemas/ folder should also move to the clientlib.

suntzu86 avatar Jul 13 '14 22:07 suntzu86