Skip to content

Commit

Permalink
fix: set embedding model for knowledge retrieval
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Nov 21, 2024
1 parent f1e12f1 commit af9092d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/invoke/invoker.go
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ func (i *Invoker) Resume(ctx context.Context, c kclient.WithWatch, thread *v1.Th
"OTTO8_WORKFLOW_ID="+run.Spec.WorkflowName,
"OTTO8_WORKFLOW_STEP_ID="+run.Spec.WorkflowStepID,
"OTTO8_AGENT_ID="+run.Spec.AgentName,
"OPENAI_EMBEDDING_MODEL="+string(types.DefaultModelTextEmbedding),
"GPTSCRIPT_HTTP_ENV=OTTO8_TOKEN,OTTO8_RUN_ID,OTTO8_THREAD_ID,OTTO8_WORKFLOW_ID,OTTO8_WORKFLOW_STEP_ID,OTTO8_AGENT_ID",
),
DefaultModel: run.Spec.DefaultModel,
Expand Down

0 comments on commit af9092d

Please sign in to comment.