microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service
MIT License
1.24k stars 1.21k forks source link

Adding copy button and token count #99

Closed error505 closed 1 year ago

error505 commented 1 year ago

Adding button to copy the conversations and counting of the tokens: image

thivy commented 1 year ago

@error505 thank you for adding the copy button!

The token count is not reflective of the total usage. e.g. In the chatting to file scenario there are multiple calls to Azure OpenAI to ground the response. Therefor the total token count is not the same as the final response.

Could you please turn this PR for just copy function? Would it be possible to add copy button for code blocks?

Thank you!

error505 commented 1 year ago

Hey @thivy I have updated it to be only copy button. I will create new PR only for the code blocks if that is OK for you?