I'm trying to simplify an AI project with RAG.
I'm struggling a bit with (1): I can of course upload manually my .txt
files via GCloud console UI into my Vertex Datastore, but I cannot succeed doing in programmatically.
data_schema="document"
, without success..Do you know if it's possible to upload programmatically some .txt into a Vertex Datastore ?
Is there a simplest way to keep in sync a GCS bucket with a Vertex Datastore ?
It seems no NodeJS lib exits for importing data into Vertex Datastore: weird...
Thanks
You need to set the data_schema
to 'content'
.
This notebook may help: https://github.com/GoogleCloudPlatform/generative-ai/blob/main/search/create_datastore_and_search.ipynb