NEW AI Framework - Steerable Chatbots with Semantic Router
Semantic Router is a superfast decision layer for your LLMs and agents that integrates with LangChain, improves RAG, and supports OpenAI and Cohere. ⭐ Repo: https://www.github.com/aurelio-labs/semantic-router Rather than waiting for slow LLM generations to make tool-use decisions, we use the magic of semantic vector space to make those decisions — routing our requests using semantic meaning. This approach unlocks incredibly fast agentic decision-making, the ability to use *literally* millions of tools, and provides much greater steerability and AI safety using semantics. 📌 Code: Intro: https://github.com/aurelio-labs/semantic-router/blob/main/docs/00-introduction.ipynb LangChain Agents: https://github.com/aurelio-labs/semantic-router/blob/main/docs/03-basic-langchain-agent.ipynb 🔥 Semantic Router Course: https://www.aurelio.ai/course/semantic-router 👋🏼 AI Dev: https://aurelio.ai 👾 Discord: https://discord.gg/c5QtDB9RAP Twitter: https://twitter.com/jamescalam LinkedIn: https://www.linkedin.com/in/jamescalam/ 00:00 New Python Library for Better AI 01:57 Using Semantic Router 02:26 Semantic Router in Python 03:08 Defining Guardrails and Routes for LLMs 04:34 Initializing a RouteLayer 07:39 Using the Router with LangChain Agents 11:47 What else can Semantic Router do 12:40 Final Notes on the Library