From ad206fda2bdb9e0f7ecab6ed476a113c4c96664c Mon Sep 17 00:00:00 2001 From: "jinli.yl" Date: Thu, 27 Jun 2024 14:14:00 +0800 Subject: [PATCH] [dev] rename clazz to class in json/yaml --- config/config.json | 6 +++--- config/config.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/config.json b/config/config.json index e2a4ad5f..dc1bc36f 100644 --- a/config/config.json +++ b/config/config.json @@ -67,15 +67,15 @@ } }, "vector_store": { - "clazz": "storage.dummy_vector_store", + "class": "storage.dummy_vector_store", "embedding_model": "dashscope_embedding" }, "monitor": { - "clazz": "storage.dummy_monitor" + "class": "storage.dummy_monitor" }, "workers": { "dummy_worker": { - "clazz": "memory.worker.dummy_worker", + "class": "memory.worker.dummy_worker", "generation_model": "dashscope_generation", "embedding_model": "dashscope_embedding", "rank_model": "dashscope_rank" diff --git a/config/config.yaml b/config/config.yaml index 30b70c50..43f65451 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -51,13 +51,13 @@ models: module_name: dashscope_rank model_name: gte-rerank vector_store: - clazz: storage.dummy_vector_store + class: storage.dummy_vector_store embedding_model: dashscope_embedding monitor: - clazz: storage.dummy_monitor + class: storage.dummy_monitor workers: dummy_worker: - clazz: memory.worker.dummy_worker + class: memory.worker.dummy_worker generation_model: dashscope_generation embedding_model: dashscope_embedding rank_model: dashscope_rank