I’m developing a simple app for preparing data for fine-tuning.
The app’s back end runs on nodejs (NestJS, to be more precise).
The app allows my team members to create the prompts and completion that will be sent for fine-tuning a model.
Before sending the data, I run the “fine_tunes.prepare_data” to validate the documents and check if any action is required.
Right now, I run the command as a separate process, get the response and parse it to provide meaningful feedback to the user.
Assuming there isn’t a node equivalent for the same functionality, I wonder if it would be possible to get this functionality as an API endpoint and get the response in a more structured way.
This would allow me to skip the external process and handle the results better.
Any alternative approach is also welcome.
Thanks.