fix typo in error message of supported keyword store (#2560)

This commit is contained in:
Bowen Liang 2024-02-27 00:47:36 +08:00 committed by GitHub
parent 3e63abd335
commit e55225e2bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ class Keyword:
dataset=self._dataset
)
else:
raise ValueError(f"Vector store {config.get('VECTOR_STORE')} is not supported.")
raise ValueError(f"Keyword store {keyword_type} is not supported.")
def create(self, texts: list[Document], **kwargs):
self._keyword_processor.create(texts, **kwargs)