AIChatBuilder |
AIChatBuilder.assistantMsg(String text) |
Adds an assistant message to the chat.
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.assistantMsg(String text) |
We assume the "put it into the mouth of the AI" pattern is used.
|
AIChatBuilder |
OpenAIChatBuilderImpl.assistantMsg(String text) |
|
AIChatBuilder |
AIChatBuilder.key(String key) |
Sets the API key for the chat completion request.
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.key(String key) |
|
AIChatBuilder |
OpenAIChatBuilderImpl.key(String key) |
|
AIChatBuilder |
AIChatBuilder.maxTokens(int maxTokens) |
Sets the maximum number of tokens the completion can use.
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.maxTokens(int maxTokens) |
|
AIChatBuilder |
OpenAIChatBuilderImpl.maxTokens(int maxTokens) |
|
AIChatBuilder |
AIChatBuilder.model(String model) |
Sets the AI model to be used for the chat completion.
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.model(String model) |
|
AIChatBuilder |
OpenAIChatBuilderImpl.model(String model) |
|
AIChatBuilder |
AIChatBuilder.organizationId(String organizationId) |
Sets the organization ID for the chat completion request - if applicable (OpenAI).
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.organizationId(String organizationId) |
|
AIChatBuilder |
OpenAIChatBuilderImpl.organizationId(String organizationId) |
|
AIChatBuilder |
AIChatBuilder.systemMsg(String text) |
Adds a system message to the chat.
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.systemMsg(String text) |
|
AIChatBuilder |
OpenAIChatBuilderImpl.systemMsg(String text) |
|
AIChatBuilder |
AIChatBuilder.systemMsgAsFirstUserMsg() |
Put the system message as a first user message instead.
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.systemMsgAsFirstUserMsg() |
|
AIChatBuilder |
OpenAIChatBuilderImpl.systemMsgAsFirstUserMsg() |
|
AIChatBuilder |
AIChatBuilder.url(String url) |
Sets the URL for the chat completion request.
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.url(String url) |
|
AIChatBuilder |
OpenAIChatBuilderImpl.url(String url) |
|
AIChatBuilder |
AIChatBuilder.userMsg(String text) |
Adds a user message to the chat.
|
AIChatBuilder |
CopyPseudoAIChatBuilderImpl.userMsg(String text) |
|
AIChatBuilder |
OpenAIChatBuilderImpl.userMsg(String text) |
|