-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate
ExtractiveReader
to use secret management (#7309)
* chore: migrate `ExtractiveReader` to use secret management * docs: add release notes
- Loading branch information
Showing
3 changed files
with
87 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/update-secret-management-extractive-reader-4a8ce8df1f2705f8.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
upgrade: | ||
- | | ||
Update secret handling for the `ExtractiveReader` component using the `Secret` type. | ||
The default init parameter `token` is now required to either use a token or the environment `HF_API_TOKEN` variable | ||
if authentication is required - The on-disk local token file is no longer supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters