MCPcopy Create free account
hub / github.com/ScienciaLAB/document-qa / custom_embeddings.py

File custom_embeddings.py

document_qa/custom_embeddings.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Custom LangChain-compatible embedding client.
2
3Provides :class:`ModalEmbeddings`, a drop-in ``Embeddings`` implementation
4that calls any service exposing an ``/embeddings`` endpoint (OpenAI,

Callers

nothing calls this directly

Calls 3

ModalEmbeddingsClass · 0.85
getMethod · 0.80
embedMethod · 0.45

Tested by

no test coverage detected