Llm, Prompt Engineering, Langchain, Llmops, Heartbeat.
"string_distance", distance='levenshtein' ) levenshtein_evaluator.evaluate_strings( prediction="My name is Harpreet, and I love to learn LangChain", reference="Harpreet loves learning langchain", ) # {'score': 0.52} For some metrics, you need to instantiate the StringDistanceEvalChain: from