yGuy / chatgpt-mattermost-bot

A very simple implementation of a service for a mattermost bot that uses ChatGPT in the backend.
MIT License
150 stars 48 forks source link

Use typescript and implement plugin system including multiple plugins #45

Closed MichaelH201 closed 1 year ago

MichaelH201 commented 1 year ago

The code has been refactored to incorporate Typescript and ts-node. Additionally, I have implemented a plugin system that leverages GPT functions. Apart from relocating the existing yFiles graph function to a plugin, I have introduced several other plugins, such as an image plugin.

yGuy commented 1 year ago

Will definitely merge this. Did you check the Docker integration? Does it still work or do we need to run tsc during the preparation step? Also: what version should we name this? :-)

MichaelH201 commented 1 year ago

The docker integration is a good point. I have adjusted the dockerfile to work with typescript. In addition, the two major plugins (yFiles graphs and DALL-E images) can now be disabled via environment variables.