diff --git a/CHANGELOG.md b/CHANGELOG.md index f28e19e5e9a6c9fe3e1767e079c430a7a90bfdda..672f17987f13c1fe5d567517d34091c744ce1a8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1335,7 +1335,7 @@ entry. - [Add UserStarredProjectsResolver sort argument](https://gitlab.com/gitlab-org/gitlab/-/commit/077ca496eaadc0a9383a552ed32294233de2f7e7) by @jzeng88 ([merge request](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/153651)) - [Migrates gl-display-inline-flex to gl-inline-flex](https://gitlab.com/gitlab-org/gitlab/-/commit/3aa4f990bde82a9c6fb59d7c726a02bddc693cea) ([merge request](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154887)) - [Multiple frameworks labels](https://gitlab.com/gitlab-org/gitlab/-/commit/ca5a43e01aadde03cf32218f62f7e56eb5709f05) ([merge request](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156570)) **GitLab Enterprise Edition** -- [Add permissions checking to AI impact dashboard](https://gitlab.com/gitlab-org/gitlab/-/commit/23bf0938f52424ec382ba745b57375234b769949) ([merge request](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156555)) **GitLab Enterprise Edition** +- [Add permissions checking to AI Impact Dashboard](https://gitlab.com/gitlab-org/gitlab/-/commit/23bf0938f52424ec382ba745b57375234b769949) ([merge request](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156555)) **GitLab Enterprise Edition** - [Admin settings: Migrate security settings to use SettingsBlock](https://gitlab.com/gitlab-org/gitlab/-/commit/467df2db45835010a9b4210982fe662f2f30e8b4) ([merge request](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157043)) - [Externalize strings on ldap_group_links](https://gitlab.com/gitlab-org/gitlab/-/commit/2fcc3e2fd12ea0c6813e7c88a1548c90cecf24e0) by @MAlvarez32 ([merge request](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/155271)) - [Improve usability of environment folders](https://gitlab.com/gitlab-org/gitlab/-/commit/076d3d3a212c3a93ec60863090c3a0fa185ecd05) by @antonkalmykov ([merge request](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157104)) @@ -2246,7 +2246,7 @@ entry. - [Rate limit project / group notifications per user](gitlab-org/gitlab@ea40bb22bfd028d687faeaaa6cf9734777decde0) ([merge request](gitlab-org/gitlab!153786)) - [Allow redirecting wiki directories on rename](gitlab-org/gitlab@8b9d3640355e73b9ed6196aeeafb923d3cb8f3be) ([merge request](gitlab-org/gitlab!153289)) - [Add NOT NULL constraint to "path_locks.project_id"](gitlab-org/gitlab@8630330b599fcd0e15cc28680fac9b0c31c0ebea) ([merge request](gitlab-org/gitlab!153090)) -- [Add metric start date tooltip to AI impact dashboard](gitlab-org/gitlab@8999b334c8612b21a553c2b14d7ef342700854f4) ([merge request](gitlab-org/gitlab!153141)) **GitLab Enterprise Edition** +- [Add metric start date tooltip to AI Impact Dashboard](gitlab-org/gitlab@8999b334c8612b21a553c2b14d7ef342700854f4) ([merge request](gitlab-org/gitlab!153141)) **GitLab Enterprise Edition** - [Create parent links for imported epics](gitlab-org/gitlab@d6132daae948ef8daada9fbbb37e0d98f7337040) ([merge request](gitlab-org/gitlab!154445)) - [Migrate d-inline-block to gl-inline-block](gitlab-org/gitlab@cb06f5c91a046b7b86dda6793d4c3a6ceff3b6d7) ([merge request](gitlab-org/gitlab!152739)) - [Docs(Epic Header): add entry to describe counts](gitlab-org/gitlab@494803b1a5ba348ce7ea43c0d94960e8ca6f68f1) ([merge request](gitlab-org/gitlab!154391)) **GitLab Enterprise Edition** @@ -3175,7 +3175,7 @@ entry. - [Include template in deprecated flafinder-sast job](gitlab-org/gitlab@7bce91fd3639660b11b7669831f9ddc0d13bbe50) ([merge request](gitlab-org/gitlab!151298)) - [Add AzureRM support to orphan artifacts cleanup](gitlab-org/gitlab@627eb5411af6f76a03c067131c7846c5c8d9129d) ([merge request](gitlab-org/gitlab!140497)) - [Fix work item child status icon color](gitlab-org/gitlab@e5770bc16824362e06c73d56957255c5500f60c7) ([merge request](gitlab-org/gitlab!151094)) -- [Use locale-specific formatting for numbers in the AI Impact dashboard](gitlab-org/gitlab@07a2c3c576b7d0574c0d649ac7931d14606b5305) ([merge request](gitlab-org/gitlab!150882)) **GitLab Enterprise Edition** +- [Use locale-specific formatting for numbers in the AI Impact Dashboard](gitlab-org/gitlab@07a2c3c576b7d0574c0d649ac7931d14606b5305) ([merge request](gitlab-org/gitlab!150882)) **GitLab Enterprise Edition** - [Allows ml_model pending destruction](gitlab-org/gitlab@4b3d7a7eaf03cb799fdd91781347bcafdd9fa040) ([merge request](gitlab-org/gitlab!150808)) - [Fixes issue with registry search query params when removed](gitlab-org/gitlab@2f13fba9b1c405de37dc7b618f5472f129859989) ([merge request](gitlab-org/gitlab!150934)) - [MR list: Fix overlapping search icon](gitlab-org/gitlab@7421cb36c6481acafb30435cb81695ff97bf6a3c) ([merge request](gitlab-org/gitlab!151045)) diff --git a/doc/development/ai_features/duo_chat.md b/doc/development/ai_features/duo_chat.md index f61208ebbace7acf2992dc63db7f493825a129e5..d3ba717feb41e74d2ca6c16eaf413fee4f72a3c0 100644 --- a/doc/development/ai_features/duo_chat.md +++ b/doc/development/ai_features/duo_chat.md @@ -30,9 +30,9 @@ We aim to employ the Chat for all use cases and workflows that can benefit from - Among the latter are tasks where the **AI may not get it right the first time but** where **users can easily course correct** by telling the AI more precisely what they need. For instance, "Explain this code" is a common question that most of the time would result in a satisfying answer, but sometimes the user may have additional questions. - **Tasks that benefit from the history of a conversation**, so neither the user nor the AI need to repeat themselves. -The chat aims to be context aware and ultimately have access to all the resources in GitLab that the user has access to. Initially, this context was limited to the content of individual issues and epics, as well as GitLab documentation. Since then additional contexts have been added, such as code selection and code files. Currently, work is underway contributing vulnerability context and pipeline job context, so that users can ask questions about these contexts. +Chat aims to be context aware and ultimately have access to all the resources in GitLab that the user has access to. Initially, this context was limited to the content of individual issues and epics, as well as GitLab documentation. Since then additional contexts have been added, such as code selection and code files. Currently, work is underway contributing vulnerability context and pipeline job context, so that users can ask questions about these contexts. -To scale the context awareness and hence to scale creation, ideation, and learning use cases across the entire DevSecOps domain, the Duo Chat team welcomes contributions to the chat platform from other GitLab teams and the wider community. They are the experts for the use cases and workflows to accelerate. +To scale the context awareness and hence to scale creation, ideation, and learning use cases across the entire DevSecOps domain, the Duo Chat team welcomes contributions to the Chat platform from other GitLab teams and the wider community. They are the experts for the use cases and workflows to accelerate. ### Which use cases are better implemented as stand-alone AI features? @@ -51,7 +51,7 @@ message writing workflow. Using Chat for commit message writing would probably take longer than writing the message oneself. The user would have to switch to the Chat window, type the request and then copy the result into the commit message field. -That said, it does not mean that Chat can't write commit messages, nor that it would be prevented from doing so. If Chat has the commit context (which may be added at some point for reasons other than commit message writing), the user can certainly ask to do anything with this commit content, including writing a commit message. But users are certainly unlikely to do that with Chat as they would only loose time. Note: the resulting commit messages may be different if created from chat with a prompt written by the user vs. a static prompt behind a purpose-built commit message creation. +That said, it does not mean that Chat can't write commit messages, nor that it would be prevented from doing so. If Chat has the commit context (which may be added at some point for reasons other than commit message writing), the user can certainly ask to do anything with this commit content, including writing a commit message. But users are certainly unlikely to do that with Chat as they would only loose time. Note: the resulting commit messages may be different if created from Chat with a prompt written by the user vs. a static prompt behind a purpose-built commit message creation. ## Set up GitLab Duo Chat @@ -81,7 +81,7 @@ you find a solution. | There is no Chat button in the GitLab UI. | Make sure your user is a part of a group with Premium or Ultimate license and enabled Chat. | | Chat replies with "Forbidden by auth provider" error. | Backend can't access LLMs. Make sure your [AI Gateway](index.md#required-install-ai-gateway) is set up correctly. | | Requests take too long to appear in UI | Consider restarting Sidekiq by running `gdk restart rails-background-jobs`. If that doesn't work, try `gdk kill` and then `gdk start`. Alternatively, you can bypass Sidekiq entirely. To do that temporary alter `Llm::CompletionWorker.perform_async` statements with `Llm::CompletionWorker.perform_inline` | -| There is no chat button in GitLab UI when GDK is running on non-SaaS mode | You do not have cloud connector access token record or seat assigned. To create cloud connector access record, in rails console put following code: `CloudConnector::Access.new(data: { available_services: [{ name: "duo_chat", serviceStartTime: ":date_in_the_future" }] }).save`. | +| There is no Chat button in GitLab UI when GDK is running on non-SaaS mode | You do not have cloud connector access token record or seat assigned. To create cloud connector access record, in rails console put following code: `CloudConnector::Access.new(data: { available_services: [{ name: "duo_chat", serviceStartTime: ":date_in_the_future" }] }).save`. | Please, see also the section on [error codes](#interpreting-gitlab-duo-chat-error-codes) where you can read about codes that Chat sends to assist troubleshooting. @@ -266,7 +266,7 @@ It's not available in Production environment. project will be created during request. 1. Restart GDK. -1. Ask any question to chat. +1. Ask any question to Chat. 1. Observe project in the LangSmith [page](https://smith.langchain.com/) > Projects > \[Project name\]. 'Runs' tab should contain your last requests. diff --git a/doc/development/ai_features/glossary.md b/doc/development/ai_features/glossary.md index 69d388f31a3994769169b51adfe20e1e9f01cf42..d81a21fc484529b6e68535e44447b08e764f0c1e 100644 --- a/doc/development/ai_features/glossary.md +++ b/doc/development/ai_features/glossary.md @@ -49,7 +49,7 @@ to AI that you think could benefit from being in this list, add it! `embeddings` database. The embeddings search is done in Postgres using the `vector` extension. The vertex embeddings database is updated based on the latest version of GitLab documentation on a daily basis by running `Llm::Embedding::GitlabDocumentation::CreateEmbeddingsRecordsWorker` as a cronjob. -- **Fine Tuning**: Altering an existing model using a supervised learning process that utilizes a dataset of labeled examples to update the weights of the LLM, improving its output for specific tasks such as code completion or chat. +- **Fine Tuning**: Altering an existing model using a supervised learning process that utilizes a dataset of labeled examples to update the weights of the LLM, improving its output for specific tasks such as code completion or Chat. **Foundational Model**: A general purpose LLM trained using a generic objective, typically next token prediction. These models are capable and flexible, and can be adjusted to solved many domain-specific tasks (through finetuning or prompt engineering). This means that these general purpose models are ideal to serve as the foundation of many downstream models. Examples of foundational models are: GPT-4o, Claude 3.5 Sonnet. - **Frozen Model**: A LLM which cannot be fine-tuned (also Frozen LLM). - **GitLab Duo**: AI-assisted features across the GitLab DevSecOps platform. These features aim to help increase velocity and solve key pain points across the software development lifecycle. See also the [GitLab Duo](../../user/ai_features.md) features page. diff --git a/doc/development/ai_features/index.md b/doc/development/ai_features/index.md index 535575730813331db22dd4a2e50a7420d8ccc56f..353a8beddf3b5df3b882b97f7014b6c6962bbf4d 100644 --- a/doc/development/ai_features/index.md +++ b/doc/development/ai_features/index.md @@ -303,7 +303,7 @@ subscription aiCompletionResponse( } ``` -The [subscription for chat](duo_chat.md#graphql-subscription) behaves differently. +The [subscription for Chat](duo_chat.md#graphql-subscription) behaves differently. To not have many concurrent subscriptions, you should also only subscribe to the subscription once the mutation is sent by using [`skip()`](https://apollo.vuejs.org/guide-option/subscriptions.html#skipping-the-subscription). diff --git a/doc/development/code_suggestions/index.md b/doc/development/code_suggestions/index.md index 94d3b5f8c91d0aca2da5519205ac0efd76ce87a1..b0f26a699dcc0accedb188b478973ac903ad54fb 100644 --- a/doc/development/code_suggestions/index.md +++ b/doc/development/code_suggestions/index.md @@ -27,7 +27,7 @@ This should enable everyone to see locally any change in an IDE being sent to th 1. If you'd like to test that Code Suggestions is working from inside the VS Code Extension, then follow the [steps to set up a personal access token](https://gitlab.com/gitlab-org/gitlab-vscode-extension/#setup) with your GDK inside the new window of VS Code that pops up when you run the "Run and Debug" command. - Once you complete the steps below, to test you are hitting your local `/code_suggestions/completions` endpoint and not production, follow these steps: 1. Inside the new window, in the built in terminal select the "Output" tab then "GitLab Language Server" from the drop down menu on the right. - 1. Open a new file inside of this VS Code window and begin typing to see code suggestions in action. + 1. Open a new file inside of this VS Code window and begin typing to see Code Suggestions in action. 1. You will see completion request URLs being fetched that match the Git remote URL for your GDK. 1. Main Application (GDK): @@ -35,7 +35,7 @@ This should enable everyone to see locally any change in an IDE being sent to th 1. Enable Feature Flag ```ai_duo_code_suggestions_switch```: 1. In your terminal, go to your `gitlab-development-kit` > `gitlab` directory. 1. Run `gdk rails console` or `bundle exec rails c` to start a Rails console. - 1. [Enable the Feature Flag](../../administration/feature_flags.md#enable-or-disable-the-feature) for the code suggestions tokens API by calling `Feature.enable(:ai_duo_code_suggestions_switch)` from the console. + 1. [Enable the Feature Flag](../../administration/feature_flags.md#enable-or-disable-the-feature) for the Code Suggestions tokens API by calling `Feature.enable(:ai_duo_code_suggestions_switch)` from the console. 1. [Setup AI Gateway](../ai_features/index.md#required-install-ai-gateway). 1. Run your GDK server with `gdk start` if it's not already running. diff --git a/doc/editor_extensions/visual_studio/index.md b/doc/editor_extensions/visual_studio/index.md index 91d623823902b8a8ca215ee09e151b9b9b250e63..15e27fbc8c604a7c4bf23d1ecb14a6e10a01245f 100644 --- a/doc/editor_extensions/visual_studio/index.md +++ b/doc/editor_extensions/visual_studio/index.md @@ -64,7 +64,7 @@ This extension provides these custom commands: | Command name | Default keyboard shortcut | Feature | |--------------------------------|---------------------------|---------| -| `GitLab.ToggleCodeSuggestions` | not applicable | Enable or disable automated code suggestions. | +| `GitLab.ToggleCodeSuggestions` | not applicable | Enable or disable automated Code Suggestions. | You can access the extension's custom commands with keyboard shortcuts, which you can customize: diff --git a/doc/user/gitlab_duo/index.md b/doc/user/gitlab_duo/index.md index ae1c2bbe458f773a0c92070d9725d241a733c710..91dff8e38cecfbb4f4817d3ed9a17fe5b6840828 100644 --- a/doc/user/gitlab_duo/index.md +++ b/doc/user/gitlab_duo/index.md @@ -52,7 +52,7 @@ DETAILS: - <i class="fa fa-youtube-play youtube" aria-hidden="true"></i> [Watch overview](https://youtu.be/ds7SG1wgcVM) - [View documentation](../project/repository/code_suggestions/index.md). -### Code explanation +### Code Explanation DETAILS: **Tier: GitLab.com and Self-managed:** For a limited time, Premium or Ultimate. In the future, Premium with GitLab Duo Pro or Ultimate with [GitLab Duo Pro or Enterprise](../../subscriptions/subscription-add-ons.md). **GitLab Dedicated:** GitLab Duo Pro or Enterprise. @@ -121,7 +121,7 @@ DETAILS: - <i class="fa fa-youtube-play youtube" aria-hidden="true"></i> [Watch overview](https://www.youtube.com/watch?v=MMVFvGrmMzw&list=PLFGfElNsQthZGazU1ZdfDpegu0HflunXW) - [View documentation](../application_security/vulnerabilities/index.md#explaining-a-vulnerability). -### AI Impact dashboard +### AI Impact Dashboard DETAILS: **Tier:** For a limited time, Ultimate. In the future, Ultimate with [GitLab Duo Enterprise](../../subscriptions/subscription-add-ons.md). @@ -173,7 +173,7 @@ DETAILS: ## Experimental features -### Issue description generation +### Issue Description Generation DETAILS: **Tier:** For a limited time, Ultimate. In the future, Ultimate with [GitLab Duo Enterprise](../../subscriptions/subscription-add-ons.md). @@ -184,7 +184,7 @@ DETAILS: - LLM: Anthropic [Claude Instant 1.2](https://docs.anthropic.com/en/docs/about-claude/models#legacy-models) - [View documentation](experiments.md#populate-an-issue-with-issue-description-generation). -### Code review summary +### Code Review Summary DETAILS: **Tier:** For a limited time, Ultimate. In the future, Ultimate with [GitLab Duo Enterprise](../../subscriptions/subscription-add-ons.md). diff --git a/doc/user/gitlab_duo_chat/best_practices.md b/doc/user/gitlab_duo_chat/best_practices.md index 6e9e4ba57d0851272508cb33f2b6f15043481487..ff0a31601b42a86981bd8f1ad44483dff2ffc9fd 100644 --- a/doc/user/gitlab_duo_chat/best_practices.md +++ b/doc/user/gitlab_duo_chat/best_practices.md @@ -85,7 +85,7 @@ Explain labels in GitLab. Provide an example for efficient usage with issue boar ## Reset when needed -Use `/reset` if chat gets stuck on a wrong track. Start fresh. +Use `/reset` if Chat gets stuck on a wrong track. Start fresh. ## Refine slash command prompts diff --git a/doc/user/permissions.md b/doc/user/permissions.md index 140b4b6c948a42d47cb3b0a9e2dd8d79c9264ea5..4a2cdb1ba6d08903b580415c384f1e7555010f3b 100644 --- a/doc/user/permissions.md +++ b/doc/user/permissions.md @@ -330,7 +330,7 @@ Project permissions for [merge requests](project/merge_requests/index.md): |--------------------------------------------------------------------------------------------------------------|:-----:|:--------:|:---------:|:----------:|:-----:|-------| | [View](project/merge_requests/index.md#view-merge-requests) a merge request | ✓ | ✓ | ✓ | ✓ | ✓ | On self-managed GitLab instances, users with the Guest role are able to perform this action only on public and internal projects (not on private projects). [External users](../administration/external_users.md) must be given explicit access (at least the **Reporter** role) even if the project is internal. Users with the Guest role on GitLab.com are only able to perform this action on public projects because internal visibility is not available. | | [Create](project/merge_requests/creating_merge_requests.md) a merge request | | | ✓ | ✓ | ✓ | In projects that accept contributions from external members, users can create, edit, and close their own merge requests. For **private** projects, this excludes the Guest role as those users [cannot clone private projects](public_access.md#private-projects-and-groups). For **internal** projects, includes users with read-only access to the project, as [they can clone internal projects](public_access.md#internal-projects-and-groups). | -| Update a merge request including assign, review, code suggestions, approve, labels, lock and resolve threads | | | ✓ | ✓ | ✓ | For information on eligible approvers for merge requests, see [Eligible approvers](project/merge_requests/approvals/rules.md#eligible-approvers). | +| Update a merge request including assign, review, Code Suggestions, approve, labels, lock and resolve threads | | | ✓ | ✓ | ✓ | For information on eligible approvers for merge requests, see [Eligible approvers](project/merge_requests/approvals/rules.md#eligible-approvers). | | Manage [merge request settings](project/merge_requests/approvals/settings.md) | | | | ✓ | ✓ | | | Manage [merge request approval rules](project/merge_requests/approvals/rules.md) | | | | ✓ | ✓ | | | Delete merge request | | | | | ✓ | | diff --git a/doc/user/project/merge_requests/duo_in_merge_requests.md b/doc/user/project/merge_requests/duo_in_merge_requests.md index fce70a6d295543d7914530f4677ea79a72bed7bf..fc7d01421d489796deebdb2d983cfa9f8a09b5c3 100644 --- a/doc/user/project/merge_requests/duo_in_merge_requests.md +++ b/doc/user/project/merge_requests/duo_in_merge_requests.md @@ -47,7 +47,7 @@ DETAILS: > - [Introduced](https://gitlab.com/groups/gitlab-org/-/epics/10466) in GitLab 16.0 as an [experiment](../../../policy/experiment-beta-support.md#experiment). -When you've completed your review of a merge request and are ready to [submit your review](reviews/index.md#submit-a-review), generate a GitLab Duo Code review summary: +When you've completed your review of a merge request and are ready to [submit your review](reviews/index.md#submit-a-review), generate a GitLab Duo Code Review Summary: 1. On the left sidebar, select **Search or go to** and find your project. 1. Select **Code > Merge requests** and find the merge request you want to review. diff --git a/doc/user/project/repository/code_suggestions/index.md b/doc/user/project/repository/code_suggestions/index.md index b2dd37369f71b01d4cd0379f1cb556e7984b2745..03bfd5a7a064df4f1a2ded6bba1d51bb4a5893a2 100644 --- a/doc/user/project/repository/code_suggestions/index.md +++ b/doc/user/project/repository/code_suggestions/index.md @@ -144,7 +144,7 @@ Prerequisites: what you want to build. Code Generation treats your code comments like chat. Your code comments update the `user_instruction`, and then improve the next results you receive. -As you work, GitLab Duo provides code suggestions that use your other open files +As you work, GitLab Duo provides Code Suggestions that use your other open files (within [truncation limits](#truncation-of-file-content)) as extra context.