There's also llm.el which I've heard gas a push to he in core emacs:
https://emacsconf.org/2023/talks/llm/