chatify icon indicating copy to clipboard operation
chatify copied to clipboard

fully interactive mode

Open jeremymanning opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

It'd be nice to have the ability to have a full-on "conversation" with Chatify, as opposed to relying solely on canned prompts.

Describe the solution you'd like

I'm imagining an additional tab on the Chatify interface that has just a text box (where you can type a question or prompt) and a "submit request" button, like on the other tabs. When you click the submit request, we tweak the prompt a bit behind the scenes to provide a reasonable experience to the user (e.g., we automatically append the code, add some system instructions/context, etc., like we do for the other prompts), and then "submit" (i.e., generate a response to) whatever the user typed.

Describe alternatives you've considered

We could also make it easier to define custom prompts, e.g., in a prompts.yaml file that the user can add to the current directory.

jeremymanning avatar Jul 23 '23 11:07 jeremymanning

Given our recent proxy server approach, implementing this is now more complicated. We need to limit which prompts are "allowed" in order to protect against misuse of the proxy server. Therefore I'm going to add the "wontfix" tag for now, until we come up with a viable solution for this issue. I'm also removing the "help wanted" tag.

jeremymanning avatar Jul 31 '23 13:07 jeremymanning

Potential future integration to add security to prompts: https://shreyar.github.io/guardrails/.

HemuManju avatar Aug 01 '23 09:08 HemuManju

Great suggestion @HemuManju-- I think guardrails might also be great for adding some structure to the responses. I'll remove the "wontfix" tag so that we can look into this at "some point in the future."

jeremymanning avatar Aug 01 '23 12:08 jeremymanning