Complete productinformation on database

I’m working in an international industry that has a lot of issues gathering product information. I want to build a database with product information using OpenAI, but I have trouble getting the right results. Products are fairly standardised.

My idea is to populate a database and do a Q&A to get the results. I will have the name of the product and ask questions like:

  • What’s the colour of ? Answer in 1 word.
  • Can you use in rain? Answer in 1 word.
  • etc

Most of the time, this works but sometimes the API gives me a longer answer which I don’t want. Does someone have a tweak to work around this? I’m using the OpenAI api and it would be very neat to get this working. Happy to share my solution once ready, of course.