Hotfix - re-add missing cfg variable to memory/base

This commit is contained in:
Richard Beales
2023-04-13 18:01:12 +01:00
committed by GitHub
parent 0ba2956ee4
commit 53c00b4199

View File

@@ -3,6 +3,7 @@ import abc
from config import AbstractSingleton, Config
import openai
cfg = Config()
def get_ada_embedding(text):
text = text.replace("\n", " ")