Welcome to Portkey Forum

Updated 2 weeks ago

Cohere embeddings issue

Forgot to add. The only way the embedding works is if I use default settings by portkey, but I have no idea which model this uses and need to change model depending on input in some scenarios
G
M
13 comments
Found the issue @MolBioBoy will fix asap and let you know
there's a new parameter input_type that cohere added for new embedding models, that is not supported by portkey
raised the fix for this, will let you know once merged and pushed to prod
https://github.com/Portkey-AI/gateway/pull/614
awesome thanks Sega! I made my own bandaid fix in the meantime :p
that's great! sorry for the trouble!
This is fixed and released @MolBioBoy
hey @Snape | Portkey πŸ™‚
Trying this out now but no luck
unsure if i should be using .embeddings.create for this?
ah im an idiot
Xd, what did you do?
haha well I was using the official cohere docs to define my args and turns out portkey needs 'input' not 'texts'
Add a reply
Sign up and join the conversation on Discord