chat-with-your-data-solution-accelerator icon indicating copy to clipboard operation
chat-with-your-data-solution-accelerator copied to clipboard

Prompt is not reflected in chat after updating in admin app.

Open ketanvh opened this issue 1 year ago • 2 comments

Describe the bug

I updated the prompt in Admin Portal. I can see same has been updated in storage account. But chat app doesnt take the latest prompt. Also the stream log doesnt show anything.

Expected behavior

Chat app should use updated prompt and show same in stream log (of web service in azure) in debug.

Debugging information

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to '.Admin portal'
  2. Click on 'config'
  3. Add new prompot
  4. Same configuration
  5. Restart Chat webapp (so it may reflect changes)
  6. Ask question
  7. Check the stream log or answer

ketanvh avatar Apr 09 '24 16:04 ketanvh

Hello @ketanvh , I have just tried this but was not able to reproduce the issue. I modified the prompt by including "Test" and I can see this in the storage account and also in the logs.

Screenshot 2024-04-10 110355 Screenshot 2024-04-10 110430 Screenshot 2024-04-10 110538

Please could you send similar screenshots showing the prompt in the Admin app, the contents of the config file in the storage account, and also the prompt from the App Service logs showing the prompt that is used when calling the LLM? Feel free to partially redact information as necessary.

cecheta avatar Apr 10 '24 11:04 cecheta

Hi @ketanvh - can you supply screenshots as requested and we can look into this? We will close this out soon as we cannot reproduce this.

ross-p-smith avatar Apr 29 '24 12:04 ross-p-smith