A
B
C
D
F
G
L
M
P
S
T
S
- setFrequencyPenalty(java.lang.Double) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Applies a penalty to discourage repetition of tokens based on frequency.
- setMaxOutputTokens(java.lang.Integer) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Specifies the maximum number of tokens for the generated response.
- setMessages(java.util.List) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestBuilder
- setModelName(java.lang.String) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Specifies the name of the model to be used for the chat request.
- setParameters(dev.langchain4j.model.chat.request.ChatRequestParameters) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestBuilder
- setPresencePenalty(java.lang.Double) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Applies a penalty to encourage diversity by penalizing token presence in the conversation context.
- setResponseFormat(dev.langchain4j.model.chat.request.ResponseFormat) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Specifies the format of the response, such as plain text or structured data.
- setStopSequences(java.util.List) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- A list of sequences that will terminate the response generation if encountered.
- setTemperature(java.lang.Double) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Controls the randomness in the response generation.
- setToolChoice(dev.langchain4j.model.chat.request.ToolChoice) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Defines the specific tool to be used if multiple tools are available in the request.
- setToolSpecifications(java.util.List) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- A list of tool specifications for integrating external tools into the chat request.
- setTopK(java.lang.Integer) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Limits the selection to the top
Ktokens during response generation. - setTopP(java.lang.Double) - function in dev.langchain4j.kotlin.model.chat.request.ChatRequestParametersBuilder
- Configures nucleus sampling, limiting the selection to a subset of tokens with a cumulative probability of
topP. - StreamingChatModelExtensionsKt - class in dev.langchain4j.kotlin.model.chat
- StreamingChatModelReply - class in dev.langchain4j.kotlin.model.chat
- Represents different types of replies that can be received from an AI language model during streaming.
- StreamingChatModelReply.CompleteResponse - class in dev.langchain4j.kotlin.model.chat.StreamingChatModelReply
- Represents a final completion response received from the AI language model during the streaming chat process.
- StreamingChatModelReply.Error - class in dev.langchain4j.kotlin.model.chat.StreamingChatModelReply
- Represents an error that occurred during the streaming process when generating a reply from the AI language model.
- StreamingChatModelReply.PartialResponse - class in dev.langchain4j.kotlin.model.chat.StreamingChatModelReply
- Represents a partial response received from an AI language model during a streaming interaction.