Better Chatbots with Semantic Routes

  Рет қаралды 2,896

James Briggs

James Briggs

Күн бұрын

Пікірлер: 11
@AristideFumagalli
@AristideFumagalli Ай бұрын
such a cool idea - and it does exactly what it sounds like it needs to do. will be very useful for tool use and llm routing
@jamesbriggs
@jamesbriggs Ай бұрын
yeah we use it all the time for a lot of different things, I'm planning to share more hands on examples soon
@wild0nE12
@wild0nE12 Ай бұрын
Would the semantic router work if the questions are written in different languages?
@DoktorUde
@DoktorUde Ай бұрын
If you use a multilingual embedding model like those from OpenAI, you should be fine. It will likely work best when the utterances and input language are the same, but in theory, it should still function even if they are different.
@jamesbriggs
@jamesbriggs Ай бұрын
I can put together an example for multilingual use - but yeah it's pretty easy, I'd probably recommend using Cohere's models if you want a hosted multilingual model, this link should help: - Cohere multilingual model ie "embed-multilingual-v3.0" huggingface.co/Cohere/Cohere-embed-multilingual-v3.0 In semantic router you would install the cohere dependency, ie `pip install semantic-router[cohere]` then use their encoder like: ``` import os from semantic_router.encoders import CohereEncoder os.environ["COHERE_API_KEY"] = "your_api_key" encoder = CohereEncoder(name="embed-multilingual-v3.0") ``` With that you're good to go :)
@wild0nE12
@wild0nE12 Ай бұрын
Thanks! 💯
@DemetrioFilocamo
@DemetrioFilocamo Ай бұрын
It would be good to have some examples to test or see the real life results, like when you did the 75% discount example, I could see how we can semantically block ANY discount to be proposed by the llm, but will it work if we want to allow max 10% discount instead?
@waterangel273
@waterangel273 12 күн бұрын
awesome content. Let me try to use this. Just a small thing, is your voice in this video is abit too boomy, maybe can reduce the bass when you do the edit
@jamesbriggs
@jamesbriggs 10 күн бұрын
my mic audio was messed up so I had to use laptop audio unfortunately - it should be better in other videos :)
@anshulbhide
@anshulbhide Ай бұрын
Great video! However, Doesn't the latest version (0.0.72) use RouteLayer instead of SemanticRouter?
@jamesbriggs
@jamesbriggs Ай бұрын
0.0.72 is the latest release, but there have been a few “prereleases”, which are all numbered from 0.1.0.dev0 to 0.1.0.dev3, because they’re prereleases, pip won’t install them unless you specify that exact version - once everything is ready I’ll mark the 0.1.0 full release
Semantic Chunking for RAG
29:56
James Briggs
Рет қаралды 28 М.
AI Agents as Neuro-Symbolic Systems?
29:00
James Briggs
Рет қаралды 4,3 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
LangChain vs LangGraph: A Tale of Two Frameworks
9:55
IBM Technology
Рет қаралды 77 М.
Gemini 2 Agent + Google Search and Citations
23:07
James Briggs
Рет қаралды 3 М.
How to Build Effective AI Agents (without the hype)
24:27
Dave Ebbelaar
Рет қаралды 71 М.
LCM: The Ultimate Evolution of AI? Large Concept Models
30:13
Discover AI
Рет қаралды 58 М.
LangGraph Deep Dive: Build Better Agents
46:13
James Briggs
Рет қаралды 35 М.
Visualizing transformers and attention | Talk for TNG Big Tech Day '24
57:45
AI Is Not Designed for You
8:29
No Boilerplate
Рет қаралды 351 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,4 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН