Index
All Classes and Interfaces|All Packages
A
C
- chat(List<Chat.Message>) - Method in interface org.nasdanika.ai.Chat
- chat(Chat.Message...) - Method in interface org.nasdanika.ai.Chat
- Chat - Interface in org.nasdanika.ai
- Chat.Message - Interface in org.nasdanika.ai
- Chat.Requirement - Record Class in org.nasdanika.ai
-
Chat requirement.
- Chat.ResponseMessage - Interface in org.nasdanika.ai
- Chat.Role - Enum Class in org.nasdanika.ai
- chatAsync(List<Chat.Message>) - Method in interface org.nasdanika.ai.Chat
- chatAsync(Chat.Message...) - Method in interface org.nasdanika.ai.Chat
- chunkSize() - Method in record class org.nasdanika.ai.Embeddings.Requirement
-
Returns the value of the
chunkSizerecord component. - create(String, String) - Static method in interface org.nasdanika.ai.Chat.Message
- createMessage(String) - Method in enum class org.nasdanika.ai.Chat.Role
D
E
- Embeddings - Interface in org.nasdanika.ai
-
Embeddings "business" interface focusing on ease of use and leaving token usage reporting to implementations.
- Embeddings.Requirement - Record Class in org.nasdanika.ai
-
Embeddings requirement.
- equals(Object) - Method in record class org.nasdanika.ai.Chat.Requirement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.nasdanika.ai.Embeddings.Requirement
-
Indicates whether some other object is "equal to" this one.
F
G
- generate(String) - Method in interface org.nasdanika.ai.Embeddings
-
Generates embeddings for a single string
- generate(List<String>) - Method in interface org.nasdanika.ai.Embeddings
-
Batch generation
- generateAsync(String) - Method in interface org.nasdanika.ai.Embeddings
-
Asynchronously generates embeddings for a single string
- generateAsync(List<String>) - Method in interface org.nasdanika.ai.Embeddings
-
Asynchronous batch generation
- getContent() - Method in interface org.nasdanika.ai.Chat.Message
- getDimensions() - Method in interface org.nasdanika.ai.Embeddings
- getFinishReason() - Method in interface org.nasdanika.ai.Chat.ResponseMessage
- getMaxInputTokens() - Method in interface org.nasdanika.ai.Model
- getMaxOutputTokens() - Method in interface org.nasdanika.ai.Chat
- getName() - Method in interface org.nasdanika.ai.Model
-
Model name
- getProvider() - Method in interface org.nasdanika.ai.Model
-
Provider name - OpenAI, Ollama, ...
- getRefusal() - Method in interface org.nasdanika.ai.Chat.ResponseMessage
- getRole() - Method in interface org.nasdanika.ai.Chat.Message
- getVersion() - Method in interface org.nasdanika.ai.Model
H
- hashCode() - Method in record class org.nasdanika.ai.Chat.Requirement
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.nasdanika.ai.Embeddings.Requirement
-
Returns a hash code value for this object.
I
- isTooLong(String) - Method in interface org.nasdanika.ai.Embeddings
M
- model() - Method in record class org.nasdanika.ai.Chat.Requirement
-
Returns the value of the
modelrecord component. - model() - Method in record class org.nasdanika.ai.Embeddings.Requirement
-
Returns the value of the
modelrecord component. - Model - Interface in org.nasdanika.ai
-
Base interface for interfaces to work with (large language) models.
O
- org.nasdanika.ai - module org.nasdanika.ai
- org.nasdanika.ai - package org.nasdanika.ai
- overlap() - Method in record class org.nasdanika.ai.Embeddings.Requirement
-
Returns the value of the
overlaprecord component.
P
- provider() - Method in record class org.nasdanika.ai.Chat.Requirement
-
Returns the value of the
providerrecord component. - provider() - Method in record class org.nasdanika.ai.Embeddings.Requirement
-
Returns the value of the
providerrecord component.
R
- Requirement(String, String, String) - Constructor for record class org.nasdanika.ai.Chat.Requirement
-
Creates an instance of a
Requirementrecord class. - Requirement(String, String, String, int, int) - Constructor for record class org.nasdanika.ai.Embeddings.Requirement
-
Creates an instance of a
Requirementrecord class.
S
T
- tool - Enum constant in enum class org.nasdanika.ai.Chat.Role
- toString() - Method in record class org.nasdanika.ai.Chat.Requirement
-
Returns a string representation of this record class.
- toString() - Method in record class org.nasdanika.ai.Embeddings.Requirement
-
Returns a string representation of this record class.
U
V
- valueOf(String) - Static method in enum class org.nasdanika.ai.Chat.Role
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.nasdanika.ai.Chat.Role
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version() - Method in record class org.nasdanika.ai.Chat.Requirement
-
Returns the value of the
versionrecord component. - version() - Method in record class org.nasdanika.ai.Embeddings.Requirement
-
Returns the value of the
versionrecord component.
All Classes and Interfaces|All Packages