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.
- 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.
- 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, 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(LangChain4jWatsonxConfig, String) - 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
- chatStreaming(TextGenerationRequest, String, 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.
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.
- details() - Method in exception 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, 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.
- 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.
G
- generate() - Method in class io.quarkiverse.langchain4j.watsonx.TokenGenerator
- generate(List<ChatMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxChatModel
- generate(List<ChatMessage>, StreamingResponseHandler<AiMessage>) - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxStreamingChatModel
- generateBearer(IdentityTokenRequest) - Method in interface io.quarkiverse.langchain4j.watsonx.client.IAMRestApi
- generateBearerToken() - Method in class io.quarkiverse.langchain4j.watsonx.WatsonxModel
- 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. - getDecodingMethod() - Method in class io.quarkiverse.langchain4j.watsonx.bean.Parameters
- 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
- 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
- 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.exception - package io.quarkiverse.langchain4j.watsonx.exception
- 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
- 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
- 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. - 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. - 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
- 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.ChatModelConfig
-
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.
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
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
- 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 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, String) - Method in class io.quarkiverse.langchain4j.watsonx.runtime.WatsonxRecorder
T
- 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
- 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, 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
- tokenType() - Method in record class io.quarkiverse.langchain4j.watsonx.bean.IdentityTokenResponse
-
Returns the value of the
tokenType
record component. - 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 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_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 in io.quarkiverse.langchain4j.watsonx.exception
- WatsonxException(Integer, WatsonxError) - Constructor for exception io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- WatsonxException(String, Integer) - Constructor for exception io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- WatsonxException(String, Integer, WatsonxError) - Constructor for exception io.quarkiverse.langchain4j.watsonx.exception.WatsonxException
- WatsonxException(Throwable, Integer) - Constructor for exception 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