Lexpedite / blawx

A user-friendly web-based tool for Rules as Code.
MIT License
100 stars 9 forks source link

Use LLM to simplify explanations #495

Closed Gauntlet173 closed 1 year ago

Gauntlet173 commented 1 year ago

There are now open source LLMs that can be used to simplify text ala ChatGPT. We should explore using them to simplify the explanations that Blawx is generating.

Gauntlet173 commented 1 year ago

Check if #420 is necessary or helpful.

Gauntlet173 commented 1 year ago

I tried this with some open-source LLM models, but they weren't powerful enough to summarize Blawx's explanations. That may change in future, but for now it's an issue. So I have implemented a system whereby the scenario editor will summarize your explanations using ChatGPT3.5 if you provide an OPENAI_API_KEY environment variable, and otherwise it won't. I need to clean up the interface when the key is not defined, and update the documentation, but it is well on its way to being complete.

Gauntlet173 commented 1 year ago

Done in v1.6.15-alpha