diff --git a/lotus/settings.py b/lotus/settings.py index fa302e5..ad24652 100644 --- a/lotus/settings.py +++ b/lotus/settings.py @@ -32,9 +32,6 @@ def configure(self, **kwargs): for key, value in kwargs.items(): if not hasattr(self, key): raise ValueError(f"Invalid setting: {key}") - if (key == 'vs' and (getattr(self, 'rm') is not None)) or (key == 'rm' and (getattr(self, 'vs') is not None)): - raise ValueError('Invalid settings: you can only set a retriever module or a vector store, but not both') - setattr(self, key, value) def __str__(self):