Hello,
I integrated a ChatGPT assistance into a webpage and everything is working as expected. Now I am challanged with a new feature request where a essay(text) should be compared and rated to a sample solution.
As the sample solutions and the essays are longer texts I doubt if it is the best to put everything into the prompt like:
Please rate the following essay: …
A sample solution for the essay is: …
I lokked into the API docs bit found nothing for tackling this problem directly. Only “Embeddnings” sounds as if they might be used for this:
https://platform.openai.com/docs/guides/embeddings
Any other ideas? Or is putting evrything into the prompt the way to go?
(But I guess also the costs will be influenced by longer propmpts)