openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

issue running openai.File.create

Open abdellahiheiballa opened this issue 1 year ago • 1 comments

search_file = openai.File.create(
  file=open("olympics-data/olympics_search.jsonl"),
  purpose='search'
)

openai.error.InvalidRequestError: 'search' is not one of ['fine-tune'] - 'purpose'

abdellahiheiballa avatar Feb 06 '23 05:02 abdellahiheiballa