We have recently allowed parameterization of the openai model configuration, like API end-point, so you can now use the OpenAI compatible Google Cloud API, like this: https://github.com/typesense/typesense/pull/2251
You need to use a recent RC build like