Skip to content

Commit

Permalink
Remove cohere rerank from *sagemaker* cross-encoders
Browse files Browse the repository at this point in the history
  • Loading branch information
ystoneman authored May 9, 2024
1 parent 57dc67c commit 69cdc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rag-engines/sagemaker-rag-models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class SageMakerRagModels extends Construct {
.map((c) => c.name);

const sageMakerCrossEncoderModelIds = props.config.rag.crossEncoderModels
.filter((c) => c.provider === "sagemaker" || c.provider === "cohere")
.filter((c) => c.provider === "sagemaker")
.map((c) => c.name);

const model = new SageMakerModel(this, "Model", {
Expand Down

0 comments on commit 69cdc88

Please sign in to comment.