Using OpenAI web_search via LLM connection

Ashok John
Ashok John Registered Posts: 3 ✭✭✭

Hi,

I’m using a Dataiku LLM connection to Azure OpenAI and I would like to use OpenAI’s built‑in web_search capability (the same one you get when calling the Responses API with tools=[{"type": "web_search"}]).

I created a code agent but unable to use the langchain framework to invoke web search with openAI web_searchthrough the existing LLM Mesh connection instead of using a separate OpenAI client with its own API key.

Questions:

  1. Is there a way to enable and call the provider’s built‑in web_search through a Dataiku Mesh connection?
  2. If yes, how should the LLM connection or agent be configured?
  3. If not, any other ideas ?

OpenAI websearch - https://developers.openai.com/api/docs/guides/tools-web-search

Langchain search with Typescript, but not found for python - https://docs.langchain.com/oss/javascript/integrations/tools/openai

Thanks in advance !

John

Dataiku version used: 14.4.2

Setup Info
    Tags
      Help me…