Enter to sendยทShift+Enter new line
Use tenacity to retry the completion call.
Google's PaLM Embeddings APIs.