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

profile model when creating a model from code #2618

Merged
merged 4 commits into from
Jan 30, 2024

Conversation

blanchco
Copy link
Contributor

@blanchco blanchco commented Jan 30, 2024

Description

  • profile a model when there is a document attached to the model from code operator and the user runs

**to note KM needs to be updated for the profiling to work

Screen.Recording.2024-01-30.at.11.17.38.AM.mov

sample of the model card in the preview:

Screenshot 2024-01-30 at 11 21 26 AM

@blanchco blanchco self-assigned this Jan 30, 2024
@blanchco blanchco linked an issue Jan 30, 2024 that may be closed by this pull request
6 tasks
@blanchco blanchco marked this pull request as ready for review January 30, 2024 16:29
@blanchco blanchco requested a review from shawnyama January 30, 2024 16:30
@blanchco blanchco merged commit bdd1fd7 into main Jan 30, 2024
5 checks passed
@blanchco blanchco deleted the model-from-code-model-card branch January 30, 2024 21:44
Comment on lines +357 to +362
async function profile(modelId: string) {
const profileModelJobId = await profileModel(modelId, documentId.value);
await fetchExtraction(profileModelJobId);
const model = await getModel(clonedState.value.modelId);
selectedModel.value = model;
}
Copy link
Member

Choose a reason for hiding this comment

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

This should be part of the model service.

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.

[TASK] Enhance "Code to Model" operator
3 participants