Ask a question to get started
Enter to send•Shift+Enter new line
Type for synchronous embedding functions.
The function should take a sequence of strings and return a list of embeddings, where each embedding is a list of floats. The dimensionality of the embeddings should be consistent for all inputs.
EmbeddingsFunc = Callable[[Sequence[str]], list[list[float]]]