(feat) add setting input_type for cohere

This commit is contained in:
ishaan-jaff 2023-11-02 10:16:35 -07:00
parent d100bfdc2e
commit 36a2266382
2 changed files with 7 additions and 0 deletions

View file

@ -1764,6 +1764,7 @@ def embedding(
response = cohere.embedding(
model=model,
input=input,
optional_params=kwargs,
encoding=encoding,
api_key=cohere_key,
logging_obj=logging,