Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final changes before releasing v0.3.0 #75

Merged
merged 5 commits into from
Dec 20, 2024

Conversation

mohitcek
Copy link
Contributor

This PR includes following changes:

  1. Update Cosine metrics class to fix the input type of responses.
  2. Update code syntax based on Ruff suggestions.

@mohitcek mohitcek changed the title Update Cosine Metrics and Final changes before releasing v0.3.0 Dec 20, 2024
@@ -80,7 +80,7 @@ def evaluate(
), """langfair: Lists 'texts1' and 'texts2' must be of equal length."""

embeddings1, embeddings2 = self._get_embeddings(
transformer=self.transformer_instance, texts1=texts1, texts2=texts2
transformer=self.transformer_instance, texts1=list(texts1), texts2=list(texts2)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@mohitcek mohitcek marked this pull request as ready for review December 20, 2024 18:49
Copy link
Collaborator

@dylanbouchard dylanbouchard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@dylanbouchard dylanbouchard merged commit eff3648 into cvs-health:develop Dec 20, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants