浏览代码

fix: ValueError: ChromaDb cannot be instantiated without an embedding function (#312)

Sahil Kumar Yadav 2 年之前
父节点
当前提交
3bdec3b71a
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      embedchain/apps/PersonApp.py

+ 0 - 2
embedchain/apps/PersonApp.py

@@ -20,8 +20,6 @@ class EmbedChainPersonApp:
     def __init__(self, person, config: BaseAppConfig = None):
         self.person = person
         self.person_prompt = f"You are {person}. Whatever you say, you will always say in {person} style."  # noqa:E501
-        if config is None:
-            config = BaseAppConfig()
         super().__init__(config)