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.ResponseMessage - Interface in org.nasdanika.ai
- Chat.Role - Enum Class in org.nasdanika.ai
- 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.
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
- 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
I
- isTooLong(String) - Method in interface org.nasdanika.ai.Embeddings
M
- 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
S
T
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.
All Classes and Interfaces|All Packages