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

FEAT allow for easier querying for supported input / output types in converters #543

Open
romanlutz opened this issue Nov 11, 2024 · 0 comments
Labels
converters Related to PyRIT converters enhancement New feature or request help wanted Extra attention is needed

Comments

@romanlutz
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently, you can get the supported input types by iterating through all types (like text below) and running it through

converter.input_supported("text")

But you'd need to know all the types. That also only gets you input types, not output types.

Describe the solution you'd like

This may be preferable:

coverter.supported_input_types
["text", "audio"]

We could do the same for output types, of course.

@romanlutz romanlutz added enhancement New feature or request help wanted Extra attention is needed converters Related to PyRIT converters labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
converters Related to PyRIT converters enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant