API response is completely different from chatgpt response via browser for the same prompt

Hello,

I’m calling an OpenAI API by using the below prompt and while calling through API, it usually gives me standard response of " As of my last knowledge update in October 2023, I do not have specific information"; Even changing the company name in the prompt makes no difference to the response.
Calling the same prompt from the browser usually gives me correct response.
What should I do to get the same response from API as one from the browser.
I have even tried changing parameters like temperature and Top_P in my program but hasn’t changed the response a bit.

Prompt: “You are helpful AI assistant, a large language model trained by open AI,
Tell me about based in India, about the company,
its target portfolio, minimum investment, Investment stage, Sector, hold period, key managers, region, inception date, fund Life, founders,
registration status, expand search to get Gather Accurate Information, Print the response in JSON format”

1 Like

The website version of ChatGPT has access to web search which the API version doesn’t have (and likely will never have.)

2 Likes

Many Thanks for the response!
Is there any workaround to overcome this Obstruction or if the using API ineffective in case like this?

You have to implement the web search yourself. You can look at LangChain or LlamaIndex

2 Likes