Replies: 1 comment 1 reply
-
Created in PR #9. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What does everyone think of having an endpoint that is:
api/molecules/dimensions
where we have query parameters
type (str, umap or pca)
components (list of numbers separated by commas, same as neighbors function where defaults are set based on type)
skip (optional, int)
limit (optional, int)
So calling the API would look like
api/molecules/components?type=pca&limit=100
(with some parameters as an example)We could add category (optional, string) as well to make it more similar to the current umap endpoint. Without a category, it would return all categories.
The should use a similar schema to
MoleculeNeighbors
(without distance). I wonder if we could use inheritance here:@ujamshed
Beta Was this translation helpful? Give feedback.
All reactions