public interface CometApi extends Closeable
Make sure to call CometApi.close() after finished with usage to release underlying resources.
| Modifier and Type | Method and Description |
|---|---|
List<ExperimentMetadata> |
getAllExperiments(String projectId)
Gets metadata of all experiments created under specified project id.
|
List<Project> |
getAllProjects(String workspaceName)
Gets all projects under specified workspace name.
|
List<String> |
getAllWorkspaces()
Gets all workspaces available for current API key.
|
ModelRegistryRecord |
registerModel(Model model,
String experimentKey)
Register model defined in the specified experiment in the Comet's model registry.
|
List<String> getAllWorkspaces()
List<Project> getAllProjects(String workspaceName)
workspaceName - workspace nameList<ExperimentMetadata> getAllExperiments(String projectId)
projectId - the ID of the project.ModelRegistryRecord registerModel(Model model, String experimentKey)
model - the Model to be registered.experimentKey - the identifier of the experiment where model assets was logged.ModelRegistryRecord instance holding information about model registry record.Copyright © 2022. All rights reserved.