Converts the CSV exports from LangSmith datasets to the OpenAI Fine Tuning JSONL format. Currently handles tools by converting to the 'functions' legacy format as currently required by OpenAI
To run:
- Clone down the repo and
npm install
- Place a CSV named
source.csv
in the root of the directory npm start
- A JSONL file named
output.jsonl
should appear in the root directory