di-sukharev / opencommit

Generate conventional git commit messages with AI in 1 second 🤯🔫
https://www.npmjs.com/package/opencommit
MIT License
6.09k stars 326 forks source link

Integration with other AI #150

Open Mateusz-Krajewski opened 1 year ago

Mateusz-Krajewski commented 1 year ago

Description

Is a chance to add integration with other AI models, maybe some open source which allow to create own serwer?

Suggested Solution

llama

Alternatives

No response

Additional Context

No response

di-sukharev commented 1 year ago

sounds great, LLAMA can run locally as a script, so would be awesome if you make a PR. I guess a file like llama.sh or stanford-alpaca.sh would work here

takuya-o commented 1 year ago

I tried using the Azure OpenAI Service at takuya-o/opencommit. I managed to get it to work, but I also had to modify not only opencommit but also the openAI library and even OpenAPI Generator. It seems that there is still a long way to go before I make official PR.

takuya-o commented 1 year ago

I tried using the Azure OpenAI Service at takuya-o/opencommit.

As a result of my analysis, I completed support for Azure OpenAI. It by calling the REST API of Azure OpenAI directly with axios without using the openai npm package. The PR is #167.

github-actions[bot] commented 1 year ago

Stale issue message