![]() |
VOOZH | about |
UiPath is a Robotic Process Automation (RPA) platform with rich features and an easy-to-use UI that enables non-developers to create process automation. By using UiPath Studio, you can build an RPA program just like drawing a diagram. With the CData API Driver for ODBC, users can embed Hugging Face data in the workflow.
This article explains how to use the Hugging Face ODBC Driver in UiPath Studio to create an RPA program that accesses Hugging Face data.
๐ Using the CData ODBC Data Sources in UiPathIf you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
HuggingFace Hub uses token-based authentication to enable access to its API. The API provides access to machine learning models, datasets, spaces, papers, and other resources on the HuggingFace Hub platform.
To authenticate to HuggingFace Hub, you will need to provide an API Key (Access Token). To obtain your access token:
After obtaining your access token, set the following connection properties:
Profile=C:\profiles\HuggingFace.apip;ProfileSettings='APIKey=hf_xxxxxxxxxxxxxxxxxxxx';
Now you are ready to use Hugging Face data ODBC DSN in UiPath Studio with the following steps.
With the connection configured, we are ready to query Hugging Face data in our RPA.
With the Connection and Execute Query activities configured, we are ready to add a Write CSV activity to the Flowchart to replicate the Hugging Face data.
If they are not already connected, connect each Activity that you created to complete the RPA project for extracting Hugging Face data and exporting it to CSV.
๐ Connect each Activity in the FlowchartClick Run to extract Hugging Face data and create a CSV file.
๐ Running the RPA FlowchartIn this article, we used the CData API Driver for ODBC to create an automation flow that accesses Hugging Face data in UiPath Studio. Download a free, 30-day trial of the ODBC Driver and start working with live Hugging Face data in UiPath Studio today!
Connect to live data from Hugging Face with the API Driver
Connect to Hugging Face