Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliashaeussler/typo3-solver
💡 Extension for TYPO3 CMS to extend TYPO3's exception handling with AI generated solutions
https://github.com/eliashaeussler/typo3-solver
ai extension openai typo3
Last synced: 2 months ago
JSON representation
💡 Extension for TYPO3 CMS to extend TYPO3's exception handling with AI generated solutions
- Host: GitHub
- URL: https://github.com/eliashaeussler/typo3-solver
- Owner: eliashaeussler
- License: gpl-2.0
- Created: 2023-02-07T17:32:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T00:53:19.000Z (8 months ago)
- Last Synced: 2024-05-23T03:50:37.057Z (8 months ago)
- Topics: ai, extension, openai, typo3
- Language: PHP
- Homepage: https://extensions.typo3.org/extension/solver
- Size: 6.69 MB
- Stars: 26
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
![Error page screenshot](Documentation/Assets/Images/error-page.png)
# TYPO3 extension `solver`
[![Coverage](https://img.shields.io/coverallsCoverage/github/eliashaeussler/typo3-solver?logo=coveralls)](https://coveralls.io/github/eliashaeussler/typo3-solver)
[![Maintainability](https://img.shields.io/codeclimate/maintainability/eliashaeussler/typo3-solver?logo=codeclimate)](https://codeclimate.com/github/eliashaeussler/typo3-solver/maintainability)
[![CGL](https://img.shields.io/github/actions/workflow/status/eliashaeussler/typo3-solver/cgl.yaml?label=cgl&logo=github)](https://github.com/eliashaeussler/typo3-solver/actions/workflows/cgl.yaml)
[![Tests](https://img.shields.io/github/actions/workflow/status/eliashaeussler/typo3-solver/tests.yaml?label=tests&logo=github)](https://github.com/eliashaeussler/typo3-solver/actions/workflows/tests.yaml)
[![Supported TYPO3 versions](https://typo3-badges.dev/badge/solver/typo3/shields.svg)](https://extensions.typo3.org/extension/solver)
[![Slack](https://img.shields.io/badge/slack-%23ext--solver-4a154b?logo=slack)](https://typo3.slack.com/archives/C04Q3440HS6)An extension for TYPO3 CMS to solve exceptions with AI generated solutions.
It uses the [OpenAI PHP client][1] to send a prompt to a configured model
and uses the responded completion as solution. Several completion attributes
(model, tokens, temperature, number of completions) are configurable. It also
provides a console command to solve problems from command line.## 🚀 Features
* Extended exception handler with AI generated solutions
* Configurable AI completion attributes (model, tokens, temperature, number of completions)
* Caching integration for solved problems
* Command to solve problems from command line
* Customizable solution providers and prompts
* Compatible with TYPO3 11.5 LTS, 12.4 LTS and 13.4 LTS## 🔥 Installation
### Composer
[![Packagist](https://img.shields.io/packagist/v/eliashaeussler/typo3-solver?label=version&logo=packagist)](https://packagist.org/packages/eliashaeussler/typo3-solver)
[![Packagist Downloads](https://img.shields.io/packagist/dt/eliashaeussler/typo3-solver?color=brightgreen)](https://packagist.org/packages/eliashaeussler/typo3-solver)```bash
composer require eliashaeussler/typo3-solver
```### TER
[![TER version](https://typo3-badges.dev/badge/solver/version/shields.svg)](https://extensions.typo3.org/extension/solver)
[![TER downloads](https://typo3-badges.dev/badge/solver/downloads/shields.svg)](https://extensions.typo3.org/extension/solver)Download the zip file from
[TYPO3 extension repository (TER)](https://extensions.typo3.org/extension/solver).## 📙 Documentation
Please have a look at the
[official extension documentation](https://docs.typo3.org/p/eliashaeussler/typo3-solver/main/en-us/).## 💎 Credits
The extension icon ("lightbulb-on") is a modified version of the original
[`actions-lightbulb-on`][2] icon from TYPO3 core. In addition, the icons
[`actions-calendar`][3], [`actions-cpu`][4], [`actions-debug`][5],
[`actions-exclamation-triangle-alt`][6] and [`spinner-circle`][7] from
TYPO3 core are used. All icons are originally licensed under [MIT License][8].This project is highly inspired by the article [*Fix your Laravel exceptions with AI*][9]
by [Marcel Pociot][10].In addition, I'd like to thank [Nuno Maduro][11] and all contributors
of the [`openai-php/client`][1] library for this beautiful piece of code.## 🔒 Security Policy
Please read our [security policy](SECURITY.md) if you discover a security
vulnerability in this extension.## ⭐ License
This project is licensed under [GNU General Public License 2.0 (or later)](LICENSE.md).
[1]: https://github.com/openai-php/client
[2]: https://typo3.github.io/TYPO3.Icons/icons/actions/actions-lightbulb-on.html
[3]: https://typo3.github.io/TYPO3.Icons/icons/actions/actions-calendar.html
[4]: https://typo3.github.io/TYPO3.Icons/icons/actions/actions-cpu.html
[5]: https://typo3.github.io/TYPO3.Icons/icons/actions/actions-debug.html
[6]: https://typo3.github.io/TYPO3.Icons/icons/actions/actions-exclamation-triangle-alt.html
[7]: https://typo3.github.io/TYPO3.Icons/icons/spinner/spinner-circle.html
[8]: https://github.com/TYPO3/TYPO3.Icons/blob/main/LICENSE
[9]: https://beyondco.de/blog/ai-powered-error-solutions-for-laravel
[10]: https://pociot.dev/
[11]: https://nunomaduro.com/