Package com.openai.models.responses
Interface ResponseFunctionWebSearch.Action.Visitor
-
- All Implemented Interfaces:
public interface ResponseFunctionWebSearch.Action.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitSearch(ResponseFunctionWebSearch.Action.Search search)
Action type "search" - Performs a web search query. abstract T
visitOpenPage(ResponseFunctionWebSearch.Action.OpenPage openPage)
Action type "open_page" - Opens a specific URL from search results. abstract T
visitFind(ResponseFunctionWebSearch.Action.Find find)
Action type "find": Searches for a pattern within a loaded page. T
unknown(JsonValue json)
Maps an unknown variant of Action to a value of type T. -
-
Method Detail
-
visitSearch
abstract T visitSearch(ResponseFunctionWebSearch.Action.Search search)
Action type "search" - Performs a web search query.
-
visitOpenPage
abstract T visitOpenPage(ResponseFunctionWebSearch.Action.OpenPage openPage)
Action type "open_page" - Opens a specific URL from search results.
-
visitFind
abstract T visitFind(ResponseFunctionWebSearch.Action.Find find)
Action type "find": Searches for a pattern within a loaded page.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Action to a value of type T.
An instance of Action can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-