Skip to content

Conversation

@awinml
Copy link
Contributor

@awinml awinml commented Oct 22, 2023

Related Issues

Proposed Changes:

Remove api_key from serialization of AzureOCRDocumentConverter and SerperDevWebSearch

How did you test it?

Unit Tests have been updated to test the serialization without api_key.

Notes for the reviewer

I have opened a PR (#6149) for migrating RemoteWhisperTranscriber to the OpenAI SDK. The RemoteWhisperTranscriber implementation in that PR does not serialize the api_key and is fixed as part of that PR.

Checklist

@awinml awinml requested a review from a team as a code owner October 22, 2023 21:39
@awinml awinml requested review from dfokina and removed request for a team October 22, 2023 21:39
Copy link
Member

@anakin87 anakin87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for another good PR!

I left a comment.
I also suggest adding a test_init_fail_wo_api_key to test_serperdev.

@anakin87
Copy link
Member

Your PR is ready to go! 🎉

@anakin87 anakin87 self-requested a review October 23, 2023 10:25
@anakin87 anakin87 merged commit 101bd81 into deepset-ai:main Oct 23, 2023
@awinml awinml deleted the remove_api_key_serialization branch November 29, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic:tests type:documentation Improvements on the docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove api_key from serialization of AzureOCRDocumentConverter, SerperDevWebSearch, RemoteWhisperTranscriber 2.0

2 participants