Index

A B C D E F G H I L M N O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values

A

ai.vespa.models.evaluation - package ai.vespa.models.evaluation
 
ai.vespa.models.handler - package ai.vespa.models.handler
 
API_ROOT - Static variable in class ai.vespa.models.handler.ModelsEvaluationHandler
 
arguments() - Method in class ai.vespa.models.evaluation.LazyArrayContext
Returns the (immutable) subset of names in this which must be bound when invoking

B

bind(String, double) - Method in class ai.vespa.models.evaluation.FunctionEvaluator
Binds the given variable referred in this expression to the given value.
bind(String, Tensor) - Method in class ai.vespa.models.evaluation.FunctionEvaluator
Binds the given variable referred in this expression to the given value.
bind(String, String) - Method in class ai.vespa.models.evaluation.FunctionEvaluator
Binds the given variable referred in this expression to the given value.

C

close() - Method in class ai.vespa.models.evaluation.Model
 
context() - Method in class ai.vespa.models.evaluation.FunctionEvaluator
 

D

deconstruct() - Method in class ai.vespa.models.evaluation.ModelsEvaluator
 
defaultValue() - Method in class ai.vespa.models.evaluation.LazyArrayContext
Returns the value which should be used when no value is set

E

evaluate() - Method in class ai.vespa.models.evaluation.FunctionEvaluator
 
EVALUATE - Static variable in class ai.vespa.models.handler.ModelsEvaluationHandler
 
evaluatorOf(String...) - Method in class ai.vespa.models.evaluation.Model
Returns an evaluator which can be used to evaluate the given function in a single thread once.
evaluatorOf(String, String...) - Method in class ai.vespa.models.evaluation.ModelsEvaluator
Returns a function which can be used to evaluate the given function in the given model

F

function() - Method in class ai.vespa.models.evaluation.FunctionEvaluator
Returns the function evaluated by this
FunctionEvaluator - Class in ai.vespa.models.evaluation
An evaluator which can be used to evaluate a single function once.
functions() - Method in class ai.vespa.models.evaluation.Model
Returns an immutable list of the free, public functions of this.

G

get(int) - Method in class ai.vespa.models.evaluation.LazyArrayContext
Perform a fast lookup by index
get(String) - Method in class ai.vespa.models.evaluation.LazyArrayContext
Perform a slow lookup by name
getDouble(int) - Method in class ai.vespa.models.evaluation.LazyArrayContext
 
getIndex(String) - Method in class ai.vespa.models.evaluation.LazyArrayContext
 
getType(Reference) - Method in class ai.vespa.models.evaluation.LazyArrayContext
 

H

handle(HttpRequest) - Method in class ai.vespa.models.handler.ModelsEvaluationHandler
 

I

importFrom(RankProfilesConfig, RankingConstantsConfig, RankingExpressionsConfig, OnnxModelsConfig) - Method in class ai.vespa.models.evaluation.RankProfilesConfigImporter
Returns a map of the models contained in this config, indexed on name.

L

LazyArrayContext - Class in ai.vespa.models.evaluation
An array context supporting functions invocations implemented as lazy values.

M

Model - Class in ai.vespa.models.evaluation
A named collection of functions
Model(String, Collection<ExpressionFunction>) - Constructor for class ai.vespa.models.evaluation.Model
Programmatically create a model containing functions without constant of function references only
models() - Method in class ai.vespa.models.evaluation.ModelsEvaluator
Returns the models of this as an immutable map
ModelsEvaluationHandler - Class in ai.vespa.models.handler
 
ModelsEvaluationHandler(ModelsEvaluator, Executor) - Constructor for class ai.vespa.models.handler.ModelsEvaluationHandler
 
ModelsEvaluationHandler(ComponentRegistry<ModelsEvaluator>, Executor) - Constructor for class ai.vespa.models.handler.ModelsEvaluationHandler
 
ModelsEvaluator - Class in ai.vespa.models.evaluation
Evaluates machine-learned models added to Vespa applications and available as config form.
ModelsEvaluator(RankProfilesConfigImporter, RankProfilesConfig, RankingConstantsConfig, RankingExpressionsConfig, OnnxModelsConfig) - Constructor for class ai.vespa.models.evaluation.ModelsEvaluator
 
ModelsEvaluator(RankProfilesConfig, RankingConstantsConfig, RankingExpressionsConfig, OnnxModelsConfig, FileAcquirer) - Constructor for class ai.vespa.models.evaluation.ModelsEvaluator
 
ModelsEvaluator(RankProfilesConfig, RankingConstantsConfig, RankingExpressionsConfig, OnnxModelsConfig, FileAcquirer, OnnxRuntime) - Constructor for class ai.vespa.models.evaluation.ModelsEvaluator
 
ModelsEvaluator(Map<String, Model>) - Constructor for class ai.vespa.models.evaluation.ModelsEvaluator
 

N

name() - Method in class ai.vespa.models.evaluation.Model
 
names() - Method in class ai.vespa.models.evaluation.LazyArrayContext
 

O

onnxModels() - Method in class ai.vespa.models.evaluation.LazyArrayContext
Returns the set of ONNX models that need to be evaluated on this context

P

put(int, double) - Method in class ai.vespa.models.evaluation.LazyArrayContext
Same as put(index,DoubleValue.frozen(value))
put(int, Value) - Method in class ai.vespa.models.evaluation.LazyArrayContext
Puts a value by index.
put(String, Value) - Method in class ai.vespa.models.evaluation.LazyArrayContext
Puts a value by name.

R

RankProfilesConfigImporter - Class in ai.vespa.models.evaluation
Converts RankProfilesConfig instances to RankingExpressions for evaluation.
RankProfilesConfigImporter(FileAcquirer, OnnxRuntime) - Constructor for class ai.vespa.models.evaluation.RankProfilesConfigImporter
 
readExpressionFromFile(File) - Method in class ai.vespa.models.evaluation.RankProfilesConfigImporter
 
readExpressionFromFile(String, FileReference) - Method in class ai.vespa.models.evaluation.RankProfilesConfigImporter
 
readTensorFromFile(String, TensorType, FileReference) - Method in class ai.vespa.models.evaluation.RankProfilesConfigImporter
 
requireModel(String) - Method in class ai.vespa.models.evaluation.ModelsEvaluator
Returns the given model, or throws a IllegalArgumentException if it does not exist
resolveBinding(String) - Method in class ai.vespa.models.evaluation.LazyArrayContext
 

S

setMissingValue(double) - Method in class ai.vespa.models.evaluation.FunctionEvaluator
Sets the default value to use for variables which are not bound
setMissingValue(Tensor) - Method in class ai.vespa.models.evaluation.FunctionEvaluator
Sets the default value to use for variables which are not bound
setMissingValue(Tensor) - Method in class ai.vespa.models.evaluation.LazyArrayContext
Sets the value to use for lookups to existing values which are not set in this context.
size() - Method in class ai.vespa.models.evaluation.LazyArrayContext
 

T

toString() - Method in class ai.vespa.models.evaluation.Model
 

V

VERSION_V1 - Static variable in class ai.vespa.models.handler.ModelsEvaluationHandler
 
A B C D E F G H I L M N O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values