diff --git a/ecosystem/README.md b/ecosystem/README.md index 9cddd33..ef918f8 100644 --- a/ecosystem/README.md +++ b/ecosystem/README.md @@ -285,7 +285,7 @@ prompt = 'You will play the role of an AI Q&A assistant and complete a dialogue ```python -documents = Document(dataset_path='/file/to/yourpath', embed=lazyllm.TrainableModule('bge-large-zh-v1.5')) +documents = Document(dataset_path='/file/to/yourpath', embed=lazyllm.TrainableModule('bge-large-zh-v1.5'), create_ui=False) documents.create_node_group(name="sentences", transform=SentenceSplitter, chunk_size=1024, chunk_overlap=100) with pipeline() as ppl: with parallel().sum as ppl.prl: diff --git a/ecosystem/README_zh-CN.md b/ecosystem/README_zh-CN.md index bb7a2b4..0e5407f 100644 --- a/ecosystem/README_zh-CN.md +++ b/ecosystem/README_zh-CN.md @@ -282,7 +282,7 @@ prompt = '你将扮演一个人工智能问答助手的角色,完成一项对 ```python -documents = Document(dataset_path='/file/to/yourpath', embed=lazyllm.TrainableModule('bge-large-zh-v1.5')) +documents = Document(dataset_path='/file/to/yourpath', embed=lazyllm.TrainableModule('bge-large-zh-v1.5'), create_ui=False) documents.create_node_group(name="sentences", transform=SentenceSplitter, chunk_size=1024, chunk_overlap=100) with pipeline() as ppl: with parallel().sum as ppl.prl: