Identifying countries from input addresses using OpenAI
This Job uses fixed input data containing addresses provided by sales team in
different formats without country names, sends them to OpenAI to identify the countries,
and displays the results in the console.
Before you begin
Before running this Job, ensure you have:
- An active OpenAI API account with a valid API token.
- Sufficient API credits to process translation requests.
Linking the components
Procedure
Configuring the components
Procedure
Executing the Job
Procedure
- Press Ctrl+S to save the Job.
- Press F6 to execute the Job.
Results
The Job reads the addresses from the fixed input data, sends each address to the OpenAI API to identify the country, and displays the identified country names corresponding to the addresses in the console. The OpenAI model analyzed the address format, postal codes, city names, and street patterns to determine the country. Each address is processed individually.