MCPcopy Create free account
hub / github.com/AsyncFuncAI/deepwiki-open / __init__

Method __init__

api/ollama_patch.py:67–69  ·  view source on GitHub ↗
(self, embedder: adal.Embedder)

Source from the content-addressed store, hash-verified

65 Adalflow Ollama Client does not support batch embedding, so we need to process each document individually.
66 """
67 def __init__(self, embedder: adal.Embedder) -> None:
68 super().__init__()
69 self.embedder = embedder
70
71 def __call__(self, documents: Sequence[Document]) -> Sequence[Document]:
72 output = deepcopy(documents)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected