Fix: refer to 61~62, self.config.graph_store.lm.config should be prioritized for usage (#3043)
This commit is contained in:
@@ -63,7 +63,7 @@ class MemoryGraph:
|
||||
if self.config.graph_store.llm:
|
||||
self.llm_provider = self.config.graph_store.llm.provider
|
||||
|
||||
self.llm = LlmFactory.create(self.llm_provider, self.config.llm.config)
|
||||
self.llm = LlmFactory.create(self.llm_provider, self.config.graph_store.llm.config if self.config.graph_store.llm.config else self.config.llm.config)
|
||||
self.user_id = None
|
||||
self.threshold = 0.7
|
||||
|
||||
|
||||
Reference in New Issue
Block a user