Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1021 Bytes

filesystem_config.md

File metadata and controls

29 lines (23 loc) · 1021 Bytes

File System

Create a yaml file under the config folder with the following parameters, let's assume fs_sandbox.yaml:

fs:
  input_dir: !!str 'string' # Full path to a folder
  required_exts: # list of required extensions
    - !!str .md # just an example, include the "dot" !
  recursive: True|False (default)
  delete_local_folder: True|False (default)
  use_metadata_file: True|False (default)
saia:
  base_url: !!str 'string' # Globant Enterprise AI Base URL
  api_token: !!str 'string'
  profile: !!str 'string' # Must match the RAG assistant ID
  max_parallel_executions: !!int 5
  upload_operation_log: !!bool False|True (default) # Check operations LOG for detail if enabled

The process will read files from the file system fs section and upload them to the defined Enterprise AI endpoint detailed on the saia configuration.

Execution

Example execution only considering files modified since yesterday:

saia-cli ingest -c ./config/fs_sandbox.yaml --type fs --days 1