Skip to content
This repository has been archived by the owner on Feb 21, 2025. It is now read-only.

Commit

Permalink
update caps
Browse files Browse the repository at this point in the history
  • Loading branch information
iskyOS committed Nov 26, 2024
1 parent 95ef49a commit 56f0af5
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions content/changelog/2024/prompt-library.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
title: "Accelerate your work with the new Prompt Library"
authors:
- name: Alex Isken
url: https://x.com/AlexanderIsken
avatar: https://storage.googleapis.com/sourcegraph-assets/blog/alex_avatar.png
- name: Kevin Chen
avatar: https://storage.googleapis.com/sourcegraph-assets/blog/kevin_avatar.jpeg
publishDate: 2024-11-25T10:00-02:00
description: "The new Prompt Library lets Cody users build and share custom Prompts, accelerating your everyday work with reusable building blocks."
description: "The new Prompt Library lets Cody users build and share custom prompts, accelerating your everyday work with reusable building blocks."
tags: [Cody, Enterprise]
version: [v5.10]
versionIcon: /assets/changelog/sourcegraph.svg
@@ -24,21 +23,21 @@ While Cody’s autocomplete and chat functions speed up the inner dev loop, we
- AI tools require users to go back and forth with the language model and clarify what they want, taking up valuable developer time
- AI tools don’t use proper context, so if a developer doesn’t use your enterprise’s code context or reference best practices, they could end up writing poor quality code

To address these needs, we’re excited to announce the Prompt Library, a new way for Cody users to build customizable building blocks (Prompts) to accelerate their work, share their best prompts with their teammates, and enable administrators to promote the best Prompts to the rest of the organization.
To address these needs, we’re excited to announce the Prompt Library, a new way for Cody users to build customizable building blocks (prompts) to accelerate their work, share their best prompts with their teammates, and enable administrators to promote the best prompts to the rest of the organization.

The Prompt Library is a system for creating and sharing customizable Prompts, and it replaces Cody’s previous custom commands feature. We’ve designed it specifically for three things:
The Prompt Library is a system for creating and sharing customizable prompts, and it replaces Cody’s previous custom commands feature. We’ve designed it specifically for three things:

- **Scalability**: One-off chat messages written differently can often produce varied results across your engineers. While some engineers may know how to write excellent LLM prompts, many others may not. Not to mention good prompts can often be long and cumbersome to write out. With Prompt Library, your team can now codify the best Prompts and share them with teammates. Admins also have the unique ability to promote the best Prompts to the rest of the company, scaling your organization’s best practices
- **Repeatability**: Reusable Prompts reduce the toil of important parts of the development process, including building unit tests and adding documentation. With just a click of a button, high-quality Prompts start working instantly in your code, accelerating the pace of software development
- **Flexibility**: Today, your team can build Prompts that help you refactor code, write new code, or improve the existing code you have with documentation and tests. In the future, Prompts will become the building blocks to streamline parts of the SDLC
- **Scalability**: One-off chat messages written differently can often produce varied results across your engineers. While some engineers may know how to write excellent LLM prompts, many others may not. Not to mention good prompts can often be long and cumbersome to write out. With Prompt Library, your team can now codify the best prompts and share them with teammates. Admins also have the unique ability to promote the best prompts to the rest of the company, scaling your organization’s best practices
- **Repeatability**: Reusable prompts reduce the toil of important parts of the development process, including building unit tests and adding documentation. With just a click of a button, high-quality prompts start working instantly in your code, accelerating the pace of software development
- **Flexibility**: Today, your team can build prompts that help you refactor code, write new code, or improve the existing code you have with documentation and tests. In the future, prompts will become the building blocks to streamline parts of the SDLC

With this update, you’ll find that the Prompt Library replaces the default and custom commands in Cody. The previous default commands will now appear as default Prompts:
With this update, you’ll find that the Prompt Library replaces the default and custom commands in Cody. The previous default commands will now appear as default prompts:

- Document Code
- Explain Code
- Find Code Smells
- Generate Unit Tests (This Prompt will now output code into the chat rather than creating a new file)

All Cody Enterprise customers on the latest release have access to Prompts and Prompt Library. To create your organization’s first Prompts, go to /prompts to get started.
All Cody Enterprise customers on the latest release have access to Prompts and Prompt Library. To create your organization’s first prompts, go to /prompts to get started.

[Read the docs](https://sourcegraph.com/docs/cody/capabilities/commands) for more.
[Read the announcement blog post](https://sourcegraph.com/blog/announcing-prompt-library) to learn more.

0 comments on commit 56f0af5

Please sign in to comment.