Package ai.vespa.llm
Class InferenceParameters
java.lang.Object
ai.vespa.llm.InferenceParameters
Parameters for inference to language models. Parameters are typically
supplied from searchers or processors and comes from query strings,
headers, or other sources. Which parameters are available depends on
the language model used.
author lesters
-
Constructor Summary
ConstructorsConstructorDescriptionInferenceParameters(String apiKey, Function<String, String> options) InferenceParameters(Function<String, String> options) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidsetEndpoint(String endpoint) withDefaultOptions(Function<String, String> defaultOptions)
-
Constructor Details
-
InferenceParameters
-
InferenceParameters
-
InferenceParameters
-
-
Method Details
-
setApiKey
-
getApiKey
-
setEndpoint
-
getEndpoint
-
get
-
getDouble
-
getInt
-
ifPresent
-
withDefaultOptions
-