Have the configuration page display google console projects and vertex AI data stores

Created on 1 May 2024, about 1 year ago
Updated 13 December 2024, 5 months ago

Problem/Motivation

Right now you have to manually fill in the google console project, data stores and so on. With the credentials file it might be possible to lookup the list of the projects the credentials have access to and provide like a drop-down to select them and then do the same for the data stores after a lookup based on the project.

User interface changes

Adding additional drop-downs to the configuration page to select google console project and data stores.

✨ Feature request
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States dmundra Eugene, OR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @dmundra
  • First commit to issue fork.
  • Assigned to dmundra
  • πŸ‡ΊπŸ‡ΈUnited States dmundra Eugene, OR

    Going to take a shot at this again.

  • Pipeline finished with Success
    12 days ago
    Total: 149s
    #482814
  • πŸ‡ΊπŸ‡ΈUnited States dmundra Eugene, OR

    From @swirt:

    Keep it simple, display a list with instructions to copy paste the values you want into the field.

  • Pipeline finished with Success
    10 days ago
    Total: 172s
    #484172
  • πŸ‡ΊπŸ‡ΈUnited States dmundra Eugene, OR

    This is ready for review, from my research last year and right now I think only data stores can be looked up with a service account and project ID + location. I think project ID could be loaded from the service account file path but probably not useful?

    The current MR is ready to review. QA steps:

    1. Use the tugboat URL or a local instance with the merge request branch
    2. Enable vertex ai search if not enabled
    3. Create a new search page from /admin/config/search/pages
    4. Fill in the Service Account Credentials, Google Cloud Project ID, and change the location if it not set to global
    5. Click the button 'Lookup Data Stores'
    6. Confirm you see a list of data stores for the project ID and location
    7. Copy the ID and save it in the Vertex AI Data Store ID field
    8. Save the rest of the values like usual
    9. Confirm the search works as expected
  • πŸ‡ΊπŸ‡ΈUnited States swirt Florida
  • πŸ‡ΊπŸ‡ΈUnited States tzura

    Tested on a fresh site and on an established site. Nice approach. Ran into no issues so I merged it.

Production build 0.71.5 2024