JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
W
A
addExample(String, String)
- Method in class org.llm4j.api.
ChatHistory
addMessage(String)
- Method in class org.llm4j.api.
ChatHistory
addMessage(String, String)
- Method in class org.llm4j.api.
ChatHistory
API_KEY
- Static variable in class org.llm4j.huggingface.
HFConfig
API_KEY
- Static variable in class org.llm4j.openai.
OpenAIConfig
API_URL
- Static variable in class org.llm4j.openai.
OpenAIConfig
API_URL_DEFAULT
- Static variable in class org.llm4j.openai.
OpenAIConfig
B
build(Configuration)
- Method in class org.llm4j.huggingface.
HFApiFactory
build()
- Method in class org.llm4j.huggingface.request.
HFRequestOptions.Builder
build()
- Method in class org.llm4j.huggingface.request.
HFRequestParameters.Builder
build()
- Method in class org.llm4j.huggingface.request.
TextEmbeddingRequest.Builder
build()
- Method in class org.llm4j.huggingface.request.
TextGenerationRequest.Builder
build()
- Method in class org.llm4j.openai.request.
ChatRequestFactory
build()
- Method in class org.llm4j.openai.request.
EmbeddingRequestFactory
build()
- Method in class org.llm4j.openai.request.
ModerationRequestFactory
build()
- Method in class org.llm4j.openai.request.
RequestFactory
build()
- Method in class org.llm4j.openai.request.
TextRequestFactory
build()
- Method in class org.llm4j.palm.request.
EmbedRequestFactory
build()
- Method in class org.llm4j.palm.request.
MessageRequestFactory
build()
- Method in class org.llm4j.palm.request.
PaLMRequestParameters.Builder
build()
- Method in class org.llm4j.palm.request.
TextRequestFactory
Builder()
- Constructor for class org.llm4j.cohere.
CohereLanguageModel.Builder
Builder()
- Constructor for class org.llm4j.huggingface.
HFLanguageModel.Builder
Builder()
- Constructor for class org.llm4j.huggingface.request.
HFRequestOptions.Builder
builder()
- Static method in class org.llm4j.huggingface.request.
HFRequestParameters
Builder()
- Constructor for class org.llm4j.huggingface.request.
HFRequestParameters.Builder
Builder()
- Constructor for class org.llm4j.huggingface.request.
TextEmbeddingRequest.Builder
Builder()
- Constructor for class org.llm4j.huggingface.request.
TextGenerationRequest.Builder
Builder()
- Constructor for class org.llm4j.openai.
OpenAILanguageModel.Builder
Builder()
- Constructor for class org.llm4j.palm.
PaLMLanguageModel.Builder
builder()
- Static method in class org.llm4j.palm.request.
PaLMRequestParameters
Builder()
- Constructor for class org.llm4j.palm.request.
PaLMRequestParameters.Builder
C
chat(GenerateMessageRequest)
- Method in class org.llm4j.palm.
PaLMClient
CHAT_MODEL_ID
- Static variable in class org.llm4j.palm.
PaLMConfig
ChatHistory
- Class in
org.llm4j.api
ChatHistory()
- Constructor for class org.llm4j.api.
ChatHistory
ChatHistory.Message
- Class in
org.llm4j.api
ChatRequestFactory
- Class in
org.llm4j.openai.request
ChatRequestFactory()
- Constructor for class org.llm4j.openai.request.
ChatRequestFactory
CohereApp
- Class in
org.llm4j.examples
CohereApp()
- Constructor for class org.llm4j.examples.
CohereApp
CohereLanguageModel
- Class in
org.llm4j.cohere
CohereLanguageModel.Builder
- Class in
org.llm4j.cohere
CohereServiceProvider
- Class in
org.llm4j.cohere
CohereServiceProvider()
- Constructor for class org.llm4j.cohere.
CohereServiceProvider
D
DEFAULT_EMBEDDING_MODEL
- Static variable in class org.llm4j.huggingface.
HFConfig
DEFAULT_TEXT_MODEL
- Static variable in class org.llm4j.huggingface.
HFConfig
DEFAULT_TIMEOUT_MILLIS
- Static variable in class org.llm4j.huggingface.
HFConfig
DEFAULT_TIMEOUT_MILLIS
- Static variable in class org.llm4j.openai.
OpenAIConfig
E
embed(String)
- Method in interface org.llm4j.api.
LanguageModel
embed(String)
- Method in class org.llm4j.cohere.
CohereLanguageModel
embed(String)
- Method in class org.llm4j.huggingface.
HFLanguageModel
embed(EmbeddingRequest)
- Method in class org.llm4j.openai.
OpenAIClient
embed(String)
- Method in class org.llm4j.openai.
OpenAILanguageModel
embed(EmbedTextRequest)
- Method in class org.llm4j.palm.
PaLMClient
embed(String)
- Method in class org.llm4j.palm.
PaLMLanguageModel
EMBED_MODEL_ID
- Static variable in class org.llm4j.palm.
PaLMConfig
embedAsync(EmbeddingRequest, TaskCallback<EmbeddingResponse>)
- Method in class org.llm4j.openai.
OpenAIClient
EmbeddingRequestFactory
- Class in
org.llm4j.openai.request
EmbeddingRequestFactory()
- Constructor for class org.llm4j.openai.request.
EmbeddingRequestFactory
EmbedRequestFactory
- Class in
org.llm4j.palm.request
EmbedRequestFactory()
- Constructor for class org.llm4j.palm.request.
EmbedRequestFactory
F
FREQUENCY_PENALTY
- Static variable in class org.llm4j.openai.
OpenAIConfig
FREQUENCY_PENALTY_DEFAULT
- Static variable in class org.llm4j.openai.
OpenAIConfig
frequencyPenalty
- Variable in class org.llm4j.openai.request.
RequestFactory
G
generate(CompletionRequest)
- Method in class org.llm4j.openai.
OpenAIClient
generate(ChatCompletionRequest)
- Method in class org.llm4j.openai.
OpenAIClient
generate(GenerateTextRequest)
- Method in class org.llm4j.palm.
PaLMClient
generateAsync(CompletionRequest, TaskCallback<CompletionResponse>)
- Method in class org.llm4j.openai.
OpenAIClient
generateAsync(ChatCompletionRequest, TaskCallback<ChatCompletionResponse>)
- Method in class org.llm4j.openai.
OpenAIClient
generateStream(CompletionRequest, StreamingCallback<CompletionResponse>)
- Method in class org.llm4j.openai.
OpenAIClient
generateStream(ChatCompletionRequest, StreamingCallback<ChatCompletionResponse>)
- Method in class org.llm4j.openai.
OpenAIClient
getApiKey()
- Method in class org.llm4j.openai.
OpenAIConfig
getAuthor()
- Method in class org.llm4j.api.
ChatHistory.Message
getCandidateCount()
- Method in class org.llm4j.palm.
PaLMConfig
getChatModelId()
- Method in class org.llm4j.palm.
PaLMConfig
getContent()
- Method in class org.llm4j.api.
ChatHistory.Message
getContext()
- Method in class org.llm4j.api.
ChatHistory
getEmbedModelId()
- Method in class org.llm4j.palm.
PaLMConfig
getExampleList()
- Method in class org.llm4j.api.
ChatHistory
getFrequencyPenalty()
- Method in class org.llm4j.openai.
OpenAIConfig
getGeneratedText()
- Method in class org.llm4j.huggingface.request.
TextGenerationResponse
getLanguageModel(Configuration)
- Method in interface org.llm4j.api.
LanguageModelFactory
getLanguageModel(Configuration)
- Static method in class org.llm4j.api.
LLM4J
getLanguageModel(Configuration, LanguageModelFactory)
- Static method in class org.llm4j.api.
LLM4J
getLanguageModel(Configuration)
- Method in class org.llm4j.cohere.
CohereLanguageModel.Builder
getLanguageModel(Configuration)
- Method in class org.llm4j.huggingface.
HFLanguageModel.Builder
getLanguageModel(Configuration)
- Method in class org.llm4j.openai.
OpenAILanguageModel.Builder
getLanguageModel(Configuration)
- Method in class org.llm4j.palm.
PaLMLanguageModel.Builder
getLanguageModelFactory()
- Static method in class org.llm4j.api.
LLM4J
getLLMFactory()
- Method in class org.llm4j.cohere.
CohereServiceProvider
getLLMFactory()
- Method in class org.llm4j.huggingface.
HFServiceProvider
getLLMFactory()
- Method in class org.llm4j.openai.
OpenAIServiceProvider
getLLMFactory()
- Method in class org.llm4j.palm.
PaLMServiceProvider
getLLMFactory()
- Method in interface org.llm4j.spi.
LLM4JServiceProvider
getMaxNewTokens()
- Method in class org.llm4j.palm.
PaLMConfig
getMaxOutputTokens()
- Method in class org.llm4j.palm.
PaLMConfig
getMaxTokens()
- Method in class org.llm4j.openai.
OpenAIConfig
getMessageList()
- Method in class org.llm4j.api.
ChatHistory
getModelId()
- Method in class org.llm4j.openai.
OpenAIConfig
getPresencePenalty()
- Method in class org.llm4j.openai.
OpenAIConfig
getProxy()
- Method in class org.llm4j.openai.
OpenAIConfig
getProxyIp()
- Method in class org.llm4j.openai.
OpenAIConfig
getProxyPort()
- Method in class org.llm4j.openai.
OpenAIConfig
getTemperature()
- Method in class org.llm4j.openai.
OpenAIConfig
getTemperature()
- Method in class org.llm4j.palm.
PaLMConfig
getTextModelId()
- Method in class org.llm4j.palm.
PaLMConfig
getTimeout()
- Method in class org.llm4j.openai.
OpenAIConfig
getTopK()
- Method in class org.llm4j.palm.
PaLMConfig
getTopP()
- Method in class org.llm4j.openai.
OpenAIConfig
getTopP()
- Method in class org.llm4j.palm.
PaLMConfig
getUrl()
- Method in class org.llm4j.openai.
OpenAIConfig
H
hasProxy()
- Method in class org.llm4j.openai.
OpenAIConfig
HFApiAuthorizationInterceptor
- Class in
org.llm4j.huggingface
HFApiFactory
- Class in
org.llm4j.huggingface
HFApiFactory()
- Constructor for class org.llm4j.huggingface.
HFApiFactory
HFApp
- Class in
org.llm4j.examples
HFApp()
- Constructor for class org.llm4j.examples.
HFApp
HFConfig
- Class in
org.llm4j.huggingface
HFConfig()
- Constructor for class org.llm4j.huggingface.
HFConfig
HFLanguageModel
- Class in
org.llm4j.huggingface
HFLanguageModel(HFLanguageModel.Builder)
- Constructor for class org.llm4j.huggingface.
HFLanguageModel
HFLanguageModel.Builder
- Class in
org.llm4j.huggingface
HFRequestOptions
- Class in
org.llm4j.huggingface.request
HFRequestOptions(HFRequestOptions.Builder)
- Constructor for class org.llm4j.huggingface.request.
HFRequestOptions
HFRequestOptions.Builder
- Class in
org.llm4j.huggingface.request
HFRequestParameters
- Class in
org.llm4j.huggingface.request
HFRequestParameters(HFRequestParameters.Builder)
- Constructor for class org.llm4j.huggingface.request.
HFRequestParameters
HFRequestParameters.Builder
- Class in
org.llm4j.huggingface.request
HFServiceProvider
- Class in
org.llm4j.huggingface
HFServiceProvider()
- Constructor for class org.llm4j.huggingface.
HFServiceProvider
I
intercept(Interceptor.Chain)
- Method in class org.llm4j.huggingface.
HFApiAuthorizationInterceptor
L
LanguageModel
- Interface in
org.llm4j.api
LanguageModelFactory
- Interface in
org.llm4j.api
LLM4J
- Class in
org.llm4j.api
LLM4JServiceProvider
- Interface in
org.llm4j.spi
LLMApp
- Class in
org.llm4j.examples
LLMApp()
- Constructor for class org.llm4j.examples.
LLMApp
M
main(String[])
- Static method in class org.llm4j.examples.
CohereApp
main(String[])
- Static method in class org.llm4j.examples.
HFApp
main(String[])
- Static method in class org.llm4j.examples.
LLMApp
main(String[])
- Static method in class org.llm4j.examples.
PaLMApp
MAX_TOKENS
- Static variable in class org.llm4j.openai.
OpenAIConfig
MAX_TOKENS_DEFAULT
- Static variable in class org.llm4j.openai.
OpenAIConfig
maxTokens
- Variable in class org.llm4j.openai.request.
RequestFactory
Message(String, String)
- Constructor for class org.llm4j.api.
ChatHistory.Message
Message(String)
- Constructor for class org.llm4j.api.
ChatHistory.Message
MessageRequestFactory
- Class in
org.llm4j.palm.request
MessageRequestFactory()
- Constructor for class org.llm4j.palm.request.
MessageRequestFactory
MODEL_ID
- Static variable in class org.llm4j.huggingface.
HFConfig
MODEL_ID
- Static variable in class org.llm4j.openai.
OpenAIConfig
MODEL_ID_DEFAULT
- Static variable in class org.llm4j.openai.
OpenAIConfig
MODEL_ID_KEY
- Static variable in class org.llm4j.palm.
PaLMConfig
modelId
- Variable in class org.llm4j.openai.request.
RequestFactory
moderate(ModerationRequest)
- Method in class org.llm4j.openai.
OpenAIClient
moderate(String)
- Method in class org.llm4j.openai.
OpenAILanguageModel
moderate(List<String>)
- Method in class org.llm4j.openai.
OpenAILanguageModel
moderateAsync(ModerationRequest, TaskCallback<ModerationResponse>)
- Method in class org.llm4j.openai.
OpenAIClient
ModerationRequestFactory
- Class in
org.llm4j.openai.request
ModerationRequestFactory()
- Constructor for class org.llm4j.openai.request.
ModerationRequestFactory
O
onComplete()
- Method in interface org.llm4j.openai.request.
StreamingCallback
onFailure(Throwable)
- Method in interface org.llm4j.openai.request.
StreamingCallback
onFailure(Throwable)
- Method in interface org.llm4j.openai.request.
TaskCallback
onPart(S)
- Method in interface org.llm4j.openai.request.
StreamingCallback
onSuccess(T)
- Method in interface org.llm4j.openai.request.
TaskCallback
OpenAIClient
- Class in
org.llm4j.openai
OpenAIConfig
- Class in
org.llm4j.openai
OpenAIConfig(Configuration)
- Constructor for class org.llm4j.openai.
OpenAIConfig
OpenAILanguageModel
- Class in
org.llm4j.openai
OpenAILanguageModel.Builder
- Class in
org.llm4j.openai
OpenAIServiceProvider
- Class in
org.llm4j.openai
OpenAIServiceProvider()
- Constructor for class org.llm4j.openai.
OpenAIServiceProvider
org.llm4j.api
- package org.llm4j.api
org.llm4j.cohere
- package org.llm4j.cohere
org.llm4j.examples
- package org.llm4j.examples
org.llm4j.huggingface
- package org.llm4j.huggingface
org.llm4j.huggingface.request
- package org.llm4j.huggingface.request
org.llm4j.openai
- package org.llm4j.openai
org.llm4j.openai.request
- package org.llm4j.openai.request
org.llm4j.palm
- package org.llm4j.palm
org.llm4j.palm.request
- package org.llm4j.palm.request
org.llm4j.spi
- package org.llm4j.spi
P
PaLMApp
- Class in
org.llm4j.examples
PaLMApp()
- Constructor for class org.llm4j.examples.
PaLMApp
PaLMClient
- Class in
org.llm4j.palm
PaLMConfig
- Class in
org.llm4j.palm
PaLMConfig(Configuration)
- Constructor for class org.llm4j.palm.
PaLMConfig
PaLMLanguageModel
- Class in
org.llm4j.palm
PaLMLanguageModel(PaLMLanguageModel.Builder)
- Constructor for class org.llm4j.palm.
PaLMLanguageModel
PaLMLanguageModel.Builder
- Class in
org.llm4j.palm
PaLMRequestParameters
- Class in
org.llm4j.palm.request
PaLMRequestParameters(PaLMRequestParameters.Builder)
- Constructor for class org.llm4j.palm.request.
PaLMRequestParameters
PaLMRequestParameters.Builder
- Class in
org.llm4j.palm.request
PaLMServiceProvider
- Class in
org.llm4j.palm
PaLMServiceProvider()
- Constructor for class org.llm4j.palm.
PaLMServiceProvider
PRESENCE_PENALTY
- Static variable in class org.llm4j.openai.
OpenAIConfig
PRESENCE_PENALTY_DEFAULT
- Static variable in class org.llm4j.openai.
OpenAIConfig
presencePenalty
- Variable in class org.llm4j.openai.request.
RequestFactory
process(String)
- Method in interface org.llm4j.api.
LanguageModel
process(ChatHistory)
- Method in interface org.llm4j.api.
LanguageModel
process(String)
- Method in class org.llm4j.cohere.
CohereLanguageModel
process(ChatHistory)
- Method in class org.llm4j.cohere.
CohereLanguageModel
process(String)
- Method in class org.llm4j.huggingface.
HFLanguageModel
process(ChatHistory)
- Method in class org.llm4j.huggingface.
HFLanguageModel
process(String)
- Method in class org.llm4j.openai.
OpenAILanguageModel
process(ChatHistory)
- Method in class org.llm4j.openai.
OpenAILanguageModel
process(String)
- Method in class org.llm4j.palm.
PaLMLanguageModel
process(ChatHistory)
- Method in class org.llm4j.palm.
PaLMLanguageModel
PromptTemplate
- Class in
org.llm4j.api
PromptTemplate()
- Constructor for class org.llm4j.api.
PromptTemplate
PROXY_IP
- Static variable in class org.llm4j.openai.
OpenAIConfig
PROXY_PORT
- Static variable in class org.llm4j.openai.
OpenAIConfig
PROXY_TYPE
- Static variable in class org.llm4j.openai.
OpenAIConfig
R
render()
- Method in class org.llm4j.api.
PromptTemplate
RequestFactory
<
T
> - Class in
org.llm4j.openai.request
RequestFactory()
- Constructor for class org.llm4j.openai.request.
RequestFactory
S
setContext(String)
- Method in class org.llm4j.api.
ChatHistory
StreamingCallback
<
S
> - Interface in
org.llm4j.openai.request
T
TaskCallback
<
T
> - Interface in
org.llm4j.openai.request
TEMPERATURE
- Static variable in class org.llm4j.openai.
OpenAIConfig
temperature
- Variable in class org.llm4j.openai.request.
RequestFactory
TEMPERATURE_DEFAULT
- Static variable in class org.llm4j.openai.
OpenAIConfig
TEXT_MODEL_ID
- Static variable in class org.llm4j.palm.
PaLMConfig
TextEmbeddingRequest
- Class in
org.llm4j.huggingface.request
TextEmbeddingRequest(TextEmbeddingRequest.Builder)
- Constructor for class org.llm4j.huggingface.request.
TextEmbeddingRequest
TextEmbeddingRequest.Builder
- Class in
org.llm4j.huggingface.request
TextGenerationRequest
- Class in
org.llm4j.huggingface.request
TextGenerationRequest.Builder
- Class in
org.llm4j.huggingface.request
TextGenerationResponse
- Class in
org.llm4j.huggingface.request
TextGenerationResponse(String)
- Constructor for class org.llm4j.huggingface.request.
TextGenerationResponse
TextRequestFactory
- Class in
org.llm4j.openai.request
TextRequestFactory()
- Constructor for class org.llm4j.openai.request.
TextRequestFactory
TextRequestFactory
- Class in
org.llm4j.palm.request
TextRequestFactory()
- Constructor for class org.llm4j.palm.request.
TextRequestFactory
TIMEOUT
- Static variable in class org.llm4j.huggingface.
HFConfig
TIMEOUT
- Static variable in class org.llm4j.openai.
OpenAIConfig
TOP_P
- Static variable in class org.llm4j.openai.
OpenAIConfig
TOP_P_DEFAULT
- Static variable in class org.llm4j.openai.
OpenAIConfig
topP
- Variable in class org.llm4j.openai.request.
RequestFactory
toString()
- Method in class org.llm4j.api.
ChatHistory.Message
U
USE_CAHE
- Static variable in class org.llm4j.huggingface.
HFConfig
W
WIAT_FOR_MODEL
- Static variable in class org.llm4j.huggingface.
HFConfig
withChat(ChatHistory)
- Method in class org.llm4j.openai.request.
ChatRequestFactory
withConfig(Configuration)
- Method in class org.llm4j.huggingface.request.
HFRequestOptions.Builder
withConfig(Configuration)
- Method in class org.llm4j.huggingface.request.
HFRequestParameters.Builder
withConfig(Configuration)
- Method in class org.llm4j.huggingface.request.
TextEmbeddingRequest.Builder
withConfig(Configuration)
- Method in class org.llm4j.huggingface.request.
TextGenerationRequest.Builder
withConfig(OpenAIConfig)
- Method in class org.llm4j.openai.request.
RequestFactory
withConfig(PaLMConfig)
- Method in class org.llm4j.palm.request.
EmbedRequestFactory
withConfig(PaLMConfig)
- Method in class org.llm4j.palm.request.
MessageRequestFactory
withConfig(PaLMConfig)
- Method in class org.llm4j.palm.request.
PaLMRequestParameters.Builder
withConfig(PaLMConfig)
- Method in class org.llm4j.palm.request.
TextRequestFactory
withContext(String)
- Method in class org.llm4j.palm.request.
MessageRequestFactory
withExample(String, String)
- Method in class org.llm4j.palm.request.
MessageRequestFactory
withFile(String)
- Method in class org.llm4j.api.
PromptTemplate
withInput(String)
- Method in class org.llm4j.openai.request.
ModerationRequestFactory
withInputs(List<String>)
- Method in class org.llm4j.huggingface.request.
TextEmbeddingRequest.Builder
withInputs(String)
- Method in class org.llm4j.huggingface.request.
TextGenerationRequest.Builder
withInputs(List<String>)
- Method in class org.llm4j.openai.request.
ModerationRequestFactory
withInputs(String)
- Method in class org.llm4j.palm.request.
TextRequestFactory
withMessage(String)
- Method in class org.llm4j.palm.request.
MessageRequestFactory
withMessage(String, String)
- Method in class org.llm4j.palm.request.
MessageRequestFactory
withOptions(HFRequestOptions)
- Method in class org.llm4j.huggingface.request.
TextEmbeddingRequest.Builder
withOptions(HFRequestOptions)
- Method in class org.llm4j.huggingface.request.
TextGenerationRequest.Builder
withParam(String, Object)
- Method in class org.llm4j.api.
PromptTemplate
withParameters(HFRequestParameters)
- Method in class org.llm4j.huggingface.request.
TextGenerationRequest.Builder
withText(String)
- Method in class org.llm4j.openai.request.
EmbeddingRequestFactory
withText(String)
- Method in class org.llm4j.openai.request.
TextRequestFactory
withText(String)
- Method in class org.llm4j.palm.request.
EmbedRequestFactory
withUser(String)
- Method in class org.llm4j.openai.request.
EmbeddingRequestFactory
A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
W
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2023. All rights reserved.