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 Bearer (token) authentication support to recipes #790

Merged
merged 7 commits into from
Oct 2, 2024

Conversation

thepetk
Copy link
Contributor

@thepetk thepetk commented Sep 23, 2024

PR Description

The PR adds support to specific recipes for Bearer Authentication. The affected recipes are:

  • audio/audio_to_text
  • computer_vision/object_detection
  • natural_language_processing/chatbot
  • natural_language_processing/codegen
  • natural_language_processing/rag
  • natural_language_processing/summarizer

In order to activate the bearer authentication support an env var called MODEL_ENDPOINT_BEARER should be provided. In case the env var is not provided the recipes work like before.

I've decided to open a PR following what is mentioned in the contributing guide here, let me know if I should do something else :)

@rhatdan
Copy link
Member

rhatdan commented Sep 23, 2024

@MichaelClifford @sallyom PTAL

@thepetk
Copy link
Contributor Author

thepetk commented Sep 30, 2024

@MichaelClifford @sallyom PTAL

Thanks!

Hey @MichaelClifford @sallyom! Let me know If there's anything you need from my side :)

@rhatdan
Copy link
Member

rhatdan commented Oct 2, 2024

LGTM

@rhatdan rhatdan merged commit 33f0d6c into containers:main Oct 2, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants