src/python/txtai/api.py
def embeddings(t: str):
    """
    Transforms text into an embeddings array.

    Args:
        t: input text

    Returns:
        embeddings array
    """

    return INDEX.transform(t)

    Transforms text into an embeddings array.

    Args:
        t: input text

    Returns:
        embeddings array
    
Transforms text into an embeddings array.
Transforms text into an embeddings array .
def embeddings(t: str):
    return INDEX.transform(t)
def embeddings ( t : str ) : return INDEX . transform ( t )
Transforms text into an embeddings array.
Transforms text into an embeddings array .
"""
    Transforms text into an embeddings array.

    Args:
        t: input text

    Returns:
        embeddings array
    """
None
t
str
None