update kb design, base on objfs and knowled graph.

This commit is contained in:
Liu Zhicong
2024-04-23 04:56:22 -07:00
parent 342464e386
commit af1bb80283
14 changed files with 847 additions and 122 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class OpenAI_ComputeNode(ComputeNode):
@classmethod
def declare_user_config(cls):
if os.getenv("OPENAI_API_KEY_") is None:
if os.getenv("OPENAI_API_KEY") is None:
user_config = AIStorage.get_instance().get_user_config()
user_config.add_user_config("openai_api_key","openai api key",False,None)