I have a suggestion that may seem a bit radical at first, but in the medium and long term it could bring important benefits. I think it would be interesting to replace the simpler implementations of the libs that access the LLMs with a more sophisticated library, such as LangChain. In theory, this would make it easier to use new AI providers and make access to LLMs more standardized. It would also bring some interesting advantages for the future, such as the addition of a rag feature to Dolphin. I think this change at the stage the project is at would not be so traumatic, and alternatives other than LangChain could also be considered. Anyway, what do you think about this idea ?
I have a suggestion that may seem a bit radical at first, but in the medium and long term it could bring important benefits. I think it would be interesting to replace the simpler implementations of the libs that access the LLMs with a more sophisticated library, such as LangChain. In theory, this would make it easier to use new AI providers and make access to LLMs more standardized. It would also bring some interesting advantages for the future, such as the addition of a rag feature to Dolphin. I think this change at the stage the project is at would not be so traumatic, and alternatives other than LangChain could also be considered. Anyway, what do you think about this idea ?