agentchat.contrib.web_surfer
WebSurferAgent
class WebSurferAgent(ConversableAgent)
(In preview) An agent that acts as a basic web surfer that can search the web and visit web pages.
generate_surfer_reply
def generate_surfer_reply(
messages: Optional[List[Dict[str, str]]] = None,
sender: Optional[Agent] = None,
config: Optional[OpenAIWrapper] = None
) -> Tuple[bool, Optional[Union[str, Dict[str, str]]]]
Generate a reply using autogen.oai.