diff --git a/parea/evals/chat.py b/parea/evals/chat.py index 80d221c7..ae9fe3cc 100644 --- a/parea/evals/chat.py +++ b/parea/evals/chat.py @@ -5,6 +5,7 @@ def goal_success_ratio(log: Log) -> float: """Returns the average amount of turns the user had to converse with the AI to reach their goals.""" messages = [m.to_dict() for m in log.configuration.messages] + messages.append({"role": "assistant", "content": log.output}) # need to determine where does a new goal start conversation_segments = [] diff --git a/pyproject.toml b/pyproject.toml index fc09985a..3ef97532 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "parea-ai" packages = [{ include = "parea" }] -version = "0.2.18" +version = "0.2.19" description = "Parea python sdk" readme = "README.md" authors = ["joel-parea-ai "]