(self)
| 545 | @singleton |
| 546 | class LangChainEmbeddingHelper: |
| 547 | def __init__(self): |
| 548 | # Map{dbId, db} |
| 549 | self.dbMap = {} |
| 550 | |
| 551 | def from_documents(self, documents: list[Document], dbId: str, embedding=OpenAIEmbeddings(), |
| 552 | persist_directory: str = None): |
nothing calls this directly
no outgoing calls
no test coverage detected