Hello there, i'm trying to upload/send a file to OpenAI API, not for fine-tuning, i want the file to provide more context as it is containing code that i'd like the API to answer questions about, but it returns an error like:
{
"error": {
"message": "'search' is not one of ['fine-tune'] - 'purpose'",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
No matter what purpose i set: generic, auto, search, code ...etc it always seems to not accept anything other than fine-tune, and the documentation isn't helpful regarding this.