Module org.nasdanika.ai
Package org.nasdanika.ai
package org.nasdanika.ai
-
ClassDescriptionSplits input by whitespace, lowercases and then computes frequency of each wordCachingEmbeddingGenerator<S,
E, K> Caches image embeddings in a map which can be loaded and saved between runs Uses image digest as caching keyCaches image embeddings in a map which can be loaded and saved between runs Uses image digest as caching keyCaches text embeddings in a map which can be loaded and saved between runs Uses text digest as caching keyChat requirement.Model coordinates (identifier)EmbeddingGenerator<S,E> Generates an embedding from source.EmbeddingGeneratorrequirement.EmbeddingModel<S,E> Converts image to text (String).MapCachingEmbeddingGenerator<S,E, K> Caches image embeddings in a map which can be loaded and saved between runs Uses image digest as caching keyBase interface for interfaces to work with (large language) models.Narrator<S>Converts source to text (String).SearchResult<D extends Comparable<D>>SimilarityComputer<T,S> Computes pair-wise similaritySimilaritySearch<T,D extends Comparable<D>> Vector index itemIndex id - item URI and embedding vector index for URIs with multiple vectors/chunks.A simple implementation which treats a character as a token.TextFloatVectorEmbeddingModel "business" interface focusing on ease of use and leaving token usage reporting to implementations.A collection of strings pre-computed embeddings, e.g. web site contents.A pre-computed embeddings