Class ToolParallelAiSearch.Builder
-
- All Implemented Interfaces:
public abstract class ToolParallelAiSearch.BuilderBuilder for ToolParallelAiSearch.
-
-
Constructor Summary
Constructors Constructor Description ToolParallelAiSearch.Builder()
-
Method Summary
Modifier and Type Method Description abstract ToolParallelAiSearch.BuilderapiKey(String apiKey)Setter for apiKey. ToolParallelAiSearch.BuilderclearApiKey()Clears the value of apiKey field. abstract ToolParallelAiSearch.BuildercustomConfigs(Map<String, Object> customConfigs)Setter for customConfigs. ToolParallelAiSearch.BuilderclearCustomConfigs()Clears the value of customConfigs field. abstract ToolParallelAiSearchbuild()-
-
Method Detail
-
apiKey
abstract ToolParallelAiSearch.Builder apiKey(String apiKey)
Setter for apiKey.
apiKey: Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details.
-
clearApiKey
@CanIgnoreReturnValue() ToolParallelAiSearch.Builder clearApiKey()
Clears the value of apiKey field.
-
customConfigs
abstract ToolParallelAiSearch.Builder customConfigs(Map<String, Object> customConfigs)
Setter for customConfigs.
customConfigs: Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } }
-
clearCustomConfigs
@CanIgnoreReturnValue() ToolParallelAiSearch.Builder clearCustomConfigs()
Clears the value of customConfigs field.
-
build
abstract ToolParallelAiSearch build()
-
-
-
-