Hi, I’m working on extracting sentiment/action items from unstructured text (comments), which is in a JSON file.
INITIAL SITUATION:
I could upload the json file to ChatGPT & ask it to give me top 5 sentiments (with certain factors that I’d ask it consider). It would parse the JSON file & would give me the top 5 sentiments with a describing sentence or two - including how much support each sentiment had.
CURRENT SITUATION:
However, to scale up, I need to automate the process. So I figured I’d use the OpenAI API. Since I need to classify the comments (positive/negative) & cluster them together (to gauge priority), the ‘Embeddings’ capability fit for my use case.
CHALLENGE:
However, the Embeddings API response is numbers instead of text like I used to get from ChatGPT.
QUESTION:
How can I get the kind of output I used to get in the ChatGPT terminal through the use of APIs?
Thanks in advance!