🚀 Feature: Installation Optimization #1296
Labels
backend
dependencies
Pull requests that update a dependency file
frontend
hacktoberfest
help wanted
Extra attention is needed
🔖 Feature description
The current installation process for DocsGPT is taking too long, and we need to optimize it. The goal is to streamline dependency management, improve Dockerfile performance, and explore lazy loading techniques for specific components like vector DBs, LLMs, parsers, and retrievers.
Additionally, we want to investigate transitioning away from LangChain in the future to reduce dependency load and improve flexibility.
🎤 Why is this feature needed ?
Long installation times and heavy dependencies impact the user experience, especially for contributors and developers working with DocsGPT. Optimizing the setup will lead to faster installation, fewer dependency issues, and better resource management.
✌️ How do you aim to achieve this?
Thorough Dependency Checks:
Dockerfile Optimization:
Explore UV (https://github.com/astral-sh/uv):
Lazy Loading:
Move Away from LangChain:
This task involves multiple areas of optimization, so collaboration is highly encouraged. Feel free to contribute directly to this issue or join the discussion in our Discord (collaborative-issues).
If necessary, this issue can be split into smaller, focused tasks. Please ensure all related issues are linked back to this original for tracking purposes.
🔄️ Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: