BookendEmbeddings(
self,
**kwargs: Any = {},
)Request for an API token at https://bookend.ai/ to use this embeddings module.
Bookend AI sentence_transformers embedding models.
Example:
.. code-block:: python
from langchain_community.embeddings import BookendEmbeddings
bookend = BookendEmbeddings( domain={domain} api_token={api_token} model_id={model_id} ) bookend.embed_documents([ "Please put on these earmuffs because I can't you hear.", "Baby wipes are made of chocolate stardust.", ]) bookend.embed_query( "She only paints with bold colors; she does not like pastels." )