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

Danyil/fix cloud cleanup #216

Merged
merged 5 commits into from
Jan 29, 2024
Merged

Danyil/fix cloud cleanup #216

merged 5 commits into from
Jan 29, 2024

Conversation

danyilq
Copy link
Contributor

@danyilq danyilq commented Jan 22, 2024

  • 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, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

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

  • Other information:

unstructured_text_custom_prepro = "unstr_txt_custom_prepro"
unstructured_text = "pymarqo_unstr_txt"
unstructured_image = "pymarqo_unstr_img"
unstructured_text_custom_prepro = "pymarqo_unstr_txt_custom_prepro"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this index created during the test? There is a restriction on the length of the index name (32 chars). Note we add 4 chars as unique identifiers in addition to this string

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This one is actually not used anywhere and it just needs to be renamed.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you make sure this index can be created correctly and the custom model can be used? Because this is related to custom models which is kind of important.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I could add it and add another test but it will force us to have 4 indexes created per test execution. @pandu-k should we do it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

custom models are an important use case. Ideally we find a way to make it work with the current indexes, but if we need to add a new index for this to work we can do that too.

Tbh when we fix this, this test should be extended to include private (auth-required) models

@danyilq danyilq merged commit 921c185 into mainline Jan 29, 2024
5 checks passed
@danyilq danyilq deleted the danyil/fix-cloud-cleanup branch January 29, 2024 00:02
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