* fix embedding endpoint for openai compatible api * remove unused imports * add backwards compat for embedding --------- Co-authored-by: timothycarambat <rambat1010@gmail.com>