devika icon indicating copy to clipboard operation
devika copied to clipboard

Update prompt.jinja2 with an example for more consistent format reply (https://github.com/stitionai/devika/issues/429)

Open obliviousz opened this issue 1 year ago • 4 comments
trafficstars

Changed the prompt by giving an example for more consistent replies as sometimes the plan doesn't show up. Issue: https://github.com/stitionai/devika/issues/429


name: Addition of example in prompt of Planner for more consistent replies (https://github.com/stitionai/devika/issues/429)

Description

*[ ] Added an example for Planner to give more consistent replies not leaving blank in Plan when planning for a task.

Explain what existing problem does the pull request solve? After adding an example, more consistent format of replies for planner comes, resulting in a non-empty plan (https://github.com/stitionai/devika/issues/429)

obliviousz avatar Apr 14 '24 10:04 obliviousz

What exactly did you change?

obliviousz avatar Apr 15 '24 06:04 obliviousz

The code prompt also has problems with LLAMA and some other models. Any way to improve that?

mahiatlinux avatar Apr 21 '24 09:04 mahiatlinux

The code prompt also has problems with LLAMA and some other models. Any way to improve that?

What issue exactly did you face?

obliviousz avatar Apr 21 '24 09:04 obliviousz

The code prompt also has problems with LLAMA and some other models. Any way to improve that?

What issue exactly did you face?

Invalid response from the models. They don't give the response in the correct format for Devika.

mahiatlinux avatar Apr 21 '24 10:04 mahiatlinux