Interface GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
GoogleVertexAIEndpointBuilderFactory
public static interface GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Google Vertex AI component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()anthropicVersion(String anthropicVersion) Anthropic API version for Claude models.candidateCount(Integer candidateCount) Number of candidate responses to generate.candidateCount(String candidateCount) Number of candidate responses to generate.jsonMode(boolean jsonMode) Whether to use JSON request/response format.Whether to use JSON request/response format.maxOutputTokens(Integer maxOutputTokens) Maximum number of output tokens.maxOutputTokens(String maxOutputTokens) Maximum number of output tokens.Set the operation for the producer.operation(org.apache.camel.component.google.vertexai.GoogleVertexAIOperations operation) Set the operation for the producer.Publisher name for partner models (e.g., anthropic, meta, mistralai).serviceAccountKey(String serviceAccountKey) The Service account key that can be used as credentials for the Vertex AI client.streamOutputMode(String streamOutputMode) Streaming output mode: complete (default) or chunks.temperature(Float temperature) Temperature parameter for generation (0.0-1.0).temperature(String temperature) Temperature parameter for generation (0.0-1.0).Top-K parameter for generation.Top-K parameter for generation.Top-P parameter for nucleus sampling.Top-P parameter for nucleus sampling.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
serviceAccountKey
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder serviceAccountKey(String serviceAccountKey) The Service account key that can be used as credentials for the Vertex AI client. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. The option is a:java.lang.Stringtype. Group: common- Parameters:
serviceAccountKey- the value to set- Returns:
- the dsl builder
-
anthropicVersion
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder anthropicVersion(String anthropicVersion) Anthropic API version for Claude models. Required when publisher is 'anthropic'. The option is a:java.lang.Stringtype. Default: vertex-2023-10-16 Group: producer- Parameters:
anthropicVersion- the value to set- Returns:
- the dsl builder
-
candidateCount
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder candidateCount(Integer candidateCount) Number of candidate responses to generate. The option is a:java.lang.Integertype. Default: 1 Group: producer- Parameters:
candidateCount- the value to set- Returns:
- the dsl builder
-
candidateCount
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder candidateCount(String candidateCount) Number of candidate responses to generate. The option will be converted to ajava.lang.Integertype. Default: 1 Group: producer- Parameters:
candidateCount- the value to set- Returns:
- the dsl builder
-
jsonMode
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder jsonMode(boolean jsonMode) Whether to use JSON request/response format. The option is a:booleantype. Default: false Group: producer- Parameters:
jsonMode- the value to set- Returns:
- the dsl builder
-
jsonMode
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder jsonMode(String jsonMode) Whether to use JSON request/response format. The option will be converted to abooleantype. Default: false Group: producer- Parameters:
jsonMode- the value to set- Returns:
- the dsl builder
-
maxOutputTokens
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder maxOutputTokens(Integer maxOutputTokens) Maximum number of output tokens. The option is a:java.lang.Integertype. Default: 1024 Group: producer- Parameters:
maxOutputTokens- the value to set- Returns:
- the dsl builder
-
maxOutputTokens
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder maxOutputTokens(String maxOutputTokens) Maximum number of output tokens. The option will be converted to ajava.lang.Integertype. Default: 1024 Group: producer- Parameters:
maxOutputTokens- the value to set- Returns:
- the dsl builder
-
operation
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder operation(org.apache.camel.component.google.vertexai.GoogleVertexAIOperations operation) Set the operation for the producer. The option is a:org.apache.camel.component.google.vertexai.GoogleVertexAIOperationstype. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
operation
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder operation(String operation) Set the operation for the producer. The option will be converted to aorg.apache.camel.component.google.vertexai.GoogleVertexAIOperationstype. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
publisher
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder publisher(String publisher) Publisher name for partner models (e.g., anthropic, meta, mistralai). Required for rawPredict operations. The option is a:java.lang.Stringtype. Group: producer- Parameters:
publisher- the value to set- Returns:
- the dsl builder
-
streamOutputMode
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder streamOutputMode(String streamOutputMode) Streaming output mode: complete (default) or chunks. The option is a:java.lang.Stringtype. Default: complete Group: producer- Parameters:
streamOutputMode- the value to set- Returns:
- the dsl builder
-
temperature
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder temperature(Float temperature) Temperature parameter for generation (0.0-1.0). The option is a:java.lang.Floattype. Default: 0.7 Group: producer- Parameters:
temperature- the value to set- Returns:
- the dsl builder
-
temperature
default GoogleVertexAIEndpointBuilderFactory.GoogleVertexAIEndpointBuilder temperature(String temperature) Temperature parameter for generation (0.0-1.0). The option will be converted to ajava.lang.Floattype. Default: 0.7 Group: producer- Parameters:
temperature- the value to set- Returns:
- the dsl builder
-
topK
Top-K parameter for generation. The option is a:java.lang.Integertype. Default: 40 Group: producer- Parameters:
topK- the value to set- Returns:
- the dsl builder
-
topK
Top-K parameter for generation. The option will be converted to ajava.lang.Integertype. Default: 40 Group: producer- Parameters:
topK- the value to set- Returns:
- the dsl builder
-
topP
Top-P parameter for nucleus sampling. The option is a:java.lang.Floattype. Default: 0.95 Group: producer- Parameters:
topP- the value to set- Returns:
- the dsl builder
-
topP
Top-P parameter for nucleus sampling. The option will be converted to ajava.lang.Floattype. Default: 0.95 Group: producer- Parameters:
topP- the value to set- Returns:
- the dsl builder
-