Spaces:
Sleeping
Sleeping
File size: 491 Bytes
ce45eb0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | """watsonx.ai embedding client. [v1 — stub]
Wraps ibm-watsonx-ai Embeddings behind the Embedder protocol. Implement once a
watsonx endpoint/credentials path is wired through config.
"""
from __future__ import annotations
import numpy as np
class WatsonxEmbedder: # pragma: no cover - [v1]
def __init__(self, *args, **kwargs):
raise NotImplementedError("WatsonxEmbedder is a v1 component.")
def encode(self, text: str) -> np.ndarray:
raise NotImplementedError
|