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

Add vector normalize processor #5424

Open
kkondaka opened this issue Feb 8, 2025 · 0 comments
Open

Add vector normalize processor #5424

kkondaka opened this issue Feb 8, 2025 · 0 comments

Comments

@kkondaka
Copy link
Collaborator

kkondaka commented Feb 8, 2025

Is your feature request related to a problem? Please describe.
Add vector normalize processor that can normalize a vector in the event.
Normalizing a vector is described here https://www.wikihow.com/Normalize-a-Vector

Describe the solution you'd like
A new processor that can normalize the vector as described in https://www.wikihow.com/Normalize-a-Vector.
Proposed configuration

processor:
   vector_normalization:
       keys: ["key1", "key2"]

The above config will do vector normalization of vector value for each of the keys.

Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant