2 ways:
1. Python Selenium
from selenium import webdriver
chromeOptions = webdriver.ChromeOptions()
prefs = {"download.default_directory" : "C:\Work"}
chromeOptions.add_experimental_option("prefs", prefs)
chromedriver = "path\to\chromedriver.exe"
driver = webdriver.Chrome(executable_path=chromedriver, options=chromeOptions)
driver.get(r'https://xxxx')
2. Robot Framework
${CHROME_OPTIONS}= Evaluate sys.modules['selenium.webdriver'].ChromeOptions() sys, selenium.webdriver
${prefs} Create Dictionary download.default_directory=${new_download_file_path}
Call Method ${CHROME_OPTIONS} add_experimental_option prefs ${prefs}
Create Webdriver Chrome chrome_options=${CHROME_OPTIONS}
Go To ${URL}