langtree.core.utils

Module Contents

Functions

get_embedding_content(output)

Process the output to return a list of embeddings.

langtree.core.utils.get_embedding_content(output)[source]

Process the output to return a list of embeddings.

Each embedding is a list of float values.

Parameters:

output (list of lists) – The output containing potential embeddings.

Returns:

Processed embeddings as lists of float values.

Return type:

list of lists