Create an Instance with multiple Data Sources
This tutorial will guide you through creating an instance with multiple data sources
Working Code to create an instance with multiple data sources: https://replit.com/join/gslztdjgrq-ishaan-jaff
1. How to Add Multiple Files
Define a dictionary named files that contains the files you want to upload as part of the request. The dictionary has key-value pairs, each representing a file to be uploaded: NOTE: You can name your files whatever you’d like
2. How to Add multiple urls and raw strings
Create a dictionary named payload that contains the data you want to send in the request body. The dictionary has two key-value pairs:
‘user_email’: The email address of the user ‘data_source’: A string representation of a list containing your URLs and Strings
Eg definition of data_source ‘data_source’:’[“hello world”, “https://stripe.com/docs/india-accept-international-payments#TransactionPurposeCode”]’