Skip to content

Conversation

@pandu-k
Copy link
Collaborator

@pandu-k pandu-k commented Jan 6, 2023

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Feature

  • What is the current behavior? (You can also link to an open issue here)
    Reranker properties aren't available

  • What is the new behavior (if this is a feature change)?
    Exposes reranker properties for search. This enables passing API keys, for use in GPT's API, for example.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No

  • Other information:

@pandu-k pandu-k requested a review from wanliAlex January 6, 2023 07:06
reranker_properties={"api_key": "f"}
)
except MarqoWebError as e:
options = [["api", "key"], ["open", "ai"]]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we can add a comment here like "# test the format of the error message" for clarification.

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