diff --git a/docs/examples/llm/neutrino.ipynb b/docs/examples/llm/neutrino.ipynb index fa5d62a239dac30bc45dca95e11bc39629963094..b24908f287b4d901d039ab4eaa7eaaa51c8c9a8f 100644 --- a/docs/examples/llm/neutrino.ipynb +++ b/docs/examples/llm/neutrino.ipynb @@ -13,7 +13,11 @@ "source": [ "# Neutrino AI\n", "\n", - "Neutrino lets you intelligently route queries to the best-suited LLM for the prompt, maximizing performance while optimizing for costs and latency.\n" + "Neutrino lets you intelligently route queries to the best-suited LLM for the prompt, maximizing performance while optimizing for costs and latency.\n", + "\n", + "Check us out at: <a href=\"https://www.neutrinoapp.com/\">neutrinoapp.com</a>\n", + "Docs: <a href=\"https://docs.neutrinoapp.com/\">docs.neutrinoapp.com</a>\n", + "Create an API key: <a href=\"https://platform.neutrinoapp.com/\">platform.neutrinoapp.com</a>\n" ] }, { @@ -25,14 +29,32 @@ "!pip install llama-index" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### Set Neutrino API Key env variable\n", + "You can create an API key at: <a href=\"https://platform.neutrinoapp.com/\">platform.neutrinoapp.com</a>" + ] + }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ - "from llama_index.llms import Neutrino\n", - "from llama_index.llms import ChatMessage" + "import os\n", + "\n", + "os.environ[\"NEUTRINO_API_KEY\"] = \"<your-neutrino-api-key>\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### Using Your Router\n", + "A router is a collection of LLMs that you can route queries to. You can create a router in the Neutrino <a href=\"https://platform.neutrinoapp.com/\">dashboard</a> or use the default router, which includes all supported models.\n", + "You can treat a router as a LLM.\n" ] }, { @@ -50,9 +72,8 @@ } ], "source": [ - "import os\n", - "\n", - "os.environ[\"NEUTRINO_API_KEY\"] = \"<your-neutrino-api-key>\"\n", + "from llama_index.llms import Neutrino\n", + "from llama_index.llms import ChatMessage\n", "\n", "llm = Neutrino(\n", " # api_key=\"<your-neutrino-api-key>\",\n",