Hi,
I just want to be sure if I write the prompt correctly. In a text, I want to extract only the names of the ML/AI methods used for the problem. You can see the code snippet below where test_text is the text which I read from a txt file. I used ### as mentioned in best practices. Do you think is the below prompt correct in terms of sentence used, “###” and “+” usages etc.? Thank you so much.
response2 = openai.Completion.create(
model=“text-davinci-003”,
prompt=“Extract the specific names of used artificial intelligence methods or machine learning methods by using commas from the following text. Text:###{” + str(test_text) + “}### \nA:”,
temperature=0,
max_tokens=100,
top_p=1,
frequency_penalty=0.0,
presence_penalty=0.0,
stop=[“\n”]
)