From 917412c42f029fed2c90fb1fda6c89c47965abd5 Mon Sep 17 00:00:00 2001 From: Thibault Molleman Date: Fri, 1 Nov 2024 19:07:25 +0000 Subject: [PATCH] add url parameter for assistant to docs --- docs/kagi/ai/assistant.md | 18 ++++++++++++++++++ docs/kagi/ai/custom-assistants.md | 12 ++++++++++++ 2 files changed, 30 insertions(+) diff --git a/docs/kagi/ai/assistant.md b/docs/kagi/ai/assistant.md index 553bd748..9d361f77 100644 --- a/docs/kagi/ai/assistant.md +++ b/docs/kagi/ai/assistant.md @@ -166,6 +166,24 @@ You can quickly access Assistant from Kagi Search by using the following [bangs] You can also access the **Code** Custom Assistant with the `!code` bang. +For this addition, a natural location would be right after the **LLMs Available in The Assistant** section, adding a clear explanation on the use of the `profile` parameter to select a specific LLM, like `gpt-4o` or `claude3.5`. Here's the updated content for that section: + +## URL Parameter for Model Selection + +You can specify a particular model in the Assistant's URL by including a `profile` parameter. +`https://kagi.com/assistant?profile=gpt_4o&q={{{s}}}` +The available model names include: `gpt_4o` `gpt_4o_mini` `gpt_4` `gpt_4_turbo` `claude_3_haiku` `claude_3_opus` `claude_3_sonnet` `code` `gemini_pro` `llama-3-405b` `mistral_pixtral` `mistral_large` + +### Example Usage: + +To use GPT-4o specifically, you can configure your request with: + +``` +/assistant?q=%s&profile=gpt-4o +``` + +For custom assistants, you can use the UUID by navigating to the Assistant settings page, selecting the assistant to view its URL, and copying the UUID. Replace `profile=UUID-HERE` in your bang URL with this UUID to direct the request to your custom assistant. + ## Availability The Assistant is available to all Kagi Ultimate members. diff --git a/docs/kagi/ai/custom-assistants.md b/docs/kagi/ai/custom-assistants.md index 41bd3db8..c1a0fc9f 100644 --- a/docs/kagi/ai/custom-assistants.md +++ b/docs/kagi/ai/custom-assistants.md @@ -47,6 +47,18 @@ Remember that well-crafted instructions lead to more accurate and useful respons Select your Custom Assistant from the model-selection dropdown menu below the prompt bar to begin interaction. +## URL Parameter for Custom Assistants + +You can specify a custom assistant by adding a `profile` parameter to the URL, using either the name (in lowercase, hyphenated format) or the UUID of your custom assistant. + +For instance, if you want to use a specific custom assistant, locate its UUID by navigating to your [Custom Assistants settings page](https://kagi.com/settings?p=assistant), and copy the long UUID found in the URL when editing the assistant. You can then create a custom bang template, like: + +``` +/assistant?q=%s&profile=c03f3098-9ead-408f-93f0-407a77e697db +``` + +This setup will direct the request to your specified assistant. + ## Default Custom Assistants The Assistant comes with carefully pre-configured assistants designed to enhance your productivity.