Generated reference
osyra.resources.embeddings
``client.embeddings.create(...)`` — OpenAI-shaped ``/v1/embeddings`` client.
Builds the OpenAI embeddings JSON body (``model``, ``input``, optional ``dimensions``/``encoding_format``/``user``), sends it to the OSYRA edge, and parses the response into a typed ``CreateEmbeddingResponse``.
Classes
class Embeddings
Methods
__init__
def __init__(self, client: 'OpenAI') -> Nonecreate
def create(self, *, model: str, input: Union[str, List[str]], **kwargs: Any) -> CreateEmbeddingResponse