Skip to content

Commit

Permalink
[BUG] Update Cohere embedding function to agree with new API
Browse files Browse the repository at this point in the history
  • Loading branch information
itaismith committed Jan 8, 2025
1 parent fe13636 commit bc75a89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ def __call__(self, input: Documents) -> Embeddings:
embeddings
for embeddings in self._client.embed(
texts=input, model=self._model_name, input_type="search_document"
)
).embeddings
]

0 comments on commit bc75a89

Please sign in to comment.