This might be achievable by using a library that already offers support for multiple backends, e.g., LangChain. * Claude (Anthropic) * Coral (Cohere) * Bard (Google) * Replicate