fix: ValueError: ChromaDb cannot be instantiated without an embedding function (#312)
This commit is contained in:
committed by
GitHub
parent
a22a435690
commit
3bdec3b71a
@@ -20,8 +20,6 @@ class EmbedChainPersonApp:
|
|||||||
def __init__(self, person, config: BaseAppConfig = None):
|
def __init__(self, person, config: BaseAppConfig = None):
|
||||||
self.person = person
|
self.person = person
|
||||||
self.person_prompt = f"You are {person}. Whatever you say, you will always say in {person} style." # noqa:E501
|
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)
|
super().__init__(config)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user