Index

A C D E F G H I M O P R S T U V 
All Classes and Interfaces|All Packages

A

assistant - Enum constant in enum class org.nasdanika.ai.Chat.Role
 

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 chunkSize record 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

developer - Enum constant in enum class org.nasdanika.ai.Chat.Role
 

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

function - Enum constant in enum class org.nasdanika.ai.Chat.Role
 

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 model record component.
model() - Method in record class org.nasdanika.ai.Embeddings.Requirement
Returns the value of the model record 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 overlap record component.

P

provider() - Method in record class org.nasdanika.ai.Chat.Requirement
Returns the value of the provider record component.
provider() - Method in record class org.nasdanika.ai.Embeddings.Requirement
Returns the value of the provider record component.

R

Requirement(String, String, String) - Constructor for record class org.nasdanika.ai.Chat.Requirement
Creates an instance of a Requirement record class.
Requirement(String, String, String, int, int) - Constructor for record class org.nasdanika.ai.Embeddings.Requirement
Creates an instance of a Requirement record class.

S

system - Enum constant in enum class org.nasdanika.ai.Chat.Role
 

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

user - Enum constant in enum class org.nasdanika.ai.Chat.Role
 

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 version record component.
version() - Method in record class org.nasdanika.ai.Embeddings.Requirement
Returns the value of the version record component.
A C D E F G H I M O P R S T U V 
All Classes and Interfaces|All Packages