(feat) add setting input_type for cohere

This commit is contained in:
ishaan-jaff 2023-11-02 10:16:35 -07:00
parent 724e169f32
commit 03860984eb
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,