Skip to content

Commit

Permalink
Merge pull request #614 from narengogi/chore/support-additional-param…
Browse files Browse the repository at this point in the history
…s-cohere-embed

Chore/support additional params cohere embed
  • Loading branch information
VisargD authored Sep 16, 2024
2 parents 699a63f + 8ca2491 commit b12ce10
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/providers/cohere/embed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ export const CohereEmbedConfig: ProviderConfig = {
param: 'model',
default: 'embed-english-light-v2.0',
},
input_type: {
param: 'input_type',
required: false,
},
embedding_types: {
param: 'embedding_types',
required: false,
},
truncate: {
param: 'truncate',
required: false,
},
};

/**
Expand Down

0 comments on commit b12ce10

Please sign in to comment.