EmbeddingsSchema#

class langchain_db2.utils.EmbeddingsSchema(*args, **kwargs)[source]#

Methods

__init__(*args, **kwargs)

embed_documents(texts)

embed_query(text)

__init__(*args, **kwargs)#
embed_documents(
texts: list[str],
) list[list[float]][source]#
Parameters:

texts (list[str])

Return type:

list[list[float]]

embed_query(text: str) list[float][source]#
Parameters:

text (str)

Return type:

list[float]