Skip to content

Commit

Permalink
Add semantic routing example (#57)
Browse files Browse the repository at this point in the history
* add routing notebook
  • Loading branch information
rbs333 authored Jan 28, 2025
1 parent 52b7af4 commit 7efe4bc
Show file tree
Hide file tree
Showing 2 changed files with 699 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,13 @@ An estimated 31% of LLM queries are potentially redundant ([source](https://arxi
| [/semantic-cache/doc2cache_llama3_1.ipynb](python-recipes/semantic-cache/doc2cache_llama3_1.ipynb) | Build a semantic cache using the Doc2Cache framework and Llama3.1 |
| [/semantic-cache/semantic_caching_gemini.ipynb](python-recipes/semantic-cache/semantic_caching_gemini.ipynb) | Build a semantic cache with Redis and Google Gemini |

### Semantic Routing
Routing is a simple and effective way of preventing misuses with your AI application or for creating branching logic between data sources etc.

| Recipe | Description |
| --- | --- |
| [/semantic-router/00_semantic_routing.ipynb](python-recipes/semantic-router/00_semantic_routing.ipynb) | Simple examples of how to build an allow/block list router in addition to a multi-topic router |

### Agents

| Recipe | Description |
Expand Down
Loading

0 comments on commit 7efe4bc

Please sign in to comment.