#OpenAI API giving bad responses

2 messages · Page 1 of 1 (latest)

teal elm
#

Hello. I am using the OpenAI API to call "CreateCompletionAsync" in dotnet. I am passing text (the prompt), a temperature of 0.7, and a max_tokens of 256. When I prompt my application with "What is GDPR?" i get really bad answers that aren't even relevant. This was working two weeks ago with the same settings and providing much better answers. In fact, none of the answers I'm getting now are valid or worth the text they are printed with. I am using the text-davinci-003 engine. for example, here's a response i got from "What is GDPR?"
"package com.example.fitfactory.presentation.customViews.recyclerView\n\nimport android.view.View\nimport androidx.recyclerview.widget.RecyclerView\n\nabstract class BaseViewHolder<T>(itemView: View) : RecyclerView.ViewHolder(itemView) {\n    abstract fun bind(item: T)\n}","

I have no idea why I am getting such crazy responses this week as opposed to two weeks ago when this was all working. please advise.

plucky salmon
#

Same here