ProjectUnifree / unifree

MIT License
1.43k stars 75 forks source link

Added Support for Multiple LLMs #29

Closed bshikin closed 12 months ago

bshikin commented 12 months ago
  1. Created an abstract class LLM
  2. Moved ChatGPTMixin to ChatGptLLM
  3. Added support for various LLM configuration via following config strucdture:
    llm:
    class: ChatGptLLM
    config:
    model: "gpt-3.5-turbo"
    max_tokens: 4000
  4. Multiple code changes to support the above