I’m trying to import files into rag engine from gcs. I can see I can see in the docs for rag engine import that I can set rag_file_metadata_config. I want to use inline_metadata_schema_source and inline_metadata_source, but I can’t find any examples or docs for what they should look like. Similarly, I can’t find any docs on what metadata.json should look like if I wanted to use a metadata file in gcs instead, though I’d prefer just using the inline options.
And for context retrieval filtering, in rag queries, rag_retrieval_config.filter.metadata_filter, is there docs on metadata filter syntax? Because I tried CEL, and got errors for tenant_id = “1“, but a success for tenant_id == “1“ (although not files were retrieved because none of my file actually have metadata yet since I haven’t figure out how to add it.)
Is filtering my query in the way I want even possible? Should I be using Vertex Ai search instead? Or gemini file search? Why are there so many similar but slightly different rag apis.