Skip to content

Conversation

@rmitsch
Copy link
Collaborator

@rmitsch rmitsch commented Jul 7, 2023

Description

Makes verification of authentication details at init time optional for REST models. Adds auth check at init time for Cohere and Anthropic models.

Corresponding documentation PR

todo (waiting for docs migration to spacy.io to be done first)

Types of change

Enhancement.

Checklist

  • I confirm that I have the right to submit this contribution under the project's MIT license.
  • I ran all tests in tests and usage_examples/tests, and all new and existing tests passed. This includes
    • all external tests (i. e. pytest ran with --external)
    • all tests requiring a GPU
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@rmitsch rmitsch added enhancement Improvement of existing feature feat/model Feature: models labels Jul 7, 2023
@rmitsch rmitsch self-assigned this Jul 7, 2023
@rmitsch rmitsch marked this pull request as ready for review July 7, 2023 10:19
Copy link
Contributor

@svlandeg svlandeg left a comment

Choose a reason for hiding this comment

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

LGTM!

@rmitsch rmitsch changed the base branch from main to develop July 11, 2023 10:07
@rmitsch rmitsch changed the base branch from develop to main July 11, 2023 10:07
@rmitsch rmitsch merged commit 85176ff into main Jul 11, 2023
@svlandeg svlandeg deleted the feat/optional-auth-verify branch July 11, 2023 10:15
rmitsch added a commit that referenced this pull request Jul 12, 2023
* Fix regex -> re import. (#205)

* Add 'gpu' marker. (#208)

* Optional authentation verification at init time (#206)

* Add verify_auth param.

* Add _verify_auth() for Cohere and Anthropic.

* Make auth check mandatory again.

* Remove redundant PR.

* Fix OpenLLaMA model names (#209)

* Update PR template. (#207)

* Update OpenLLaMA model names.

* fix model name in documentation (#210)

* Bump version to 0.4.1. (#211)

---------

Co-authored-by: Sofie Van Landeghem <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement of existing feature feat/model Feature: models

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants