ComponentsText embedding modelsERNIE Embedding-V1ERNIE Embedding-V1ERNIE Embedding-V1 is a text representation model based on Baidu Wenxin's large-scale model technology,
which converts text into a vector form represented by numerical values, and is used in text retrieval, information recommendation, knowledge mining and other scenarios.from langchain.embeddings import ErnieEmbeddingsembeddings = ErnieEmbeddings()query_result = embeddings.embed_query("foo")doc_results = embeddings.embed_documents(["foo"])PreviousEmbaasNextFake Embeddings