瀏覽代碼

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

tags/0.5.7
Bowen Liang 1 年之前
父節點
當前提交
e55225e2bc
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      api/core/rag/datasource/keyword/keyword_factory.py

+ 1
- 1
api/core/rag/datasource/keyword/keyword_factory.py 查看文件

@@ -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)

Loading…
取消
儲存