我们已完成 1.25 亿美元的 B 轮融资,用于构建代理工程平台。阅读更多。
Python
from langchain_community.embeddings import BookendEmbeddings
embeddings = BookendEmbeddings( domain="your_domain", api_token="your_api_token", model_id="your_embeddings_model_id", )
text = "This is a test document."
query_result = embeddings.embed_query(text)
doc_result = embeddings.embed_documents([text])
此页面有帮助吗?