Hi, I have scraped a good amount of data and I am able to clean and structure it. I want to feed this data to ChatGPT 3.5 API through prompts. I tried feeding it using the role of the user and the content was the context information. The problem is how the model is ignoring this information and is using the information it already knows (till Sept 2021). I tried to pass the info using the assistant role but it still doesn’t work. Am I missing something?
Have you tried the system role? What about including system role instructions with something like
If context is provided, you must answer in terms of the provided context.?
Hi, thanks for the reply. Tried that but then it messes up by mixing the old info and the fed info. I tried to be specific and ask it to ignore old info but still, it just doesn’t ignore.
I recommend reading the OpenAI promping best practices:
In particular, if putting stuff into your system prompt, use triple quotes to delineate context information e.g.
New information: “”"
some other stuff
which helps it better separate out what you’re asking from the context.