/LangSmithCSVtoJSONL

Primary LanguageTypeScriptMIT LicenseMIT

LangSmithCSVtoJSONL

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:

  1. Clone down the repo and npm install
  2. Place a CSV named source.csv in the root of the directory
  3. npm start
  4. A JSONL file named output.jsonl should appear in the root directory