From b93e65cab5ad0bb3c8dfbbb8f13454b8a74a7a91 Mon Sep 17 00:00:00 2001 From: "florian.pullem@telekom.de" Date: Fri, 29 Nov 2024 14:42:14 +0100 Subject: [PATCH] fix links, fix local development use --- docs/01_Overview.md | 2 +- docs/02_Introduction.md | 2 +- docs/03_Quickstart.md | 6 +++--- package-lock.json | 7 ++++--- src/theme/Navbar/switchMode.js | 13 ++++++++----- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/docs/01_Overview.md b/docs/01_Overview.md index ea66d12..b6b415d 100644 --- a/docs/01_Overview.md +++ b/docs/01_Overview.md @@ -64,7 +64,7 @@ Our LLM model serving enables effortless querying of open-source LLM models like ## Our API Suite :::tip -Begin with our APIs by exploring the [**Quickstart Guide**](./Quickstart.md) 🚀 for setup and integration instructions. +Begin with our APIs by exploring the [**Quickstart Guide**](./03_Quickstart.md) 🚀 for setup and integration instructions. Our API suite provides everything you need to interact seamlessly with advanced language models, allowing for customization, secure data handling, and efficient deployment across various applications. ::: diff --git a/docs/02_Introduction.md b/docs/02_Introduction.md index 7dff017..c91eda0 100644 --- a/docs/02_Introduction.md +++ b/docs/02_Introduction.md @@ -15,7 +15,7 @@ Welcome to AI Foundation Services - your gateway to private, secure, and scalabl ### Get Started 1. **Request a Trial API key:** [Fill out our form](https://docs.google.com/forms/d/e/1FAIpQLSdBDhCijYUIUeyJVTLzCy0rm55XgD2nG5supwtGRHXVfaX-fw/viewform) to receive your API key. -2. **Run your first query:** Once you have your API key, [dive into querying LLMs](./Quickstart.md) to unlock their potential. +2. **Run your first query:** Once you have your API key, [dive into querying LLMs](./03_Quickstart.md) to unlock their potential. ## Our Product ### Magenta SmartChat {#magenta-smartchat} diff --git a/docs/03_Quickstart.md b/docs/03_Quickstart.md index 5d13a18..385b7c4 100644 --- a/docs/03_Quickstart.md +++ b/docs/03_Quickstart.md @@ -53,7 +53,7 @@ To securely connect to our API, you’ll need to generate an API key from the da --- :::tip -You can see the list of our available models by using the command from [API Reference](./Model%20Serving/API%20Reference.md#list-of-available-models) or view the [list of available models](./Overview.md#available-llm-apis-on-ai-foundation-services). +You can see the list of our available models by using the command from [API Reference](./04_Model%20Serving/API%20Reference.md#list-of-available-models) or view the [list of available models](./01_Overview.md#available-llm-apis-on-ai-foundation-services). ::: --- @@ -154,6 +154,6 @@ You can see the list of our available models by using the command from [ { + const element = document.getElementById('mode-switch'); + if (element) { + element.addEventListener('click', function switchMode() { + const isDark = document.body.dataset.mode === 'dark'; + document.body.dataset.mode = isDark ? 'light' : 'dark'; + }); + } }); } \ No newline at end of file