From f720618ccd2c1e400b630d098c3445e5eeebd056 Mon Sep 17 00:00:00 2001 From: Sarmad Qadri Date: Tue, 21 May 2024 14:20:29 -0400 Subject: [PATCH] Fix readme Summary: Test Plan: --- cookbooks/Basic-Prompt-Routing/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cookbooks/Basic-Prompt-Routing/README.md b/cookbooks/Basic-Prompt-Routing/README.md index b85cfd00a..927f7a393 100644 --- a/cookbooks/Basic-Prompt-Routing/README.md +++ b/cookbooks/Basic-Prompt-Routing/README.md @@ -1,14 +1,14 @@ # Basic Prompting Routing - AI Teaching Assistant -[![colab](https://colab.research.google.com/drive/1ue0ZAEdlalw57JwTtXlfl8kH8W_j1XQq#scrollTo=kNmnUZnUFzt3)] +[![colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1ue0ZAEdlalw57JwTtXlfl8kH8W_j1XQq#scrollTo=kNmnUZnUFzt3) This demo shows prompt routing with AIConfig. We used streamlit to host the app so you can interact with the assistant! Alternatively, you can run the aiconfig in an ipynb -![image](https://github-production-user-asset-6210df.s3.amazonaws.com/81494782/282203473-f779feb6-339d-4331-9aed-1761b845100a.png) - ## Streamlit +![image](https://github-production-user-asset-6210df.s3.amazonaws.com/81494782/282203473-f779feb6-339d-4331-9aed-1761b845100a.png) + ### How does it work? The user asks a question. The LLM decides the topic as math, physics, or general. Based on the topic, the LLM selects a different "assistant" to respond. These assistants have different system prompts and respond with varying introductions and style of response. @@ -25,6 +25,6 @@ The user asks a question. The LLM decides the topic as math, physics, or general ## IPython Notebook -[![colab](https://colab.research.google.com/drive/1ue0ZAEdlalw57JwTtXlfl8kH8W_j1XQq#scrollTo=kNmnUZnUFzt3)] +[![colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1ue0ZAEdlalw57JwTtXlfl8kH8W_j1XQq#scrollTo=kNmnUZnUFzt3) Open assistant.ipynb in this folder, or in Colab, to use the aiconfig