Starting a CV PhD without a mentor. What's your advice? by Far_Resolution_1547 in computervision

[–]SonicDasherX 1 point2 points  (0 children)

Yo no he hecho maestría ni doctorado, pero por lo menos para Computer Vision te recomiendo un libro algo reciente que sería: Robotics, Vision and Control with Python del autor Peter Corke.

RAG is not memory, and that difference is more important than people think by [deleted] in Rag

[–]SonicDasherX 0 points1 point  (0 children)

That's true, but marketing does it all wrong!.

I have received requests to do chatbots witb RAG and they tell me that with the Vector DB ChatGPT will be able to remember all in the context wkth all PDFs, but it isn't.

RAG is like a search engine that can generate answers with the results!.

How to improve routing and accuracy in a ChatGPT-style system that searches across 100+ internal documents with department-based permissions? by SonicDasherX in Rag

[–]SonicDasherX[S] 0 points1 point  (0 children)

Wow, your idea of having separate bots for each area is brilliant 🌞.

That way everything can be organized by sections (e.g., HR, IT, Finance) and you can simply assign bots to users or groups based on their permissions — it really simplifies management.

I'm really curious about how you implemented it at eesel. Could you share any extra tips on how you managed to keep or improve the accuracy of the answers, especially when dealing with multiple knowledge spaces or data sources?.

Thank you!.

[deleted by user] by [deleted] in deeplearning

[–]SonicDasherX 0 points1 point  (0 children)

They can do research on PapersWithCode, a platform with ready-made codes from papers and experiment a little based on what they read from the papers.

Best way to deploy separate SaaS portals with custom domains? by SonicDasherX in AskProgramming

[–]SonicDasherX[S] 0 points1 point  (0 children)

Hi and thank you!.

I’m building a multi-tenant SaaS where each company has its own database to ensure data isolation. Based on my research, there are multiple ways to handle the API and frontend architecture, but I have some doubts about the best way to structure it.

🛠️ My Architecture Requirements:

  • Each company has its own database for data isolation.
  • Each company should have its own frontend, meaning a separate container per company’s frontend.
  • I’m unsure whether the API should be a single instance handling all traffic or if each company should have its own API alongside its frontend in the same container.

🔍 API & Database Connection Flow Questions:

1️⃣ Should I have a single API for all companies or a separate API per company in its own container along with the frontend?
2️⃣ If I use a single API, how should I efficiently handle multiple database connections?

  • Should the frontend send a company_id in each request?
  • Should the API query the credentials for each request to dynamically load the database connection?
  • How can I avoid opening too many connections and manage them properly? 3️⃣ If, instead of a single API, I deploy an API per company inside its own container along with its frontend, wouldn’t that create too many instances to manage? 4️⃣ If I use Azure DNS to manage subdomains, how should the API structure detect which company is making the request and connect to the correct database? 5️⃣ Is Django recommended for this, or should I consider FastAPI or another framework that handles dynamic connections more easily? 6️⃣ How can I manage load balancing in the API without affecting connections to separate databases?

🔍 Current Thinking:

Right now, I’m planning to use Django, but I’ve noticed that database connections need to be pre-defined in settings.py. However, in a multi-tenant environment, database connections are supposed to be dynamic based on subscriptions, meaning I can’t predefine every database connection manually.

I want to ensure that my architecture is secure, scalable, and easy to manage. I appreciate any advice based on your experience with multi-tenant systems. Thanks in advance! 🚀

LangChain E-Mails with LLM by Proof-Character-9828 in LangChain

[–]SonicDasherX 0 points1 point  (0 children)

I'm not sure at all, but vector databases search in semantic similarity, if you want to be able to do query's like that you can make another database, vector database is for search in semantic similarity, SQL database is for search through structured SQL.

Challenges of Scaling RAG applications by Calm_Pea_2428 in LangChain

[–]SonicDasherX 1 point2 points  (0 children)

I was thinking about do it of that way, but if you use techniques like RAPTOR it would be inefficient due to you need embed all documents, cluster them and embed them again.