Azure-Samples / chat-with-your-data-solution-accelerator

A Solution Accelerator for the RAG pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences. This includes most common requirements and best practices.
https://azure.microsoft.com/products/search
MIT License
813 stars 413 forks source link

Unexpected Increase in Costs + Q&A not working #1392

Open devanshithakar12 opened 2 weeks ago

devanshithakar12 commented 2 weeks ago

I have been using this Github repo along with others, and have noticed a significant increase in costs overnight. I am seeing assistance or guidance on identifying the factors contributing to this sudden spike in expenses.

I only have a few pdf documents that I am working with. I am able to upload the documents, but not able to chat with the documents.

Would love any best practices or possible solutions. Thank you!


Tasks

Roopan-Microsoft commented 2 weeks ago

Hi @devanshithakar12, thanks for your feedback!

Could you please specify the exact issue you’re encountering? Additionally, if you could provide the following details, it would be helpful:

You might also want to check if your documents have been processed by looking at 'Explore Data' on the Admin page to see if your uploaded documents appear there.

Looking forward to your response. Thanks!

devanshithakar12 commented 1 week ago

@Roopan-Microsoft ,

Thank you for your quick response! I figured out the initial error from Azure Function logs and updated the TPM for my embedding model. With this change, I was able to successfully see the docs in Azure Storage and indexed into AI Search. When I opened the web app, however, I am getting an Authentication error. I have created an app registration and attached it to my Identity provider, but no luck. Attached the error below. Thanks!

Screenshot 2024-10-09 175655
devanshithakar12 commented 1 week ago

@Roopan-Microsoft ,

In addition, is there a way to get a cost estimate of deploying this accelerator to Azure? Happy to sync offline on this as well! Thanks.

Roopan-Microsoft commented 1 week ago

@Roopan-Microsoft ,

In addition, is there a way to get a cost estimate of deploying this accelerator to Azure? Happy to sync offline on this as well! Thanks.

We will provide you that.

Roopan-Microsoft commented 1 week ago

@Roopan-Microsoft ,

Thank you for your quick response! I figured out the initial error from Azure Function logs and updated the TPM for my embedding model. With this change, I was able to successfully see the docs in Azure Storage and indexed into AI Search. When I opened the web app, however, I am getting an Authentication error. I have created an app registration and attached it to my Identity provider, but no luck. Attached the error below. Thanks! Screenshot 2024-10-09 175655

This seems like some configuration issue, please let us know if we can connect offline and fix it.

devanshithakar12 commented 1 week ago

@Roopan-Microsoft , Thank you for your quick response! I figured out the initial error from Azure Function logs and updated the TPM for my embedding model. With this change, I was able to successfully see the docs in Azure Storage and indexed into AI Search. When I opened the web app, however, I am getting an Authentication error. I have created an app registration and attached it to my Identity provider, but no luck. Attached the error below. Thanks! Screenshot 2024-10-09 175655

This seems like some configuration issue, please let us know if we can connect offline and fix it.

Happy to connect offline - what is your alias/the best way to reach out?

Roopan-Microsoft commented 1 week ago

@Roopan-Microsoft , Thank you for your quick response! I figured out the initial error from Azure Function logs and updated the TPM for my embedding model. With this change, I was able to successfully see the docs in Azure Storage and indexed into AI Search. When I opened the web app, however, I am getting an Authentication error. I have created an app registration and attached it to my Identity provider, but no luck. Attached the error below. Thanks! Screenshot 2024-10-09 175655

This seems like some configuration issue, please let us know if we can connect offline and fix it.

Happy to connect offline - what is your alias/the best way to reach out?

Thanks for the update, just want to know how you Enabled the Authentication.

devanshithakar12 commented 1 week ago

@Roopan-Microsoft , Thank you for your quick response! I figured out the initial error from Azure Function logs and updated the TPM for my embedding model. With this change, I was able to successfully see the docs in Azure Storage and indexed into AI Search. When I opened the web app, however, I am getting an Authentication error. I have created an app registration and attached it to my Identity provider, but no luck. Attached the error below. Thanks! Screenshot 2024-10-09 175655

This seems like some configuration issue, please let us know if we can connect offline and fix it.

Happy to connect offline - what is your alias/the best way to reach out?

Thanks for the update, just want to know how you Enabled the Authentication.

Followed these steps: https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service?tabs=workforce-configuration.

Roopan-Microsoft commented 5 days ago

@Roopan-Microsoft , Thank you for your quick response! I figured out the initial error from Azure Function logs and updated the TPM for my embedding model. With this change, I was able to successfully see the docs in Azure Storage and indexed into AI Search. When I opened the web app, however, I am getting an Authentication error. I have created an app registration and attached it to my Identity provider, but no luck. Attached the error below. Thanks! Screenshot 2024-10-09 175655

This seems like some configuration issue, please let us know if we can connect offline and fix it.

Happy to connect offline - what is your alias/the best way to reach out?

Thanks for the update, just want to know how you Enabled the Authentication.

Followed these steps: https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service?tabs=workforce-configuration.

Thanks @devanshithakar12 - Could you please see this reference (https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/blob/main/docs/web-apps.md#add-authentication-in-azure-app-service-configuration) in case if you have missed any step for adding authentication and then let us know the result.

Prasanjeet-Microsoft commented 1 day ago

@Roopan-Microsoft , Thank you for your quick response! I figured out the initial error from Azure Function logs and updated the TPM for my embedding model. With this change, I was able to successfully see the docs in Azure Storage and indexed into AI Search. When I opened the web app, however, I am getting an Authentication error. I have created an app registration and attached it to my Identity provider, but no luck. Attached the error below. Thanks! Screenshot 2024-10-09 175655

This seems like some configuration issue, please let us know if we can connect offline and fix it.

Happy to connect offline - what is your alias/the best way to reach out?

Thanks for the update, just want to know how you Enabled the Authentication.

Followed these steps: https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service?tabs=workforce-configuration.

Thanks @devanshithakar12 - Could you please see this reference (https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/blob/main/docs/web-apps.md#add-authentication-in-azure-app-service-configuration) in case if you have missed any step for adding authentication and then let us know the result.

@devanshithakar12 Did you had a chance to look into this? Could you please provide me any further updates?

Prasanjeet-Microsoft commented 58 minutes ago

@Roopan-Microsoft , Thank you for your quick response! I figured out the initial error from Azure Function logs and updated the TPM for my embedding model. With this change, I was able to successfully see the docs in Azure Storage and indexed into AI Search. When I opened the web app, however, I am getting an Authentication error. I have created an app registration and attached it to my Identity provider, but no luck. Attached the error below. Thanks! Screenshot 2024-10-09 175655

This seems like some configuration issue, please let us know if we can connect offline and fix it.

Happy to connect offline - what is your alias/the best way to reach out?

Thanks for the update, just want to know how you Enabled the Authentication.

Followed these steps: https://learn.microsoft.com/en-us/azure/app-service/scenario-secure-app-authentication-app-service?tabs=workforce-configuration.

Thanks @devanshithakar12 - Could you please see this reference (https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/blob/main/docs/web-apps.md#add-authentication-in-azure-app-service-configuration) in case if you have missed any step for adding authentication and then let us know the result.

@devanshithakar12 Did you had a chance to look into this? Could you please provide me any further updates?

Hello @devanshithakar12, Just checking in to see if you’ve had a chance to review this? I'd appreciate any updates you might have.

Thank you.