diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-19 06:08:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-19 06:08:19 +0300 |
commit | ec1f0dd7f46a6d25e4a47c8254ac67b720f81e89 (patch) | |
tree | cea26c43c6a48b785eba0e97a20592e4545028e1 /doc/development/ai_features.md | |
parent | 1f9bddaf87f0b6c93a9617bad0ae731baf16d268 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/ai_features.md')
-rw-r--r-- | doc/development/ai_features.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/development/ai_features.md b/doc/development/ai_features.md index 25da99addc1..f8d19dc26bf 100644 --- a/doc/development/ai_features.md +++ b/doc/development/ai_features.md @@ -66,7 +66,9 @@ All AI features are experimental. 1. Enable **Experiment features** 1. Enable **Third-party AI services** 1. Enable the specific feature flag for the feature you want to test -1. Set either the required access token `OpenAi` or `Vertex`. Ask in [`#ai_enablement_team`](https://gitlab.slack.com/archives/C051K31F30R) to receive an access token. +1. Set the required access token. To receive an access token: + 1. For Vertex, follow the [instructions below](#configure-gcp-vertex-access). + 1. For all other providers, create an access request where `@m_gill`, `@wayne`, and `@timzallmann` are the tech stack owners. ### Set up the embedding database @@ -102,7 +104,7 @@ tail -f log/llm.log In order to obtain a GCP service key for local development, please follow the steps below: -- Create a sandbox GCP environment by visiting [this page](https://about.gitlab.com/handbook/infrastructure-standards/#individual-environment) and following the instructions +- Create a sandbox GCP environment by visiting [this page](https://about.gitlab.com/handbook/infrastructure-standards/#individual-environment) and following the instructions, or by requesting access to our existing group environment by using [this template](https://gitlab.com/gitlab-com/it/infra/issue-tracker/-/issues/new?issuable_template=gcp_group_account_iam_update_request). At this time, access to any endpoints outside of `text-bison` or `chat-bison` must be made through the group environment. - In the GCP console, go to `IAM & Admin` > `Service Accounts` and click on the "Create new service account" button - Name the service account something specific to what you're using it for. Select Create and Continue. Under `Grant this service account access to project`, select the role `Vertex AI User`. Select `Continue` then `Done` - Select your new service account and `Manage keys` > `Add Key` > `Create new key`. This will download the **private** JSON credentials for your service account. Your full settings should then be: |