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 observability and security part of the providers #91

Open
subramanya1997 opened this issue Nov 28, 2024 · 0 comments
Open

Add observability and security part of the providers #91

subramanya1997 opened this issue Nov 28, 2024 · 0 comments

Comments

@subramanya1997
Copy link

It would be great to see basic observability and security features integrated directly into BaseProvider class.

Observability:

  1. Logging: Track API calls, errors, and performance metrics for better debugging.
  2. Tracing: Integrate with OpenTelemetry for distributed tracing across providers.
  3. Metrics: Expose latency, throughput, and error rates to monitor provider performance.

Security:

  1. Input Validation: Mitigate risks like prompt injection and ensure PII masking.
  2. Response Filtering: Enable moderation to filter sensitive or unsafe outputs.

These features would enhance reliability, transparency, and safety.

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