web_search_options={}
to enable web connectivity for all Gemini and OpenAI models. The search fee for Gemini models is $35 per thousand searches.
pip install -U openai
to upgrade the openai package.
Example:
:surfing
to the model id, any large language model can be equipped with search capabilities.