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

Minor fix to error message given for invalid providerKey #1113

Merged
merged 4 commits into from
May 23, 2024

Conversation

tatu-at-datastax
Copy link
Contributor

What this PR does:

Improves error message given to user for malformatted 'providerKey'

Which issue(s) this PR fixes:
N/A

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax tatu-at-datastax self-assigned this May 22, 2024
@tatu-at-datastax tatu-at-datastax requested a review from a team as a code owner May 22, 2024 22:03
@tatu-at-datastax
Copy link
Contributor Author

@Yuqi-Du Not quite sure why the new failing test does not actually fail... validation does not seem to occur?

"metric": "cosine",
"dimension": 5,
"service": {
"provider": "openai",
Copy link
Contributor

Choose a reason for hiding this comment

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

Just change the provider to 'openai'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, let's wait for CI to pass!

@tatu-at-datastax tatu-at-datastax merged commit 36a2b63 into main May 23, 2024
3 checks passed
@tatu-at-datastax tatu-at-datastax deleted the tatu/improve-log-msg branch May 23, 2024 16:09
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.

3 participants