matrix-gptbot/CHANGELOG.md
Kumi 8e0cffe02a
All checks were successful
Docker CI/CD / Docker Build and Push to Docker Hub (push) Successful in 7m53s
Python Package CI/CD / Setup and Test (push) Successful in 1m13s
Python Package CI/CD / Publish to PyPI (push) Successful in 37s
feat: enhance AI integration & update models
Refactored the handling of AI providers to support multiple AI services efficiently, introducing a `BaseAI` class from which all AI providers now inherit. This change modernizes our approach to AI integration, providing a more flexible and maintainable architecture for future expansions and enhancements.

- Adopted `gpt-4o` and `dall-e-3` as the default models for chat and image generation, respectively, aligning with the latest advancements in AI capabilities.
- Integrated `ruff` as a development dependency to enforce coding standards and improve code quality through consistent linting.
- Removed unused API keys and sections from `config.dist.ini` to streamline configuration management and clarify setup processes for new users.
- Updated the command line tool for improved usability and fixed previous issues preventing its effective operation.
- Enhanced OpenAI integration with advanced settings for temperature, top_p, frequency_penalty, and presence_penalty, enabling finer control over AI-generated outputs.

This comprehensive update not only enhances the bot's performance and usability but also lays the groundwork for incorporating additional AI providers, ensuring the project remains at the forefront of AI-driven chatbot technologies.

Resolves #13
2024-05-17 11:26:37 +02:00

2.4 KiB

Changelog

0.3.11 (2024-05-17)

  • Refactoring of AI provider handling in preparation for multiple AI providers: Introduced a BaseAI class that all AI providers must inherit from
  • Added support for temperature, top_p, frequency_penalty, and presence_penalty in AllowedUsers
  • Introduced ruff as a development dependency for linting and applied some linting fixes
  • Fixed gptbot command line tool
  • Changed default chat model to gpt-4o
  • Changed default image generation model to dall-e-3
  • Removed currently unused sections from config.dist.ini
  • Changed provided Pantalaimon config file to not use a key ring by default
  • Prevent bot from crashing when an unneeded dependency is missing

0.3.10 (2024-05-16)

  • Add support for specifying room IDs in AllowedUsers
  • Minor fixes

0.3.9 (2024-04-23)

  • Add Docker support for running the bot in a container
  • Add TrackingMore dependency to pyproject.toml
  • Replace deprecated pkg_resources with importlib.metadata
  • Allow password-based login on first login

0.3.7 / 0.3.8 (2024-04-15)

  • Changes to URLs in pyproject.toml
  • Migrated build pipeline to Forgejo Actions

0.3.6 (2024-04-11)

  • Fix issue where message type detection would fail for some messages (cece8cfb24)

0.3.5

  • Only set room avatar if it is not already set (a9c23ee9c4)

0.3.4 (2024-02-18)

  • Optimize chat model and message handling (10b74187eb)
  • Fix parameter passing in chat response calls (2d564afd97)
  • Refine message filtering in bot event processing (c47f947f80)

0.3.3 (2024-01-26)

  • Implement recursion check in response generation (e6bc23e564)
  • Implement tool emulation for models without tool support (0acc1456f9)
  • Allow selection of chat model by room (87173ae284)

0.3.2 (2023-12-14)

  • Removed key upload from room event handler
  • Fixed output of python -m gptbot -v to display currently installed version
  • Workaround for bug preventing bot from responding when files are uploaded to an encrypted room

Known Issues

  • When using Pantalaimon: Bot is unable to download/use files uploaded to unencrypted rooms

0.3.1 (2023-12-07)

  • Fixed issue in newroom task causing it to be called over and over again