Description
Is your feature request related to a problem? Please describe.
Currently, the .upload_file
method only accepts the file path as an argument, which limits flexibility. I'd like to be able to pass additional arguments, such as the dataset name and version, to better manage datasets in the project. In the current setup, when using .upload_file
to upload a .jsonl file to AI Foundry, the uploaded data is assigned a random UUID, and the version is always set to 1. This makes it difficult to track and manage datasets effectively.
Documentation for reference: Azure AI Evaluation Documentation.
Describe the solution you'd like
I propose allowing users to specify the dataset name and version when calling the .upload_file
method. For example, the method could be extended to accept these arguments as shown below:
client.upload_file('file_path', 'dataset_name', 'dataset_version')
This would provide greater flexibility in managing and organizing datasets within a project.
Describe alternatives you've considered
Since it's currently not possible to specify the dataset name and version programmatically through the .upload_file
method, the only alternative is to manually update these details via the UI after uploading the data. However, this approach is less efficient and introduces potential for human error, especially when dealing with multiple datasets. Being able to set these values programmatically would streamline the process and improve workflow efficiency.