Hello,
My objective is to upload a file for the purpose of answering questions. I don’t need a prompt
and completion
. All I need is to provide a text and ask the AI questions about that text.
I understand that the search
and answering
endpoints have been deprecated so there must be another way to do this.
At the moment, I’m able to upload files and create fine-tunings for them.
$open_ai->uploadFile([
"purpose" => "fine-tune",
"file" => $c_file,
]);
$open_ai->createFineTune([
"training_file" => "file-xxxxxxx",
]);
But as you can see there’s no other purpose
except fine-tune
, I looked all over the documentation and there’s no answer
purpose.
On top of that, the dataset that I have to provide must have prompt
and completion
so that can’t be the way to achieve what I want.
So how can I achieve this? All I want to do is upload a jsonl file with a text and ask the AI about it.