This is the first use of the refactoring made in #374 -- removing the
embeddings/openai directory entirely, since it can be now implemented
with NewEmbedder without duplicating code. The test was moved one
dir down and works with the new setup.
This is a model that can be used to similarly refactor the other
embeddings/* subdirs.
This is a large PR because it also updates example go.mods
For #379
* LLM: Add support for Ernie chat_completions
The current implementation lacks support for Ernie chat_completions, so I've added code for this. The committed changes include basic stream calls, function calls, and other capabilities.