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

SemanticSimilarity API (with_column) error #5

Open
mforsterqvest opened this issue Nov 11, 2024 · 3 comments
Open

SemanticSimilarity API (with_column) error #5

mforsterqvest opened this issue Nov 11, 2024 · 3 comments

Comments

@mforsterqvest
Copy link

mforsterqvest commented Nov 11, 2024

Hello I'm attempting to use SemanticSimilarity from the tutorial and I get the following error:

ValidationError: 1 validation error for SemanticSimilarity with_column field required (type=value_error.missing)

I'm currently invoking the API as the following:

SemanticSimilarity( display_name="Response Similarity"). \ on(["target_response", "new_response"])

Has there been any updates to the API?

@elenasamuylova
Copy link
Collaborator

Hi @mforsterqvest , could you specify which tutorial are you refering to?

@mforsterqvest
Copy link
Author

@elenasamuylova
Copy link
Collaborator

elenasamuylova commented Nov 18, 2024

Hi @mforsterqvest , thanks for flagging! There has indeed been a change in the API that was not updated in all examples.

Check the correct code here: https://github.com/evidentlyai/community-examples/blob/main/tutorials/How_to_run_regression_testing_for_LLMs.ipynb

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

No branches or pull requests

2 participants