Llm, Prompt Engineering, Langchain, Llmops, Heartbeat.
embeddings by default, but you can configure this however you want. Below, use HuggingFace local embeddings: from langchain.embeddings import HuggingFaceEmbeddings embedding_model = HuggingFaceEmbeddings() hf_evaluator = load_evaluator("embedding_distance", embeddings=embedding_model)