AI Decision Making — Optimizing Routes

Published: 27 February 2024
on channel: James Briggs
5,173
108

AI decision-making can now be easily trained using the optimization methods available in semantic router.

Route score thresholds define whether a route should be chosen. If the score we identify for any given route is higher than the Route.score_threshold, it passes; otherwise, it does not, and either another route is chosen or we return no route.

Given that this one score_threshold parameter can define the choice of a route, it's important to get it right — but it's incredibly inefficient to do so manually. Instead, we can use the fit and evaluate methods of our RouteLayer. All we must do is pass a smaller number of (utterance, target route) examples to our methods, and with the fit, we will often see dramatically improved performance within seconds — we will see how to measure that performance gain with evaluation.

⭐ GitHub Repo:
https://github.com/aurelio-labs/seman...

📌 Code:
https://github.com/aurelio-labs/seman...

🔥 Semantic Router Course:
https://www.aurelio.ai/course/semanti...

👋🏼 AI Consulting:
https://aurelio.ai

👾 Discord:
  / discord  

Twitter:   / jamescalam  
LinkedIn:   / jamescalam  


Watch video AI Decision Making — Optimizing Routes online without registration, duration hours minute second in high quality. This video was added by user James Briggs 27 February 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,173 once and liked it 108 people.