A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python.langchain.com/docs/integrations/text_embedding/clova below:

Clova Embeddings | 🦜️🔗 LangChain

Clova Embeddings

Clova offers an embeddings service

This example goes over how to use LangChain to interact with Clova inference for text embedding.

import os

os.environ["CLOVA_EMB_API_KEY"] = ""
os.environ["CLOVA_EMB_APIGW_API_KEY"] = ""
os.environ["CLOVA_EMB_APP_ID"] = ""
from langchain_community.embeddings import ClovaEmbeddings
embeddings = ClovaEmbeddings()
query_text = "This is a test query."
query_result = embeddings.embed_query(query_text)
document_text = ["This is a test doc1.", "This is a test doc2."]
document_result = embeddings.embed_documents(document_text)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4