Llm, Prompt Engineering, Langchain, Llmops, Heartbeat.
validating outputs. from langchain.evaluation import RegexMatchStringEvaluator evaluator = RegexMatchStringEvaluator() evaluator.evaluate_strings( prediction="The date is 2022-01-01", reference="The date is 2022-01-01" ) # {'score': 1} # Check for the presence of a MM-DD-YYYY string.