Log in
Log into community
Welcome to Portkey Forum
New post
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Active
Updated 2 weeks ago
0
Follow
Cohere embeddings issue
Cohere embeddings issue
Active
0
Follow
M
MolBioBoy
3 months ago
Β·
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
Share
Open in Discord
G
Griphook | Portkey
3 months ago
Found the issue @MolBioBoy will fix asap and let you know
G
Griphook | Portkey
3 months ago
there's a new parameter input_type that cohere added for new embedding models, that is not supported by portkey
G
Griphook | Portkey
3 months ago
raised the fix for this, will let you know once merged and pushed to prod
https://github.com/Portkey-AI/gateway/pull/614
M
MolBioBoy
3 months ago
awesome thanks Sega! I made my own bandaid fix in the meantime :p
G
Griphook | Portkey
3 months ago
that's great! sorry for the trouble!
G
Griphook | Portkey
3 months ago
This is fixed and released @MolBioBoy
M
MolBioBoy
2 weeks ago
hey @Snape | Portkey π
M
MolBioBoy
2 weeks ago
Trying this out now but no luck
M
MolBioBoy
2 weeks ago
unsure if i should be using .embeddings.create for this?
M
MolBioBoy
2 weeks ago
ah im an idiot
M
MolBioBoy
2 weeks ago
nevermind
G
Griphook | Portkey
2 weeks ago
Xd, what did you do?
M
MolBioBoy
2 weeks ago
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
Join on Discord