Skip to content

Commit

Permalink
chore(instillmodel): update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chuang8511 committed Oct 17, 2024
1 parent 7493ab5 commit 9e59af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/component/ai/instill/v0/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (e *execution) Execute(ctx context.Context, jobs []*base.Job) error {
var result []*structpb.Struct

// We will refactor the component soon to align the data structure with Instill Model.
// For now, we will use the task field to determine the task.
// For now, we move out `TASK_EMBEDDING` to a separate section.
if e.Task == "TASK_EMBEDDING" {
var inputStruct ai.EmbeddingInput
err := base.ConvertFromStructpb(inputs[0], &inputStruct)
Expand Down

0 comments on commit 9e59af8

Please sign in to comment.