[go: up one dir, main page]

Skip to content

Add slash command to prompt Duo Chat in Slack

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

(Note: I generated this from the issue title)

Release Notes: GitLab Duo Chat Slack Integration

We're excited to announce the launch of our new Slack command that enables users to interact directly with GitLab Duo Chat from within Slack. This integration brings the power of GitLab's AI assistant right into your team's Slack workspace.

New Features:
1. Slack Command Integration: 
   - Users can now use the "/gitlab duo" command in any Slack channel or direct message to ask questions to GitLab Duo Chat.

2. Real-time Responses:
   - GitLab Duo Chat processes queries and provides responses in real-time, directly within the Slack channel or thread.

3. Context-Aware Answers:
   - The integration pulls relevant information from your GitLab projects, issues and documentation to provide accurate, context-aware responses.

4. Multi-topic Support:
   - Users can ask questions about GitLab features, CI/CD pipelines, merge requests, issues, and more.

5. Code Snippet Support:
   - GitLab Duo Chat can interpret and respond to questions that include code snippets.

Usage:
To use the new command, simply type "/gitlab duo" followed by your question in any Slack channel or DM. For example:
"/gitlab duo How do I create a new branch in GitLab?"

Requirements:
- Slack workspace with admin permissions to add new integrations
- Active GitLab service account with Duo Chat enabled

Installation:
1. Visit the Slack App Directory and search for "GitLab"
2. Click "Add to Slack" and follow the prompts to authorize the integration
3. Once installed, the "/gitlab duo" command will be available in your Slack workspace

Note: This is an initial release and we welcome your feedback. Please report any issues or suggestions through our support channels.

Problem to solve

Sometimes I see a question asked in Slack and I think "I bet duo chat would answer that well". Then I have to copy it into duo chat, and copy the answer back to the public channel.

Whereas with a slash command we can participate in a collaborative discussion based on the responses from Duo Chat, instead of the responses being siloed in a private window somewhere.

Proposal

A slash command to do this in a Slack public channel or thread:

/gitlab duo what does git commit do?

Intended users

All members of a company that use both Slack and GitLab

Feature Usage Metrics

Daily average number of prompts per user would be a good metric to start with.

Does this feature require an audit event?

No

Make sure to add the appropriate labels for the product stage and/or group (e.g devopsplan) if known and add a comment tagging the appropriate Product Manager.

Use the following resources to find the appropriate labels:

Examples: -->

Edited by 🤖 GitLab Bot 🤖