azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Prompt Override stopped working correctly in @2023-05-01 version
Please provide us with the following information:
This issue is for a: (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ x] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
enter into prompt override something like
answer like a pirate or Generate HTML for any formatting request such as summarize in a table, list, highlight, etc.
Any log messages given by the failure
NONE
Expected/desired behavior
for a pirate - something like 'arrg...' for table summary - not formatting in HTML
OS and Version?
Windows 11
azd version?
azd version 1.0.2
Versions
Previous 2022 version worked correctly
Mention any other details that might be useful
Thanks! We'll be in touch soon.
The prompt override language has changed. For a pirate, I found this worked: '>>>Talk like a pirate in your answer.' and '>>>For any formatting request such as summarize in a table, list, highlight, return the answer as an HTML table' (for this one I find I somethings need to ask it twice -"Summarize in a table", then "format table" to get HTML table our
I also started getting completely incorrect answers when I wrote '''Answer like a pirate''' after updating to the @2023-05-01 version. However, if I now include the prompt override like this: '''>>>> Answer like a pirate''' it seems to work for some reason.
I received a tip from this video: https://www.youtube.com/watch?v=tW2EA4aZ_YQ (at 8:51).
how do you guys use @2023-05-01 version? I only see version @2023-05-15 in this web page (Azure OpenAI)
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.
I discovered we had a bug which caused us to ignore the prompt override in the chat tab, I just merged a fix for it in pr #606