Table of contents
Official Content
  • This documentation is valid for:

The legacy option uses the following packages:

Note: This is the fastest option, but its accuracy may vary depending on the file types.

Sample

The follolwing sample will upload the SampleFile.pdf document to the {name} RAG Assistant using the legacy provider.

curl -X POST "$BASE_URL/v1/search/profile/{name}/document" \
 -H "Authorization: Bearer $SAIA_PROJECT_APITOKEN" \
 -H "Content-Type: multipart/form-data" \
 -F 'file=@"/C:/temp/SampleFile.pdf"' \
 -F 'provider="legacy"'
Last update: August 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant