#Programmatically retrieving the links that ChatGPT searched for during a completion.

1 messages · Page 1 of 1 (latest)

grave carbon
#

I'd like to know if I can retrieve the links that ChatGPT searched for during a completion. For example:

  • Consider that I am using the API to make an application in which I ask for links to learn more about certain topics.
  • I ask the API to "Search the web for news about the 2024 Olympics."
  • Can I retrieve the specific links that were searched in order to create the output I receive?
opal hullBOT
#

Hi @grave carbon. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the provided knowledge sources, it appears that ChatGPT, when using the Browse with Bing feature, formulates a keyword search based on your prompt and submits this search prompt to a headless version of the Bing search engine to retrieve relevant results. However, the specific links that were searched or the exact search results are not explicitly returned or made accessible to the user.

The API does not provide a direct way to retrieve the specific links that were searched during a completion. The model generates responses based on the information it has been trained on and the search results it retrieves, but it does not provide a list of the specific URLs or resources it used in the process.

For more detailed information, you may want to refer to the official OpenAI documentation or reach out to OpenAI support directly.

Sources:


Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@grave carbon kapa.ai is still learning and improving, please let us know how it did by reacting below

grave carbon
#

@opal hull does the current API browse the web when completing a response?

opal hullBOT
#

Let me check the knowledge base for you. One moment! :books:

#

No, the current API does not have the capability to browse the web when completing a response. While the ChatGPT interface has browsing capabilities, these are not available when using the API. If you need to incorporate web browsing into your application, you would need to implement this functionality yourself. This could involve using a web search API, such as Bing Search, to perform a search based on user input, and then incorporating the search results into the final response back to the user.

Sources:


Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: