How do I tell langchain4j to use the tool from openAI itself?
You need to set langchain4j.open-ai.chat-model.model-name = gpt-4o-search-preview
And How do I tell langchain4j to set the web_search_options like on the python code snippet below
Unfortunately there is currently no way to set it