Llm, Prompt Engineering, Langchain, Llmops, Heartbeat.
load_evaluator("string_distance") evaluator.evaluate_strings( prediction="My name is Harpreet, and I love to learn LangChain", reference="Harpreet loves learning langchain", ) # will output {'score': 0.31919191919191914} You can change the metric like so: levenshtein_evaluator = load_evaluator(