Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accessToken() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns the value of the
accessToken
record component. - apikey() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenRequest
-
Returns the value of the
apikey
record component. - apiKey() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
IBM Cloud API key.
- assistant() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GraniteCodePromptFormatter
- assistant() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GranitePromptFormatter
- assistant() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaPromptFormatter
- assistant() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralPromptFormatter
- assistant() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.NoopPromptFormatter
- assistant() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns the tag used to mark
AiMessage
within the prompt. - AUTHENTICATION_TOKEN_EXPIRED - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
- AUTHORIZATION_REJECTED - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
B
- baseUrl() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.IAMConfig
-
Base URL of the IAM Authentication API.
- baseUrl() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
Base URL of the watsonx.ai API.
- BearerTokenHeaderFactory - Class in io.quarkiverse.langchain4j.watsonx.client.filter
-
Add the bearer token to the watsonx.ai APIs.
- BearerTokenHeaderFactory(TokenGenerator) - Constructor for class io.quarkiverse.langchain4j.watsonx.client.filter.BearerTokenHeaderFactory
- build() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- build(Class<T>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- builder() - Static method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- builder() - Static method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel
- Builder() - Constructor for class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- Builder() - Constructor for class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- BXNIM0415E - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.IAMError.Code
C
- chat(TextGenerationRequest, String) - Method in interface io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi
- chatModel() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
Chat model related settings.
- chatModel() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxFixedRuntimeConfig.WatsonConfig
-
Chat model related settings
- chatModel(LangChain4jWatsonxConfig, LangChain4jWatsonxFixedRuntimeConfig, String, PromptFormatter) - Method in class io.quarkiverse.langchain4j.watsonx.runtime.WatsonxRecorder
- ChatModelConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- ChatModelConfig.LengthPenaltyConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- ChatModelFixedRuntimeConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- chatStreaming(TextGenerationRequest, String) - Method in interface io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi
- code() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Error
-
Returns the value of the
code
record component. - convert(ToolExecutionRequest) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaToolFormatter
- convert(ToolExecutionRequest) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargeToolFormatter
- convert(ToolExecutionRequest) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptToolFormatter
-
Converts a
ToolExecutionRequest
into aString
. - convert(ToolExecutionResultMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaToolFormatter
- convert(ToolExecutionResultMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargeToolFormatter
- convert(ToolExecutionResultMessage) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptToolFormatter
-
Converts a
ToolExecutionResultMessage
into aString
. - convert(List<ToolExecutionRequest>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaToolFormatter
- convert(List<ToolExecutionRequest>) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptToolFormatter
-
Converts a list of
ToolExecutionRequest
objects into a JSON string representation. - convert(Map<String, Object>) - Static method in class io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatterUtil
-
Converts a Map into a JSON string representation.
D
- decayFactor() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.Parameters.LengthPenalty
-
Returns the value of the
decayFactor
record component. - decayFactor() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig.LengthPenaltyConfig
-
Represents the factor of exponential decay.
- decayFactor(Double) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- decodingMethod() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Represents the strategy used for picking the tokens during generation of the output text.
- decodingMethod(String) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- decodingMethod(String) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- defaultConfig() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig
-
Default model config.
- defaultConfig() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxFixedRuntimeConfig
-
Default model config.
- details() - Method in exception class io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
E
- embedAll(List<TextSegment>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxEmbeddingModel
- embedding() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse.Result
-
Returns the value of the
embedding
record component. - embeddingModel() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
Embedding model related settings.
- embeddingModel(LangChain4jWatsonxConfig, String) - Method in class io.quarkiverse.langchain4j.watsonx.runtime.WatsonxRecorder
- EmbeddingModelConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- EmbeddingRequest - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- EmbeddingRequest(String, String, List<String>) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingRequest
-
Creates an instance of a
EmbeddingRequest
record class. - EmbeddingResponse - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- EmbeddingResponse(List<EmbeddingResponse.Result>) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse
-
Creates an instance of a
EmbeddingResponse
record class. - EmbeddingResponse.Result - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- embeddings(EmbeddingRequest, String) - Method in interface io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi
- enableIntegration() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
Whether to enable the integration.
- end() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Defines an end tag that wraps the entire prompt.
- endOf(ChatMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GraniteCodePromptFormatter
- endOf(ChatMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GranitePromptFormatter
- endOf(ChatMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- endOf(ChatMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaPromptFormatter
- endOf(ChatMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargePromptFormatter
- endOf(ChatMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralPromptFormatter
- endOf(ChatMessage) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.NoopPromptFormatter
- endOf(ChatMessage) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Defines how to close a tag based on the message.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IAMError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.Parameters.LengthPenalty
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationRequest
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Error
-
Indicates whether some other object is "equal to" this one.
- Error(WatsonxError.Code, String) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Error
-
Creates an instance of a
Error
record class. - errorCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IAMError
-
Returns the value of the
errorCode
record component. - errorMessage() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IAMError
-
Returns the value of the
errorMessage
record component. - errors() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError
-
Returns the value of the
errors
record component. - estimateTokenCount(String) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxEmbeddingModel
- estimateTokenCount(List<ChatMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxChatModel
- estimateTokenCount(List<ChatMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxStreamingChatModel
- expiration() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns the value of the
expiration
record component. - expiresIn() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns the value of the
expiresIn
record component.
F
- format(List<ChatMessage>) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Converts a list of
ChatMessage
into a formatted prompt. - format(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GraniteCodePromptFormatter
- format(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GranitePromptFormatter
- format(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- format(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaPromptFormatter
- format(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargePromptFormatter
- format(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralPromptFormatter
- format(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.NoopPromptFormatter
- format(List<ChatMessage>, List<ToolSpecification>) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Converts a list of
ChatMessage
objects andToolSpecification
objects into a formatted prompt.
G
- generate() - Method in class io.quarkiverse.langchain4j.watsonx.TokenGenerator
- generate(List<ChatMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxChatModel
- generate(List<ChatMessage>, ToolSpecification) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxChatModel
- generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxStreamingChatModel
- generate(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxChatModel
- generateBearer(IdentityTokenRequest) - Method in interface io.quarkiverse.langchain4j.watsonx.client.IAMRestApi
- generatedText() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse.Result
-
Returns the value of the
generatedText
record component. - generatedTokenCount() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse.Result
-
Returns the value of the
generatedTokenCount
record component. - get(String) - Static method in class io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatterMapper
-
Retrieves the
PromptFormatter
associated with the specified model name. - getDecodingMethod() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getHeaders(MultivaluedMap<String, String>, MultivaluedMap<String, String>) - Method in class io.quarkiverse.langchain4j.watsonx.client.filter.BearerTokenHeaderFactory
- getIncludeStopSequence() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getLengthPenalty() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getMaxNewTokens() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getMinNewTokens() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getPromptFormatter() - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel
- getRandomSeed() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getRepetitionPenalty() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getStopSequences() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getTemperature() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getTopK() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getTopP() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- getTruncateInputTokens() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- GraniteCodePromptFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
-
Granite code prompt formatter.
- GraniteCodePromptFormatter() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.GraniteCodePromptFormatter
- GranitePromptFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
-
Granite prompt formatter.
- GranitePromptFormatter() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.GranitePromptFormatter
- grantType() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenRequest
-
Returns the value of the
grantType
record component. - grantType() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.IAMConfig
-
Grant type for the IAM Authentication API.
H
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IAMError
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.Parameters.LengthPenalty
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationRequest
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Error
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError
-
Returns a hash code value for this object.
I
- iam() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
IAM authentication related settings.
- IAMConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- IAMError - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- IAMError(IAMError.Code, String) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.IAMError
-
Creates an instance of a
IAMError
record class. - IAMError.Code - Enum Class in io.quarkiverse.langchain4j.watsonx.bean
- IAMRestApi - Interface in io.quarkiverse.langchain4j.watsonx.client
- IdentityTokenRequest - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- IdentityTokenRequest(String, String) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenRequest
-
Creates an instance of a
IdentityTokenRequest
record class. - IdentityTokenResponse - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- IdentityTokenResponse(String, String, String, long, long, String) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Creates an instance of a
IdentityTokenResponse
record class. - includeStopSequence() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Pass
false
to omit matched stop sequences from the end of the output text. - includeStopSequence(Boolean) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- includeStopSequence(Boolean) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- input() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationRequest
-
Returns the value of the
input
record component. - input() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationRequest
-
Returns the value of the
input
record component. - inputs() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingRequest
-
Returns the value of the
inputs
record component. - inputTokenCount() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse.Result
-
Returns the value of the
inputTokenCount
record component. - INVALID_INPUT_ARGUMENT - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
- INVALID_REQUEST_ENTITY - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
- io.quarkiverse.langchain4j.watsonx - package io.quarkiverse.langchain4j.watsonx
- io.quarkiverse.langchain4j.watsonx.bean - package io.quarkiverse.langchain4j.watsonx.bean
- io.quarkiverse.langchain4j.watsonx.client - package io.quarkiverse.langchain4j.watsonx.client
- io.quarkiverse.langchain4j.watsonx.client.filter - package io.quarkiverse.langchain4j.watsonx.client.filter
- io.quarkiverse.langchain4j.watsonx.exception - package io.quarkiverse.langchain4j.watsonx.exception
- io.quarkiverse.langchain4j.watsonx.prompt - package io.quarkiverse.langchain4j.watsonx.prompt
- io.quarkiverse.langchain4j.watsonx.prompt.impl - package io.quarkiverse.langchain4j.watsonx.prompt.impl
- io.quarkiverse.langchain4j.watsonx.runtime - package io.quarkiverse.langchain4j.watsonx.runtime
- io.quarkiverse.langchain4j.watsonx.runtime.config - package io.quarkiverse.langchain4j.watsonx.runtime.config
J
- joiner() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaPromptFormatter
- joiner() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralPromptFormatter
- joiner() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.NoopPromptFormatter
- joiner() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Defines the string used to join multiple
ChatMessage
objects when constructing the prompt. - JSON_VALIDATION_ERROR - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
L
- LangChain4jWatsonxConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- LangChain4jWatsonxConfig.WatsonConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- LangChain4jWatsonxFixedRuntimeConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- LangChain4jWatsonxFixedRuntimeConfig.WatsonConfig - Interface in io.quarkiverse.langchain4j.watsonx.runtime.config
- lengthPenalty() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
It can be used to exponentially increase the likelihood of the text generation terminating once a specified number of tokens have been generated.
- lengthPenalty(Parameters.LengthPenalty) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- LengthPenalty(Double, Integer) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.Parameters.LengthPenalty
-
Creates an instance of a
LengthPenalty
record class. - Llama31PromptFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
-
Llama 3.x prompt formatter.
- Llama31PromptFormatter() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- LlamaPromptFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
-
Llama 3 prompt formatter.
- LlamaPromptFormatter() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaPromptFormatter
- LlamaToolFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
-
The
LlamaToolFormatter
class is an implementation of thePromptToolFormatter
interface specifically designed for the family ofmeta-llama/llama-3-x
models. - LlamaToolFormatter() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaToolFormatter
- logRequest(HttpClientRequest, Buffer, boolean) - Method in class io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi.WatsonClientLogger
- logRequests - Variable in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- logRequests() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Whether chat model requests should be logged.
- logRequests() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.EmbeddingModelConfig
-
Whether embedding model requests should be logged.
- logRequests() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
Whether the watsonx.ai client should log requests.
- logRequests(boolean) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- logResponse(HttpClientResponse, boolean) - Method in class io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi.WatsonClientLogger
- logResponses - Variable in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- logResponses() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Whether chat model responses should be logged.
- logResponses() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.EmbeddingModelConfig
-
Whether embedding model responses should be logged.
- logResponses() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
Whether the watsonx.ai client should log responses.
- logResponses(boolean) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
M
- maxNewTokens() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
The maximum number of new tokens to be generated.
- maxNewTokens(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- maxNewTokens(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- message() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Error
-
Returns the value of the
message
record component. - messagesFormatter(List<ChatMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- messagesFormatter(List<ChatMessage>) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Formats a list of
ChatMessage
objects into a string by concatenating each message with its corresponding tag. - minNewTokens() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
If stop sequences are given, they are ignored until minimum tokens are generated.
- minNewTokens(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- minNewTokens(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- MistralLargePromptFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
-
MistralLarge prompt formatter.
- MistralLargePromptFormatter() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargePromptFormatter
- MistralLargeToolFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
-
The
MistralLargeToolFormatter
class is an implementation of thePromptToolFormatter
interface specifically designed for themistralai/mistral-large
model. - MistralLargeToolFormatter() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargeToolFormatter
- MistralPromptFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
-
Mistral prompt formatter.
- MistralPromptFormatter() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralPromptFormatter
- MODEL_NOT_SUPPORTED - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
- modelId() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingRequest
-
Returns the value of the
modelId
record component. - modelId() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationRequest
-
Returns the value of the
modelId
record component. - modelId() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationRequest
-
Returns the value of the
modelId
record component. - modelId() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelFixedRuntimeConfig
-
Model id to use.
- modelId() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.EmbeddingModelConfig
-
Model id to use.
- modelId(String) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
N
- namedConfig() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig
-
Named model config.
- namedConfig() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxFixedRuntimeConfig
-
Named model config.
- NoopPromptFormatter - Class in io.quarkiverse.langchain4j.watsonx.prompt.impl
- NoopPromptFormatter(String) - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.impl.NoopPromptFormatter
O
- objectMapper(ObjectMapper) - Static method in interface io.quarkiverse.langchain4j.watsonx.client.IAMRestApi
- objectMapper(ObjectMapper) - Static method in interface io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi
- of(String, String, String) - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingRequest
P
- parameters() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationRequest
-
Returns the value of the
parameters
record component. - Parameters - Class in io.quarkiverse.langchain4j.watsonx.bean
- Parameters.Builder - Class in io.quarkiverse.langchain4j.watsonx.bean
- Parameters.LengthPenalty - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- projectId() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingRequest
-
Returns the value of the
projectId
record component. - projectId() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationRequest
-
Returns the value of the
projectId
record component. - projectId() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationRequest
-
Returns the value of the
projectId
record component. - projectId() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
The project that contains the watsonx.ai resource.
- projectId(String) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- promptFormatter() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelFixedRuntimeConfig
-
Configuration property that enables or disables the functionality of the prompt formatter.
- promptFormatter(PromptFormatter) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- PromptFormatter - Interface in io.quarkiverse.langchain4j.watsonx.prompt
-
The
PromptFormatter
interface defines the structure for handling and converting different types ofChatMessage
objects into a specific string format. - PromptFormatterMapper - Class in io.quarkiverse.langchain4j.watsonx.prompt
-
Utility class to map the model names to the corresponding
PromptFormatter
. - PromptFormatterMapper() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatterMapper
- PromptFormatterUtil - Class in io.quarkiverse.langchain4j.watsonx.prompt
-
Utility class for handling various prompt-formatter related tasks.
- PromptFormatterUtil() - Constructor for class io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatterUtil
- promptJoiner() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Delimiter used to concatenate the ChatMessage elements into a single string.
- promptToolFormatter() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- promptToolFormatter() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargePromptFormatter
- promptToolFormatter() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns an instance of
PromptToolFormatter
that is responsible for formatting tool-related data. - PromptToolFormatter - Interface in io.quarkiverse.langchain4j.watsonx.prompt
-
The
PromptToolFormatter
interface defines the contract for formatting tool execution requests and results into JSON representations.
R
- randomSeed() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Random number generator seed to use in sampling mode for experimental repeatability.
- randomSeed(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- randomSeed(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- refreshToken() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns the value of the
refreshToken
record component. - repetitionPenalty() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Represents the penalty for penalizing tokens that have already been generated or belong to the context.
- repetitionPenalty(Double) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- repetitionPenalty(Double) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- result() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse
-
Returns the value of the
result
record component. - Result(int) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse.Result
-
Creates an instance of a
Result
record class. - Result(String, int, int, String) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse.Result
-
Creates an instance of a
Result
record class. - Result(List<Float>) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse.Result
-
Creates an instance of a
Result
record class. - results() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse
-
Returns the value of the
results
record component. - results() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse
-
Returns the value of the
results
record component. - retryOn(Callable<T>) - Static method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel
S
- scope() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns the value of the
scope
record component. - setBodySize(int) - Method in class io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi.WatsonClientLogger
- start() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaPromptFormatter
- start() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralPromptFormatter
- start() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Defines a start tag that wraps the entire prompt.
- startIndex() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.Parameters.LengthPenalty
-
Returns the value of the
startIndex
record component. - startIndex() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig.LengthPenaltyConfig
-
A number of generated tokens after which this should take effect.
- startIndex(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- statusCode() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError
-
Returns the value of the
statusCode
record component. - statusCode() - Method in exception class io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- stopReason() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse.Result
-
Returns the value of the
stopReason
record component. - stopSequences() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Stop sequences are one or more strings which will cause the text generation to stop if/when they are produced as part of the output.
- stopSequences(List<String>) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- stopSequences(List<String>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- streamingChatModel(LangChain4jWatsonxConfig, LangChain4jWatsonxFixedRuntimeConfig, String, PromptFormatter) - Method in class io.quarkiverse.langchain4j.watsonx.runtime.WatsonxRecorder
- system() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GraniteCodePromptFormatter
- system() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GranitePromptFormatter
- system() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaPromptFormatter
- system() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralPromptFormatter
- system() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.NoopPromptFormatter
- system() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns the tag used to mark
invalid reference
SystemMessage
- systemMessageFormatter(List<ChatMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- systemMessageFormatter(List<ChatMessage>) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Formats the system message from a list of
ChatMessage
objects.
T
- tagOf(ChatMessage) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns the tag associated with a specific
ChatMessage
. - tagOf(ChatMessageType) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns the tag associated with a specific
ChatMessageType
. - temperature() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
A value used to modify the next-token probabilities in
sampling
mode. - temperature(Double) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- temperature(Double) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- TextGenerationRequest - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- TextGenerationRequest(String, String, String, Parameters) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationRequest
-
Creates an instance of a
TextGenerationRequest
record class. - TextGenerationResponse - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- TextGenerationResponse(List<TextGenerationResponse.Result>) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse
-
Creates an instance of a
TextGenerationResponse
record class. - TextGenerationResponse.Result - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- timeout() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.IAMConfig
-
Timeout for IAM authentication calls.
- timeout() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
Timeout for watsonx.ai calls.
- timeout(Duration) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- toException(Response) - Static method in interface io.quarkiverse.langchain4j.watsonx.client.IAMRestApi
- toException(Response) - Static method in interface io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi
- toFinishReason(String) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel
- toInput(List<ChatMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel
- toInput(List<ChatMessage>, List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel
- TOKEN_QUOTA_REACHED - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
- tokenCount() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse.Result
-
Returns the value of the
tokenCount
record component. - tokenGenerator(TokenGenerator) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- TokenGenerator - Class in io.quarkiverse.langchain4j.watsonx
- TokenGenerator(URL, Duration, String, String) - Constructor for class io.quarkiverse.langchain4j.watsonx.TokenGenerator
- tokenization(TokenizationRequest, String) - Method in interface io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi
- TokenizationRequest - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- TokenizationRequest(String, String, String) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationRequest
-
Creates an instance of a
TokenizationRequest
record class. - TokenizationResponse - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- TokenizationResponse(TokenizationResponse.Result) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse
-
Creates an instance of a
TokenizationResponse
record class. - TokenizationResponse.Result - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- tokens() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns a list of all relevant tags used in the prompt.
- tokenType() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns the value of the
tokenType
record component. - toolExecution() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- toolExecution() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargePromptFormatter
- toolExecution() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns the tag used by the LLM to request a
Tool
execution. - toolExecutionRequest(JsonValue) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaToolFormatter
- toolExecutionRequest(JsonValue) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargeToolFormatter
- toolExecutionRequest(JsonValue) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptToolFormatter
-
Reconstructs a
ToolExecutionRequest
from aJsonValue
. - toolExecutionRequestFormatter(String) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- toolExecutionRequestFormatter(String) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Parses a JSON string representing a of
ToolExecutionRequest
and converts it into a JSON representation. - toolIsSupported(String) - Static method in class io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatterMapper
- toolResult() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
- toolResult() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralLargePromptFormatter
- toolResult() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns the tag used to mark
ToolExecutionResultMessage
within the prompt. - toolsFormatter(List<ToolSpecification>) - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.Llama31PromptFormatter
-
Formats a list of
ToolSpecification
objects into a JSON string. - toolsFormatter(List<ToolSpecification>) - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Formats a list of
ToolSpecification
objects into a JSON string. - topK() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
The number of highest probability vocabulary tokens to keep for top-k-filtering.
- topK(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- topK(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- topP() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Similar to
top_k
except the candidates to generate the next token are the most likely tokens with probabilities that add up to at leasttop_p
. - topP(Double) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- topP(Double) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse.Result
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.EmbeddingResponse
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IAMError
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.Parameters.LengthPenalty
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse.Result
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TextGenerationResponse
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationRequest
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse.Result
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.TokenizationResponse
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Error
-
Returns a string representation of this record class.
- toString() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError
-
Returns a string representation of this record class.
- toString() - Method in exception class io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- trace() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError
-
Returns the value of the
trace
record component. - truncateInputTokens() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.ChatModelConfig
-
Represents the maximum number of input tokens accepted.
- truncateInputTokens(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters.Builder
- truncateInputTokens(Integer) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
U
- url(URL) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
- user() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GraniteCodePromptFormatter
- user() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.GranitePromptFormatter
- user() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.LlamaPromptFormatter
- user() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.MistralPromptFormatter
- user() - Method in class io.quarkiverse.langchain4j.watsonx.prompt.impl.NoopPromptFormatter
- user() - Method in interface io.quarkiverse.langchain4j.watsonx.prompt.PromptFormatter
-
Returns the tag used to mark
invalid reference
UserMessage
- USER_AUTHORIZATION_FAILED - Enum constant in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
V
- valueOf(String) - Static method in enum class io.quarkiverse.langchain4j.watsonx.bean.IAMError.Code
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.quarkiverse.langchain4j.watsonx.bean.IAMError.Code
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError.Code
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in interface io.quarkiverse.langchain4j.watsonx.runtime.config.LangChain4jWatsonxConfig.WatsonConfig
-
The version date for the API of the form YYYY-MM-DD.
- version(String) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel.Builder
W
- WatsonClientLogger(boolean, boolean) - Constructor for class io.quarkiverse.langchain4j.watsonx.client.WatsonxRestApi.WatsonClientLogger
- WatsonxChatModel - Class in io.quarkiverse.langchain4j.watsonx
- WatsonxChatModel(WatsonxModel.Builder) - Constructor for class io.quarkiverse.langchain4j.watsonx.WatsonxChatModel
- WatsonxEmbeddingModel - Class in io.quarkiverse.langchain4j.watsonx
- WatsonxEmbeddingModel(WatsonxModel.Builder) - Constructor for class io.quarkiverse.langchain4j.watsonx.WatsonxEmbeddingModel
- WatsonxError - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- WatsonxError(Integer, String, List<WatsonxError.Error>) - Constructor for record class io.quarkiverse.langchain4j.watsonx.bean.WatsonxError
-
Creates an instance of a
WatsonxError
record class. - WatsonxError.Code - Enum Class in io.quarkiverse.langchain4j.watsonx.bean
- WatsonxError.Error - Record Class in io.quarkiverse.langchain4j.watsonx.bean
- WatsonxException - Exception Class in io.quarkiverse.langchain4j.watsonx.exception
- WatsonxException(Integer, WatsonxError) - Constructor for exception class io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- WatsonxException(String, Integer) - Constructor for exception class io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- WatsonxException(String, Integer, WatsonxError) - Constructor for exception class io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- WatsonxException(Throwable, Integer) - Constructor for exception class io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- WatsonxModel - Class in io.quarkiverse.langchain4j.watsonx
- WatsonxModel(WatsonxModel.Builder) - Constructor for class io.quarkiverse.langchain4j.watsonx.WatsonxModel
- WatsonxModel.Builder - Class in io.quarkiverse.langchain4j.watsonx
- WatsonxRecorder - Class in io.quarkiverse.langchain4j.watsonx.runtime
- WatsonxRecorder() - Constructor for class io.quarkiverse.langchain4j.watsonx.runtime.WatsonxRecorder
- WatsonxRestApi - Interface in io.quarkiverse.langchain4j.watsonx.client
-
This Microprofile REST client is used as the building block of all the API calls to watsonx.
- WatsonxRestApi.WatsonClientLogger - Class in io.quarkiverse.langchain4j.watsonx.client
-
Introduce a custom logger as the stock one logs at the DEBUG level by default...
- WatsonxStreamingChatModel - Class in io.quarkiverse.langchain4j.watsonx
- WatsonxStreamingChatModel(WatsonxModel.Builder) - Constructor for class io.quarkiverse.langchain4j.watsonx.WatsonxStreamingChatModel
All Classes and Interfaces|All Packages|Serialized Form