Closed itzkunalsatpute closed 7 months ago
Hi, I assume you are testing it to see the behavior in case multiple users use the chatbot. However, the chatbot needs some adjustments to serve multiple users. Let me first explain why that happened with the current version of the chatbot.
Let's say you uploaded document (a) 2 minutes ago and now you are planning to upload a new document, (b). When you upload a document the name of the folder containing the vectordb is generated using the UNIX timestamp. And as soon as you upload the new document, the chatbot starts to look for the most recently created vectordb (according to the time). Therefore, since you are running the chatbot locally, regardless of the number of instances and browsers, as soon as you uploaded the new document (b), a new vectordb with a more recent UNIX timestamp name was generated, and therefore both browsers started to point at the new vector database.
Fix for multiple users: If you are planning to prepare the chatbot to serve multiple users, a few adjustments are required.
I hope this explanation helps.
Since I haven't heard back, I assume you no longer need this issue. So, I'll close it.
Hi Farzad,
Got the explanation and thank you. do you have any references to implement this changes? Also in our code do I need to make this changes in prepare_vectordb.py?
I don't have an explicit explanation or code showing those changes. These changes can be defined and adjusted based on the available resources of the project. For instance, is the project being developed on-prem or on the cloud? if on the cloud, which one? and so on. The changes should be applied to the whole data preparation pipeline and not just the prepare_vecotrdb.py module. However, through that module, you can easily track the pipeline and apply all the necessary changes.
I'm currently using VS Code and Docker for development, and as part of my learning process, I've pushed my project to the Azure cloud, utilizing Azure Container Registry for image storage. I've also deployed the application using Azure Web App. I still have my $200 free credit available, and I plan to use it to expand this project into a comprehensive end-to-end solution, effectively turning it into a full-fledged project.
If I use Azure authentication then will this problem be resolved?
You have done a great job so far. The challenging part of this project for your plan is handling storages.
Hi All,
I tried to open RAG-GPT in 2 browser window one in normal chrome and other on incognito mode. Uploaded 2 different files on two window 1st document was about PYMC MMM 2nd was regrading conjoint
And then I query "summarize this document" in gpt and both the window got same output instead of independent output.
Please find below
Based on the retrieved content, the document "Lab 93 - Bayesian MMM in Python Special Guests_ PyMC Labs.pdf" seems to be a tutorial or presentation on Bayesian Marketing Mix Modelling (MMM) in Python. It includes sections on making an exploratory report and creating line plots, which are likely part of the data analysis process in MMM.
The document "Conjoint tutorial I.pdf" appears to be a guide on conjoint analysis, a popular market research technique. It provides tips for planning ahead, including entering profiles, reproducing examples, reading appendices on deriving insights, computing WTPs (Willingness To Pay), and using the profit simulation spreadsheet. It also advises reading about the good and bad practices of conjoint analysis before optimization.
Please specify which document you want to know more about.
Why it is showing me both the document even they are open in 2 separate tabs?
FYI I only ran raggpt_app.py file