microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.47k stars 2.44k forks source link

Duplicate Q&A pairs created when updating documents in custom question answering KB #6591

Closed Naveen-Reddy237 closed 1 year ago

Naveen-Reddy237 commented 1 year ago

Hi Team,

I'm using a Custom question answering to generate Q&A pairs based on uploaded documents. However, I'm experiencing an issue where when I update the content in the same document and re-upload it. it is creating duplicate Q&A pairs instead of updating the existing ones.

Can you please investigate and help me resolve this issue?

dmvtech commented 1 year ago

Hi @Naveen-Reddy237

Does this happen with the CQA portal only? Or does this only reproduce when in combination with a bot? If the latter; can you give sample code on how this is implemented?

Naveen-Reddy237 commented 1 year ago

Hi @dmvtech

I have created custom question answering project in Language Studio(https://language.cognitive.azure.com) to generate Q&A pairs based on uploaded documents. and have created a azure bot directly form the portal using create bot option after deploying KB.

dmvtech commented 1 year ago

Hi @Naveen-Reddy237

Where are you seeing the duplicate pairs? Is it in the Language Studio edit screen? Does it show in the Edit\test pane of Language Studio? Or does it only show duplicates when talking to the bot?

If the latter; are you able to give sample KBs of the before/after that we can test with?

dmvtech commented 1 year ago

Hi @Naveen-Reddy237 Did you still need assistance with this issue? If so, can you please help answer the questions posed above?

dmvtech commented 1 year ago

Closing due to lack of response.