Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Agent Builder | Complications using structured metadata with advanced website indexing

I am currently working on a project utilizing Vertex AI Agent Builder's website functionality in order to create a site search application.

Currently i have been able to enrich the website agent with some of the metatags from our website. However, i am currently facing issues adding opengraph og:image metatag. Looking at the documentation for Agent builder: link it clearly describes how common metatags indexable inlcudes og:image.

31oct.png

 

i have tried a update of the data store schema using the following method before recrawling the site (project and datastore id excluded): 

curl -X PATCH \
-H "Authorization: Bearer $(gcloud auth print-access-token)" \
-H "Content-Type: application/json" \
"https://eu-discoveryengine.googleapis.com/v1beta/projects/project_id/locations/eu/collections/default_collection/dataStores/datastore_id/schemas/default_schema" \
-d '{
  "structSchema": {
  "type": "object",
  "properties": [{
    "og_image": {
      "type": "array",
      "items": {
        "type": "string",
        "searchable": true,
        "retrievable": true,
        "indexable": true,
        "siteSearchStructuredDataSources": ["METATAG"]
      }
    }
  }],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
}'

Has anyone had any experience adding structured metadata to their datastore, thus able to provide any inputs on the issue?

Thanks in advance!

0 1 256