Skip to content

1.2410.1

Latest
Compare
Choose a tag to compare
@brunneis brunneis released this 08 Oct 23:57
8ff85c0
  • Add support for HuggingFace SDK and implement StreamWrapper for LLMDK
  • Refactor wrapper classes for consistency and flexibility:
    • Unify prompt handling with prompt_or_messages parameter in GenerateWrapper
    • Add disable_cache option to BaseWrapper and Nootropic
    • Implement shallow copy of messages to avoid modifying originals
    • Refactor system message handling across wrappers
  • Improve error handling and method access:
    • Add getattr methods to raise NotImplementedError for unimplemented methods
    • Remove fallback to original client in Nootropic.getattr
  • Enhance Nootropic class with generic _create_wrapper method
  • Update README with new supported SDKs and example usage
  • Improve type hinting and code formatting throughout