3 ms·
Did you read the article? To do it with OpenAI you would just put a few output examples in the prompt and then give it a function that takes the class and the o
by ilaksh 3y ago
Did you read the article? To do it with OpenAI you would just put a few output examples in the prompt and then give it a function that takes the class and the output parameters correspond to the JSON format you want, or just a string containing JSON.
You could also fine tuned an LLM like Falcon-7b but probably not necessary and nothing to do with OpenAI.
You might also look into the OpenAI Embedding API as a third option.
I would try the first option though.