azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Follow up questions feature does not seem to be working
Please provide us with the following information:
This issue is for a: (mark with an x
)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
run the app on local server.
Any log messages given by the failure
none
Expected/desired behavior
after completion, you should be able to see follow up questions when follow-up questions are enabled in 'developer settings'
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) macOS
azd version?
run
azd version
and copy paste here.
Versions
1.0.0
Mention any other details that might be useful
I have deployed my app and the feature does not work
Thanks! We'll be in touch soon.
Same for me as well. The follow up questions did not work.
Same over here. Need to enable in developer settings but nothing happens.
+1 It seems like Completitions ignore instruction to generate follow up questions in our prompt and generate only answer for current question.
Are there any update on this?
I also encountered the issue. Could someone provide the correct prompt to receive the follow up question accurately?
The follow-up questions feature now works, but ChatGPT does not format the questions in a reliable manner. Sometimes it puts them inside angle brackets as requested, but it often puts them in a numbered list. That means the UI is not always able to render them as clickable links.
I've discussed follow-up questions with colleagues working on similar codebases, and we've identified three approaches to receiving follow-up questions in a well structured way so that they can become links in the UI:
- Post-processing the response to look for the variations in how ChatGPT responds. That's fairly brittle however. (Approach used by the Javascript sample)
- Using the "function call" feature of ChatGPT to receive a list of follow-up questions in the response. (Which I just prototyped for this repo in a branch)
- Make an additional call to ChatGPT to specifically ask it to generate follow-up questions. (Approach used by the C# sample)
Each approach adds complexity in different parts of the codebase, so we haven't determined which way is the best.
Great.Thanks!
It works on the last version, the issue may be closed
I'll close this issue since follow-up questions are rendered, but we do have an issue with reliably rendering as links: https://github.com/Azure-Samples/azure-search-openai-demo/issues/783