Searches Microsoft Bing Copilot, which combines web search results with AI-generated responses. This makes it useful for queries that benefit from current web information.
Usage
ask_bing_copilot(query = geterrmessage(), prompt = NULL)
ask_copilot(query = geterrmessage(), prompt = NULL)
See also
Other AI assistants:
ask_chatgpt()
,
ask_claude()
,
ask_grok()
,
ask_meta_ai()
,
ask_mistral()
,
ask_perplexity()
Examples
# Basic query
ask_bing_copilot("Latest R package for geospatial analysis")
#> Please type into your browser:
#> https://www.bing.com/search?showconv=1&sendquery=1&q=Latest%20R%20package%20for%20geospatial%20analysis
# Using a custom prompt
ask_bing_copilot("Write a function to calculate the median",
prompt = "Show multiple approaches:")
#> Using prompts: function call
#> Please type into your browser:
#> https://www.bing.com/search?showconv=1&sendquery=1&q=Show%20multiple%20approaches%3A%20Write%20a%20function%20to%20calculate%20the%20median