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.
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!