src/python/txtai/api.py
def transform(self, text):
        """
        Transforms text into an embeddings array.

        Args:
            text: input text

        Returns:
            embeddings array
        """

        return [float(x) for x in self.embeddings.transform((None, text, None))]

        Transforms text into an embeddings array.

        Args:
            text: input text

        Returns:
            embeddings array
        
Transforms text into an embeddings array.
Transforms text into an embeddings array .
def transform(self, text):
        return [float(x) for x in self.embeddings.transform((None, text, None))]
def transform ( self , text ) : return [ float ( x ) for x in self . embeddings . transform ( ( None , text , None ) ) ]
Transforms text into an embeddings array.
Transforms text into an embeddings array .
"""
        Transforms text into an embeddings array.

        Args:
            text: input text

        Returns:
            embeddings array
        """
None
self
text
None