From 930083cf7134ef244b58ba5553506de51cca6d65 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Thu, 12 Dec 2024 10:05:10 -0800 Subject: [PATCH 1/4] Docs working branch for Sourcegraph Dec release --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d057153a..abdbab038 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Sourcegraph Docs - + Welcome to the Sourcegraph documentation! We're excited to have you contribute to our docs. We've recently rearchitectured our docs tech stack — powered by Next.js, TailwindCSS and deployed on Vercel. This guide will walk you through the process of contributing to our documentation using the new tech stack. From 784fdc0736470813b5d17aa60542e14b7bb00f96 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Mon, 16 Dec 2024 12:02:27 -0800 Subject: [PATCH 2/4] Add docs for prompts tags --- docs/cody/capabilities/commands.mdx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/cody/capabilities/commands.mdx b/docs/cody/capabilities/commands.mdx index a951ccbe8..171b5258d 100644 --- a/docs/cody/capabilities/commands.mdx +++ b/docs/cody/capabilities/commands.mdx @@ -67,6 +67,29 @@ Once the prompt is visible, it's ready to be used by: To edit a prompt, click the Edit button next to the prompt in the Prompt Library and make the necessary changes. You can also use this interface to **Transfer Ownership** of the prompt or delete it from this view. +## Prompt tags + +Prompt tags are supported in Sourcegraph Enterprise, and only site admins can create them. + +Site admins can categorize prompts and create **tags**. This helps you keep your prompts organized, especially when there are many prompts to use and manage. + +- Go to **Tools > Prompt Library** from your Enterprise Sourcegraph instance +- From the left sidebar click **Manage** next to the **tags** list +- All the new and existing tags are listed here. You can also search for a specific tag by typing its name in the search box +- Click **New tag**, type the **Tag name** and hit the **Create** button + +![prompt-tags](https://storage.googleapis.com/sourcegraph-assets/Docs/prompts-tags.png) + +Once created, it will appear in the **Tags** list and in the sidebar of the Prompt Library. To manage your prompt tags, you can **edit**, **delete**, or **copy link to prompts with this tag**. + +### Assigning tags to prompts + +Once site admins create tags, other users in your organization can assign tags to their prompts. While creating or editing a prompt, there is a drop-down selector **Add prompt to...** to assign tags to the prompt. + +![assign-prompt-tags](https://storage.googleapis.com/sourcegraph-assets/Docs/assign-prompt-tags.png) + +You can assign multiple tags to a prompt and group them based on their functionality, category, or any other criteria for your organization. In addition, with tags assigned to prompts, you can filter prompts by tags in the Prompt Library. + ## Run prompts You can run prompts via: From 7808404270016555f8582ceca1cd2cf8a65e69fb Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Mon, 16 Dec 2024 12:14:17 -0800 Subject: [PATCH 3/4] Gemini Flash 2.0 Experimental --- docs/cody/capabilities/supported-models.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/cody/capabilities/supported-models.mdx b/docs/cody/capabilities/supported-models.mdx index 2c9e2a877..631c6dac8 100644 --- a/docs/cody/capabilities/supported-models.mdx +++ b/docs/cody/capabilities/supported-models.mdx @@ -4,7 +4,7 @@ Cody supports a variety of cutting-edge large language models for use in chat and prompts, allowing you to select the best model for your use case. -Newer versions of Sourcegraph Enterprise, starting from v5.6, it will be even easier to add support for new models and providers, see [Model Configuration](/cody/clients/model-configuration) for more information. +Newer versions of Sourcegraph Enterprise, starting from v5.6, it will be even easier to add support for new models and providers, see [Model Configuration](/cody/enterprise/model-configuration) for more information. | **Provider** | **Model** | **Free** | **Pro** | **Enterprise** | | | | | | :------------ | :-------------------------------------------------------------------------------------------------------------------------------------------- | :----------- | :----------- | :------------- | --- | --- | --- | --- | @@ -23,6 +23,7 @@ Cody supports a variety of cutting-edge large language models for use in chat an | Ollama | [variety](https://ollama.com/) | experimental | experimental | - | | | | | | Google Gemini | [1.5 Pro](https://deepmind.google/technologies/gemini/pro/) | ✅ | ✅ | ✅ (Beta) | | | | | | Google Gemini | [1.5 Flash](https://deepmind.google/technologies/gemini/flash/) | ✅ | ✅ | ✅ (Beta) | | | | | +| Google Gemini | [2.0 Flash Experimental](https://deepmind.google/technologies/gemini/flash/) | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | To use Claude 3 (Opus and Sonnets) models with Cody Enterprise, make sure you've upgraded your Sourcegraph instance to the latest version. From 39219555a739b91dba8ec81209c703219206af40 Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Mon, 16 Dec 2024 12:16:26 -0800 Subject: [PATCH 4/4] Add legacy versions --- docs.config.js | 2 +- docs/legacy.mdx | 1 + src/data/versions.ts | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs.config.js b/docs.config.js index e6ce442f4..2ef577205 100644 --- a/docs.config.js +++ b/docs.config.js @@ -1,5 +1,5 @@ const config = { - DOCS_LATEST_VERSION: '5.10' + DOCS_LATEST_VERSION: '5.11' }; module.exports = config; diff --git a/docs/legacy.mdx b/docs/legacy.mdx index fe4b9582e..d86f10c5a 100644 --- a/docs/legacy.mdx +++ b/docs/legacy.mdx @@ -4,6 +4,7 @@ + - [5.10](https://5.10.sourcegraph.com/) - [5.9](https://5.9.sourcegraph.com/) - [5.8](https://5.8.sourcegraph.com/) - [5.7](https://5.7.sourcegraph.com/) diff --git a/src/data/versions.ts b/src/data/versions.ts index 1457bb776..0acd4ce6e 100644 --- a/src/data/versions.ts +++ b/src/data/versions.ts @@ -15,8 +15,8 @@ export const versions: VersionI[] = [ url: '/', }, { - name: 'v5.9', - url: 'https://5.9.sourcegraph.com/' + name: 'v5.10', + url: 'https://5.10.sourcegraph.com/' }, ];