Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs working branch for Sourcegraph Dec release #851

Merged
merged 6 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sourcegraph Docs

<!-- Working branch for Nov 25th 2024 Release -->
<!-- Working branch for Dec 2024 Release -->

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.

Expand Down
2 changes: 1 addition & 1 deletion docs.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const config = {
DOCS_LATEST_VERSION: '5.10'
DOCS_LATEST_VERSION: '5.11'
};

module.exports = config;
23 changes: 23 additions & 0 deletions docs/cody/capabilities/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

<Callout type="info">Prompt tags are supported in Sourcegraph Enterprise, and only site admins can create them.</Callout>

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:
Expand Down
3 changes: 2 additions & 1 deletion docs/cody/capabilities/supported-models.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<Callout type="note">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.</Callout>
<Callout type="note">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.</Callout>

| **Provider** | **Model** | **Free** | **Pro** | **Enterprise** | | | | |
| :------------ | :-------------------------------------------------------------------------------------------------------------------------------------------- | :----------- | :----------- | :------------- | --- | --- | --- | --- |
Expand All @@ -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/) | ✅ | ✅ | ✅ | | | | |
| | | | | | | | | |

<Callout type="note">To use Claude 3 (Opus and Sonnets) models with Cody Enterprise, make sure you've upgraded your Sourcegraph instance to the latest version.</Callout>
Expand Down
1 change: 1 addition & 0 deletions docs/legacy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<Accordion title="Sourcegraph 5.X">

- [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/)
Expand Down
4 changes: 2 additions & 2 deletions src/data/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
},
];

Expand Down
Loading