Skip to content

Commit 7efe4bc

Browse files
authored
Add semantic routing example (#57)
* add routing notebook
1 parent 52b7af4 commit 7efe4bc

File tree

2 files changed

+699
-0
lines changed

2 files changed

+699
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ An estimated 31% of LLM queries are potentially redundant ([source](https://arxi
8080
| [/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 |
8181
| [/semantic-cache/semantic_caching_gemini.ipynb](python-recipes/semantic-cache/semantic_caching_gemini.ipynb) | Build a semantic cache with Redis and Google Gemini |
8282

83+
### Semantic Routing
84+
Routing is a simple and effective way of preventing misuses with your AI application or for creating branching logic between data sources etc.
85+
86+
| Recipe | Description |
87+
| --- | --- |
88+
| [/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 |
89+
8390
### Agents
8491

8592
| Recipe | Description |

0 commit comments

Comments
 (0)