Index
All Classes and Interfaces|All Packages
A
- addMessage(ChatGPTMessage) - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Add input message.
- addMessage(ChatGPTMessage) - Method in class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Add the chat message.
- addUserMessage(String) - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Add input message for your prompt.
- addUserMessage(String) - Method in class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Add input message for your prompt.
- assistant - Enum constant in enum com.intellijava.core.model.input.ChatGPTMessage.Role
-
assistant role defines the chatbot response.
- AudioHelper - Class in com.intellijava.core.utils
-
AudioHelper is a class to process and test the generated audio from speech synthesis models.
- AudioHelper() - Constructor for class com.intellijava.core.utils.AudioHelper
-
Default AudioHelper constructor.
- AudioResponse - Class in com.intellijava.core.model
-
AudioResponse represents the response from the speech API that contains the audio content.
- AudioResponse() - Constructor for class com.intellijava.core.model.AudioResponse
-
Default AudioResponse constructor.
B
- BaseRemoteModel - Class in com.intellijava.core.model
-
BaseRemoteModel is an abstract class that represents a common model with a basic parameter, id.
- BaseRemoteModel() - Constructor for class com.intellijava.core.model.BaseRemoteModel
-
BaseRemoteModel default constructor.
- build() - Method in class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Build the final ChatGPTInput object.
- build() - Method in class com.intellijava.core.model.input.ImageModelInput.Builder
-
Build the final ImageModelInput object.
- build() - Method in class com.intellijava.core.model.input.LanguageModelInput.Builder
-
Build the final LanguageModelInput object.
- build() - Method in class com.intellijava.core.model.input.Text2SpeechInput.Builder
-
Build a new instance of SpeechInput with the values set in the Builder.
- Builder(ChatGPTMessage) - Constructor for class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Builder for ChatGPTInput with the system or chatbot instructions.
- Builder(String) - Constructor for class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Builder for ChatGPTInput with the system or chatbot instructions.
- Builder(String) - Constructor for class com.intellijava.core.model.input.ImageModelInput.Builder
-
Image input Constructor.
- Builder(String) - Constructor for class com.intellijava.core.model.input.LanguageModelInput.Builder
-
Language input Constructor.
- Builder(String) - Constructor for class com.intellijava.core.model.input.Text2SpeechInput.Builder
-
Constructor that creates a new Builder object with the provided text.
C
- chat(ChatModelInput) - Method in class com.intellijava.core.function.Chatbot
-
Call a chat model to generate response based on the received messages history.
- Chatbot - Class in com.intellijava.core.function
-
Chatbot controller for most sophisticated AI chatbots.
- Chatbot(String, SupportedChatModels) - Constructor for class com.intellijava.core.function.Chatbot
-
Constructor for the Chatbot class.
- Chatbot(String, String) - Constructor for class com.intellijava.core.function.Chatbot
-
Constructor for the Chatbot class.
- ChatGPTInput - Class in com.intellijava.core.model.input
-
ChatGPTInput contains a list of messages to continue the conversation with the chatbot.
- ChatGPTInput(ChatGPTMessage) - Constructor for class com.intellijava.core.model.input.ChatGPTInput
-
Create ChatGPT input object with the system instruction.
- ChatGPTInput(String) - Constructor for class com.intellijava.core.model.input.ChatGPTInput
-
Create ChatGPT input object with the system instruction.
- ChatGPTInput.Builder - Class in com.intellijava.core.model.input
-
Builder class for ChatGPTInput.
- ChatGPTMessage - Class in com.intellijava.core.model.input
-
ChatGPTMessage represent a message element for the chat.
- ChatGPTMessage() - Constructor for class com.intellijava.core.model.input.ChatGPTMessage
-
ChatGPTMessage default constructor.
- ChatGPTMessage(String, ChatGPTMessage.Role) - Constructor for class com.intellijava.core.model.input.ChatGPTMessage
-
Initiate ChatGPTMessage with the mandatory parameters.
- ChatGPTMessage.Role - Enum in com.intellijava.core.model.input
-
Chat input roles.
- ChatMessage - Class in com.intellijava.core.model.input
-
ChatInput represents an input element for chatbots.
- ChatMessage() - Constructor for class com.intellijava.core.model.input.ChatMessage
-
ChatMessage default constructor.
- ChatModelInput - Class in com.intellijava.core.model.input
-
ChatModelInput abstract for any chat model input to inherit.
- ChatModelInput() - Constructor for class com.intellijava.core.model.input.ChatModelInput
-
ChatModelInput abstract constructor
- Choice() - Constructor for class com.intellijava.core.model.OpenaiChatResponse.Choice
-
Choice default constructor.
- Choice() - Constructor for class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Choice default constructor.
- cleanMessages() - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Remove all messages except the system message.
- cohere - Enum constant in enum com.intellijava.core.model.SupportedLangModels
-
cohere model
- CohereAIWrapper - Class in com.intellijava.core.wrappers
-
Wrapper for the Cohere API models.
- CohereAIWrapper(String) - Constructor for class com.intellijava.core.wrappers.CohereAIWrapper
-
CohereAIWrapper constructor with the API key
- CohereLanguageResponse - Class in com.intellijava.core.model
-
CohereTextResponse is a model class used to parse the response from the Cohere text API.
- CohereLanguageResponse() - Constructor for class com.intellijava.core.model.CohereLanguageResponse
-
CohereLanguageResponse default constructor.
- CohereLanguageResponse.Generation - Class in com.intellijava.core.model
-
Generation is wrapper for the response
- com.intellijava.core.controller - package com.intellijava.core.controller
- com.intellijava.core.function - package com.intellijava.core.function
- com.intellijava.core.model - package com.intellijava.core.model
- com.intellijava.core.model.input - package com.intellijava.core.model.input
- com.intellijava.core.utils - package com.intellijava.core.utils
- com.intellijava.core.wrappers - package com.intellijava.core.wrappers
- Config2 - Class in com.intellijava.core.utils
-
Config2 is a class that reads the configuration properties from a "config.properties" file.
- ConnHelper - Class in com.intellijava.core.utils
-
ConnHelper is a class that contains common helper functions to call remote services.
- ConnHelper() - Constructor for class com.intellijava.core.utils.ConnHelper
-
ConnHelper default constructor.
- convertMaptToJson(Map<String, Object>) - Static method in class com.intellijava.core.utils.ConnHelper
-
Convert a map of string key and object value to Json string.
- convertSteamToModel(InputStream, Class<T>) - Static method in class com.intellijava.core.utils.ConnHelper
-
Convert API input stream to the relevant class model.
D
- Data() - Constructor for class com.intellijava.core.model.OpenaiImageResponse.Data
-
Data default constructor.
- decode(String) - Static method in class com.intellijava.core.utils.AudioHelper
-
decode base64 audio string and convert to audio byte array.
- deleteLastMessage(ChatGPTMessage) - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Delete last added message with the same message.getContent() and message.getRole().
- deleteTempAudio() - Static method in class com.intellijava.core.utils.AudioHelper
-
clean the temporary audio files.
F
- FEMALE - Enum constant in enum com.intellijava.core.model.input.Text2SpeechInput.Gender
-
female voice
G
- generateArabicText(Text2SpeechInput) - Method in class com.intellijava.core.controller.RemoteSpeechModel
-
Generates speech using advanced audio models.
- generateChatText(Map<String, Object>) - Method in class com.intellijava.core.wrappers.OpenAIWrapper
-
Generate text from remote large language model based on the chat history.
- generateEnglishText(Text2SpeechInput) - Method in class com.intellijava.core.controller.RemoteSpeechModel
-
Generates speech using advanced audio models.
- generateGermanText(Text2SpeechInput) - Method in class com.intellijava.core.controller.RemoteSpeechModel
-
Generates speech using advanced audio models.
- generateImages(ImageModelInput) - Method in class com.intellijava.core.controller.RemoteImageModel
-
Generates images from a given text description.
- generateImages(Map<String, Object>) - Method in interface com.intellijava.core.wrappers.ImageModelInterface
-
Generate image from remote model.
- generateImages(Map<String, Object>) - Method in class com.intellijava.core.wrappers.OpenAIWrapper
-
Generate image from openai image model.
- generateMandarinText(Text2SpeechInput) - Method in class com.intellijava.core.controller.RemoteSpeechModel
-
Generates speech using advanced audio models.
- generateMultiText(LanguageModelInput) - Method in class com.intellijava.core.controller.RemoteLanguageModel
-
Call a remote large model to generate any text based on the received prompt.
- generateSpeech(Map<String, Object>) - Method in class com.intellijava.core.wrappers.GoogleAIWrapper
-
Generates speech from text using the Google speech service.
- generateSpeech(Map<String, Object>) - Method in interface com.intellijava.core.wrappers.SpeechModelInterface
-
Generate speech from text.
- generateText(LanguageModelInput) - Method in class com.intellijava.core.controller.RemoteLanguageModel
-
Call a remote large model to generate any text based on the received prompt.
- generateText(Text2SpeechInput, String) - Method in class com.intellijava.core.controller.RemoteSpeechModel
-
Generates speech using advanced audio models.
- generateText(Map<String, Object>) - Method in class com.intellijava.core.wrappers.CohereAIWrapper
-
Generate text from remote large language model based on the received prompt.
- generateText(Map<String, Object>) - Method in interface com.intellijava.core.wrappers.LanguageModelInterface
-
Generate text from remote large language model based on the received prompt.
- generateText(Map<String, Object>) - Method in class com.intellijava.core.wrappers.OpenAIWrapper
-
Generate text from remote large language model based on the received prompt.
- generateTurkishText(Text2SpeechInput) - Method in class com.intellijava.core.controller.RemoteSpeechModel
-
Generates speech using advanced audio models.
- Generation() - Constructor for class com.intellijava.core.model.CohereLanguageResponse.Generation
-
Generation default constructor.
- getAudioContent() - Method in class com.intellijava.core.model.AudioResponse
-
Gets the audio content generated from a text.
- getChoices() - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Gets the choices property
- getChoices() - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Gets the choices property
- getCompletion_tokens() - Method in class com.intellijava.core.model.OpenaiChatResponse.Usage
-
Gets the completion_tokens property
- getCompletion_tokens() - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Usage
-
Gets the completion_tokens property
- getContent() - Method in class com.intellijava.core.model.input.ChatMessage
-
Gets the text content.
- getContent() - Method in class com.intellijava.core.model.OpenaiChatResponse.Message
-
Gets the content of the message.
- getCreated() - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Gets the timestamp for the API response.
- getCreated() - Method in class com.intellijava.core.model.OpenaiImageResponse
-
Get the timestamp when the response was created
- getCreated() - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Gets the timestamp for the API response.
- getData() - Method in class com.intellijava.core.model.OpenaiImageResponse
-
Get the list of data objects contained in the API response
- getErrorMessage(HttpURLConnection) - Static method in class com.intellijava.core.utils.ConnHelper
-
Get the error message from an HttpURLConnection.
- getFinish_reason() - Method in class com.intellijava.core.model.OpenaiChatResponse.Choice
-
Gets the reason to end the message for validating missing response reasons.
- getFinish_reason() - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Gets the finish_reason property of the choice object
- getGender() - Method in class com.intellijava.core.model.input.Text2SpeechInput
-
Getter for the speech gender.
- getGenerations() - Method in class com.intellijava.core.model.CohereLanguageResponse
-
Get the list of generated texts.
- getId() - Method in class com.intellijava.core.model.BaseRemoteModel
-
Get the id of the model
- getId() - Method in class com.intellijava.core.model.CohereLanguageResponse.Generation
-
Get the unique identifier for the generation.
- getImageSize() - Method in class com.intellijava.core.model.input.ImageModelInput
-
Getter for imageSize.
- getIndex() - Method in class com.intellijava.core.model.OpenaiChatResponse.Choice
-
Gets the index property of the choice object
- getIndex() - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Gets the index property of the choice object
- getInstance() - Static method in class com.intellijava.core.utils.Config2
-
Get the singleton instance of the Config2 class.
- getLogprobs() - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Gets the logprobs property of the choice object
- getMaxTokens() - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Gets the maxTokens.
- getMaxTokens() - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Gets the maxTokens.
- getMessage() - Method in class com.intellijava.core.model.OpenaiChatResponse.Choice
-
Gets the model message.
- getMessages() - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Gets all messages.
- getModel() - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Gets the model.
- getModel() - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Gets the model.
- getModel() - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Gets the name of the language model
- getModel() - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Gets the name of the language model
- getNumberOfImages() - Method in class com.intellijava.core.model.input.ImageModelInput
-
Getter for numberOfImages.
- getNumberOfOutputs() - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Gets the number of model outputs.
- getNumberOfOutputs() - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Gets the number of model outputs.
- getObject() - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Gets the object type of the API response.
- getObject() - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Gets the object type of the API response.
- getPrompt() - Method in class com.intellijava.core.model.CohereLanguageResponse
-
Get the user prompt.
- getPrompt() - Method in class com.intellijava.core.model.input.ImageModelInput
-
Getter for prompt the text of the required action or the question.
- getPrompt() - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Gets the prompt.
- getPrompt_tokens() - Method in class com.intellijava.core.model.OpenaiChatResponse.Usage
-
Gets the prompt_tokens property
- getPrompt_tokens() - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Usage
-
Gets the prompt_tokens property
- getProperty(String) - Method in class com.intellijava.core.utils.Config2
-
Get a property value by key.
- getRole() - Method in class com.intellijava.core.model.input.ChatGPTMessage
-
get the input role.
- getRole() - Method in class com.intellijava.core.model.OpenaiChatResponse.Message
-
Gets the role of the sender of the message.
- getSupportedModels() - Method in class com.intellijava.core.controller.RemoteImageModel
-
Get the supported models names as array of string
- getSupportedModels() - Method in class com.intellijava.core.controller.RemoteLanguageModel
-
Get the supported models names as array of string
- getSupportedModels() - Method in class com.intellijava.core.controller.RemoteSpeechModel
-
Get a list of supported key type models.
- getSupportedModels() - Method in class com.intellijava.core.function.Chatbot
-
Get the supported models names as array of string
- getTemperature() - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Gets the temperature of the ChatGPTInput object.
- getTemperature() - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Gets the temperature.
- getText() - Method in class com.intellijava.core.model.CohereLanguageResponse.Generation
-
Get the model generated text.
- getText() - Method in class com.intellijava.core.model.input.Text2SpeechInput
-
Getter for speech text.
- getText() - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Gets the text property of the choice object
- getTotal_tokens() - Method in class com.intellijava.core.model.OpenaiChatResponse.Usage
-
Gets the total_tokens property
- getTotal_tokens() - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Usage
-
Gets the total_tokens property
- getUrl() - Method in class com.intellijava.core.model.OpenaiImageResponse.Data
-
Gets the URL of the image
- getUsage() - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Gets the usage statistics for generating the API response.
- getUsage() - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Gets the usage statistics for generating the API response.
- google - Enum constant in enum com.intellijava.core.model.SpeechModels
-
google model
- GoogleAIWrapper - Class in com.intellijava.core.wrappers
-
Wrapper for Google speech services.
- GoogleAIWrapper(String) - Constructor for class com.intellijava.core.wrappers.GoogleAIWrapper
-
Constructs a new GoogleAIWrapper object with the API key.
I
- ImageModelInput - Class in com.intellijava.core.model.input
-
ImageModelInput handle the input parameters for the majority of the remote image models.
- ImageModelInput(String, int, String) - Constructor for class com.intellijava.core.model.input.ImageModelInput
-
ImageModelInput default constructor.
- ImageModelInput.Builder - Class in com.intellijava.core.model.input
-
Builder class for ImageModelInput
- ImageModelInterface - Interface in com.intellijava.core.wrappers
-
ImageModelInterface represent the standard methods for any model that generate images.
- isLog - Static variable in class com.intellijava.core.utils.AudioHelper
-
global AudioHelper variable to print the logs.
- isSystemRol() - Method in class com.intellijava.core.model.input.ChatGPTMessage
-
Validate the current message role is system.
L
- LanguageModelInput - Class in com.intellijava.core.model.input
-
LanguageModelInput handle the input parameters for the majority of the remote language models.
- LanguageModelInput(String, String, float, int, int) - Constructor for class com.intellijava.core.model.input.LanguageModelInput
-
LanguageModelInput default constructor.
- LanguageModelInput.Builder - Class in com.intellijava.core.model.input
-
Builder class for LanguageModelInput.
- LanguageModelInterface - Interface in com.intellijava.core.wrappers
-
ImageModelInterface represent the standard methods for any model that generate text.
M
- MALE - Enum constant in enum com.intellijava.core.model.input.Text2SpeechInput.Gender
-
male voice
- Message() - Constructor for class com.intellijava.core.model.OpenaiChatResponse.Message
-
Message default constructor.
O
- openai - Enum constant in enum com.intellijava.core.model.SupportedChatModels
-
openai model
- openai - Enum constant in enum com.intellijava.core.model.SupportedImageModels
-
openai model
- openai - Enum constant in enum com.intellijava.core.model.SupportedLangModels
-
openai model
- OpenaiChatResponse - Class in com.intellijava.core.model
-
OpenaiChatResponse is a model class used to parse the response from the OpenAI ChatGPT API.
- OpenaiChatResponse() - Constructor for class com.intellijava.core.model.OpenaiChatResponse
-
OpenaiChatResponse default constructor.
- OpenaiChatResponse.Choice - Class in com.intellijava.core.model
-
A nested class for the API response's choice represents the model output.
- OpenaiChatResponse.Message - Class in com.intellijava.core.model
-
Message represents a message exchanged in a chat session.
- OpenaiChatResponse.Usage - Class in com.intellijava.core.model
-
Usage is a nested class that represents a Usage object returned in the API response.
- OpenaiImageResponse - Class in com.intellijava.core.model
-
OpenaiImageResponse is a model class used to parse the response from the OpenAI image API.
- OpenaiImageResponse() - Constructor for class com.intellijava.core.model.OpenaiImageResponse
-
OpenaiImageResponse default constructor.
- OpenaiImageResponse.Data - Class in com.intellijava.core.model
-
A nested class that represents an image object returned in the API response.
- OpenaiLanguageResponse - Class in com.intellijava.core.model
-
OpenaiLanguageResponse is a model class used to parse the response from the OpenAI language API.
- OpenaiLanguageResponse() - Constructor for class com.intellijava.core.model.OpenaiLanguageResponse
-
OpenaiLanguageResponse default constructor.
- OpenaiLanguageResponse.Choice - Class in com.intellijava.core.model
-
A nested class for the API response's choice represents the model output.
- OpenaiLanguageResponse.Usage - Class in com.intellijava.core.model
-
Usage is a nested class that represents a Usage object returned in the API response.
- OpenAIWrapper - Class in com.intellijava.core.wrappers
-
OpenAIWrapper is a wrapper for the OpenAI API, providing a simplified interface for interacting with the API.
- OpenAIWrapper(String) - Constructor for class com.intellijava.core.wrappers.OpenAIWrapper
-
OpenAIWrapper constructor with the API key
R
- readStream(InputStream) - Static method in class com.intellijava.core.utils.ConnHelper
-
Read an input stream and return its contents as a string.
- RemoteImageModel - Class in com.intellijava.core.controller
-
The RemoteImageModel class is used to generate images from text descriptions using an API key.
- RemoteImageModel(String, SupportedImageModels) - Constructor for class com.intellijava.core.controller.RemoteImageModel
-
Constructor for creating a new RemoteImageModel object.
- RemoteImageModel(String, String) - Constructor for class com.intellijava.core.controller.RemoteImageModel
-
Constructor for creating a new RemoteImageModel object.
- RemoteLanguageModel - Class in com.intellijava.core.controller
-
RemoteLanguageModel class to call the most sophisticated remote language models.
- RemoteLanguageModel(String, SupportedLangModels) - Constructor for class com.intellijava.core.controller.RemoteLanguageModel
-
Constructor for the RemoteLanguageModel class.
- RemoteLanguageModel(String, String) - Constructor for class com.intellijava.core.controller.RemoteLanguageModel
-
Constructor for the RemoteLanguageModel class.
- RemoteSpeechModel - Class in com.intellijava.core.controller
-
RemoteSpeechModel class provides a remote speech model implementation.
- RemoteSpeechModel(String, SpeechModels) - Constructor for class com.intellijava.core.controller.RemoteSpeechModel
-
Constructs a new RemoteSpeechModel object with the specified key value and key type.
- RemoteSpeechModel(String, String) - Constructor for class com.intellijava.core.controller.RemoteSpeechModel
-
Constructs a new RemoteSpeechModel object with the specified key value and key type string.
S
- saveTempAudio(byte[]) - Static method in class com.intellijava.core.utils.AudioHelper
-
save temporary audio files.
- setAssistantRol() - Method in class com.intellijava.core.model.input.ChatGPTMessage
-
Sets the role for the model message.
- setAudioContent(String) - Method in class com.intellijava.core.model.AudioResponse
-
Sets the audio content generated from a text.
- setChoices(List<OpenaiChatResponse.Choice>) - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Sets the choices property
- setChoices(List<OpenaiLanguageResponse.Choice>) - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Sets the choices property
- setCompletion_tokens(int) - Method in class com.intellijava.core.model.OpenaiChatResponse.Usage
-
Sets the completion_tokens property
- setCompletion_tokens(int) - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Usage
-
Sets the completion_tokens property
- setContent(String) - Method in class com.intellijava.core.model.input.ChatMessage
-
Sets the text content.
- setContent(String) - Method in class com.intellijava.core.model.OpenaiChatResponse.Message
-
Sets the content of the message.
- setCreated(long) - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Set the timestamp for the API response.
- setCreated(long) - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Sets the timestamp for the API response.
- setFinish_reason(String) - Method in class com.intellijava.core.model.OpenaiChatResponse.Choice
-
Sets the reason to end the message text
- setFinish_reason(String) - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Sets the finish_reason property of the choice object
- setGender(Text2SpeechInput.Gender) - Method in class com.intellijava.core.model.input.Text2SpeechInput.Builder
-
Setter for the speech input gender.
- setGender(Text2SpeechInput.Gender) - Method in class com.intellijava.core.model.input.Text2SpeechInput
-
Setter for the speech gender.
- setGenerations(List<CohereLanguageResponse.Generation>) - Method in class com.intellijava.core.model.CohereLanguageResponse
-
Sets the list of generated texts.
- setId(String) - Method in class com.intellijava.core.model.BaseRemoteModel
-
Sets the id of the model
- setId(String) - Method in class com.intellijava.core.model.CohereLanguageResponse.Generation
-
Sets the unique identifier for the generation.
- setImageSize(String) - Method in class com.intellijava.core.model.input.ImageModelInput.Builder
-
Setter for imageSize
- setImageSize(String) - Method in class com.intellijava.core.model.input.ImageModelInput
-
Setter for imageSize.
- setIndex(int) - Method in class com.intellijava.core.model.OpenaiChatResponse.Choice
-
Sets the index property of the choice object
- setIndex(int) - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Sets the index property of the choice object
- setLogprobs(Object) - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Sets the logprobs property of the choice object
- setMaxTokens(int) - Method in class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Sets the maxTokens.
- setMaxTokens(int) - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Sets the maxTokens.
- setMaxTokens(int) - Method in class com.intellijava.core.model.input.LanguageModelInput.Builder
-
Sets the maxTokens.
- setMaxTokens(int) - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Sets the maxTokens.
- setMessage(OpenaiChatResponse.Message) - Method in class com.intellijava.core.model.OpenaiChatResponse.Choice
-
Sets the model message.
- setModel(String) - Method in class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Sets chatGPT model name, default is gpt-3.5-turbo.
- setModel(String) - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Sets the model.
- setModel(String) - Method in class com.intellijava.core.model.input.LanguageModelInput.Builder
-
Sets the model.
- setModel(String) - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Sets the model.
- setModel(String) - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Setsthe name of the language model
- setModel(String) - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Setsthe name of the language model
- setNumberOfImages(int) - Method in class com.intellijava.core.model.input.ImageModelInput.Builder
-
Setter for numberOfImages
- setNumberOfImages(int) - Method in class com.intellijava.core.model.input.ImageModelInput
-
Setter for numberOfImages.
- setNumberOfOutputs(int) - Method in class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Sets the numberOfOutputs
- setNumberOfOutputs(int) - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Sets the numberOfOutputs.
- setNumberOfOutputs(int) - Method in class com.intellijava.core.model.input.LanguageModelInput.Builder
-
Sets the numberOfOutputs
- setNumberOfOutputs(int) - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Sets the numberOfOutputs.
- setObject(String) - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Sets the object type of the API response.
- setObject(String) - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Sets the object type of the API response.
- setPrompt(String) - Method in class com.intellijava.core.model.CohereLanguageResponse
-
Sets the user prompt.
- setPrompt(String) - Method in class com.intellijava.core.model.input.ImageModelInput.Builder
-
Setter for prompt
- setPrompt(String) - Method in class com.intellijava.core.model.input.ImageModelInput
-
Setter for prompt.
- setPrompt(String) - Method in class com.intellijava.core.model.input.LanguageModelInput.Builder
-
Sets the prompt.
- setPrompt(String) - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Sets the prompt.
- setPrompt_tokens(int) - Method in class com.intellijava.core.model.OpenaiChatResponse.Usage
-
Sets the prompt_tokens property
- setPrompt_tokens(int) - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Usage
-
Sets the prompt_tokens property
- setRole(ChatGPTMessage.Role) - Method in class com.intellijava.core.model.input.ChatGPTMessage
-
set the input role.
- setRole(String) - Method in class com.intellijava.core.model.OpenaiChatResponse.Message
-
Sets the role of the sender of the message.
- setSystemRol() - Method in class com.intellijava.core.model.input.ChatGPTMessage
-
Sets the role for chatGPT instructions.
- setTemperature(float) - Method in class com.intellijava.core.model.input.ChatGPTInput.Builder
-
Sets the temperature.
- setTemperature(float) - Method in class com.intellijava.core.model.input.ChatGPTInput
-
Sets the temperature.
- setTemperature(float) - Method in class com.intellijava.core.model.input.LanguageModelInput.Builder
-
Sets the temperature.
- setTemperature(float) - Method in class com.intellijava.core.model.input.LanguageModelInput
-
Sets the temperature.
- setText(String) - Method in class com.intellijava.core.model.CohereLanguageResponse.Generation
-
Sets the model generated text.
- setText(String) - Method in class com.intellijava.core.model.input.Text2SpeechInput.Builder
-
Setter for speech input text.
- setText(String) - Method in class com.intellijava.core.model.input.Text2SpeechInput
-
Setter for the speech text.
- setText(String) - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Choice
-
Sets the text property of the choice object
- setTotal_tokens(int) - Method in class com.intellijava.core.model.OpenaiChatResponse.Usage
-
Sets the total_tokens property
- setTotal_tokens(int) - Method in class com.intellijava.core.model.OpenaiLanguageResponse.Usage
-
Sets the total_tokens property
- setUsage(OpenaiChatResponse.Usage) - Method in class com.intellijava.core.model.OpenaiChatResponse
-
Set the usage statistics for generating the API response.
- setUsage(OpenaiLanguageResponse.Usage) - Method in class com.intellijava.core.model.OpenaiLanguageResponse
-
Sets the usage statistics for generating the API response.
- setUserRol() - Method in class com.intellijava.core.model.input.ChatGPTMessage
-
Sets the role for the user message.
- SpeechModelInterface - Interface in com.intellijava.core.wrappers
-
SpeechModelInterface represent the standard methods for any speech model.
- SpeechModels - Enum in com.intellijava.core.model
-
Supported speech models.
- SupportedChatModels - Enum in com.intellijava.core.model
-
Supported chat models.
- SupportedImageModels - Enum in com.intellijava.core.model
-
Supported Image Models.
- SupportedLangModels - Enum in com.intellijava.core.model
-
Supported language models.
- system - Enum constant in enum com.intellijava.core.model.input.ChatGPTMessage.Role
-
system role defines the chat mode or theme.
T
- Text2SpeechInput - Class in com.intellijava.core.model.input
-
SpeechTextInput class represents the speech input with the provided text and gender.
- Text2SpeechInput(String, Text2SpeechInput.Gender) - Constructor for class com.intellijava.core.model.input.Text2SpeechInput
-
Constructor to create a new SpeechInput object with provided text and gender.
- Text2SpeechInput.Builder - Class in com.intellijava.core.model.input
-
Builder class to create an instance of SpeechInput with optional fields.
- Text2SpeechInput.Gender - Enum in com.intellijava.core.model.input
-
Enum for the speech input gender.
U
- updateGlobalTempLocation(String) - Static method in class com.intellijava.core.utils.AudioHelper
-
update the global location to save temporary audio files.
- Usage() - Constructor for class com.intellijava.core.model.OpenaiChatResponse.Usage
-
Usage default constructor.
- Usage() - Constructor for class com.intellijava.core.model.OpenaiLanguageResponse.Usage
-
Usage default constructor.
- user - Enum constant in enum com.intellijava.core.model.input.ChatGPTMessage.Role
-
user role defines the end user message or query.
V
- valueOf(String) - Static method in enum com.intellijava.core.model.input.ChatGPTMessage.Role
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.intellijava.core.model.input.Text2SpeechInput.Gender
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.intellijava.core.model.SpeechModels
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.intellijava.core.model.SupportedChatModels
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.intellijava.core.model.SupportedImageModels
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.intellijava.core.model.SupportedLangModels
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.intellijava.core.model.input.ChatGPTMessage.Role
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.intellijava.core.model.input.Text2SpeechInput.Gender
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.intellijava.core.model.SpeechModels
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.intellijava.core.model.SupportedChatModels
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.intellijava.core.model.SupportedImageModels
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.intellijava.core.model.SupportedLangModels
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages