MCPcopy Create free account
hub / github.com/CL-lau/SQL-GPT / __init__

Method __init__

embedding/embeddingHelper.py:547–549  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

545@singleton
546class 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):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected