aurelio-labs / semantic-router

Superfast AI decision making and intelligent processing of multi-modal data.
https://www.aurelio.ai/semantic-router
MIT License
2.15k stars 221 forks source link

Semantic router on top of awsbedrock or langchain encoder #173

Open shankara-93 opened 9 months ago

shankara-93 commented 9 months ago

Is it possible to add support for the AWS bedrock embedding.. it would be great to be able perform routing use a aws bedrock embedding model

philikai commented 8 months ago

Hi both, amazing work with the semantic router - love the library.

@Siraj-Aizlewood: I gave this a try and implemented the BedrockEncoder class. Seems to work in the notebooks, but haven run or written a lot of tests yet. The Bedrock LLM is outstanding --> would focus on Claude 3 here with the msg api, which is closer to what users are used to I assume.

Do not thinIn case you want to team up, let me know.