Skip to main content

string_to_vec

No overview available.

def string_to_vec(
input_string: string
) - > list[float]

Converts a raw text string into a numerical vector representation suitable for machine learning tasks or similarity comparisons.

Parameters

NameTypeDescription
input_stringstringThe source text to be transformed into a vector format.

Returns

TypeDescription
list[float]A list of floating-point numbers representing the semantic or character-based embedding of the input text.