mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-04 13:22:39 +02:00
fix RAGEmbeddingFactory init error
This commit is contained in:
parent
b9089380bd
commit
2392d1e201
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class RAGEmbeddingFactory(GenericFactory):
|
|||
LLMType.AZURE: self._create_azure,
|
||||
}
|
||||
super().__init__(creators)
|
||||
self.config = config if self.config else Config.default()
|
||||
self.config = config if config else Config.default()
|
||||
|
||||
def get_rag_embedding(self, key: EmbeddingType = None) -> BaseEmbedding:
|
||||
"""Key is EmbeddingType."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue