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

Consider asserting input types #184

Open
jamie256 opened this issue Oct 31, 2023 · 0 comments
Open

Consider asserting input types #184

jamie256 opened this issue Oct 31, 2023 · 0 comments

Comments

@jamie256
Copy link
Collaborator

LangKit metrics mostly require specific shapes of the inputs, either Dict[str,str] or pandas dataframe of columns containing strings, but when integrators pass in embeddings or arrays of strings the underlying UDF metrics often yield confusing errors.

consider checking input type and raising error that gives a better hint to integrators on how to fix the issue.

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

1 participant