Currently when using any chain that has as a llm LlamaCpp and a vector store that was created using a LlamaCppEmbeddings, it requires to have in memory two models (due to how both objects are created and those two clients are created). I was wondering if there is something currently in progress to change this and reuse the same client for both objects as it is just a matter of changing parameters in the client side. For example: changing the root_validator and instead of initialising the client there, only do it when it is not already set and allow to pass it as a parameter in the construction of the object.
Currently when using any chain that has as a llm LlamaCpp and a vector store that was created using a LlamaCppEmbeddings, it requires to have in memory two models (due to how both objects are created and those two clients are created). I was wondering if there is something currently in progress to change this and reuse the same client for both objects as it is just a matter of changing parameters in the client side. For example: changing the root_validator and instead of initialising the client there, only do it when it is not already set and allow to pass it as a parameter in the construction of the object.