stuhlmueller / gpt.el

A simple Emacs package for calling instruction-following language models
MIT License
68 stars 10 forks source link

adding support for cohere, anthropic, replicate, palm #10

Closed krrishdholakia closed 1 year ago

krrishdholakia commented 1 year ago

Hey @stuhlmueller ,

Noticed you're ticket to add Claude support - https://github.com/stuhlmueller/gpt.el/issues/9, I'm working on litellm (simple library to standardize LLM API Calls - https://github.com/BerriAI/litellm) and was wondering if we could be helpful.

Added support for Anthropic, PaLM, Llama2, and Cohere with a small change in gpt.py

Would love to know if this helps.

stuhlmueller commented 1 year ago

Thank you - would prefer not to have any Python dependencies besides OpenAI though!