Skip to content

Commit

Permalink
Update recommend action with new model v2 shape
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoedecke committed Sep 16, 2024
1 parent 601cc27 commit 5fd650c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/functions/recommend-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ export class recommendModel extends Tool {
systemMessage.push(
[
`\t- Model Name: ${model.name}`,
`\t\tModel Version: ${model.model_version}`,
`\t\tModel Version: ${model.version}`,
`\t\tPublisher: ${model.publisher}`,
`\t\tModel Family: ${model.model_family}`,
`\t\tModel Registry: ${model.model_registry}`,
`\t\tModel Registry: ${model.registryName}`,
`\t\tLicense: ${model.license}`,
`\t\tTask: ${model.task}`,
`\t\tTask: ${model.inferenceTasks.join(", ")}`,
`\t\tSummary: ${model.summary}`,
].join("\n")
);
Expand Down

0 comments on commit 5fd650c

Please sign in to comment.