package
0.3.1
Repository: https://github.com/machinebox/sdk-go.git
Documentation: pkg.go.dev

# Functions

FeatureImageBase64 makes a Feature that is a base64 encoded image.
FeatureImageURL makes a Feature that points to a hosted image.
FeatureKeyword makes a textual Feature that will not be tokenized.
FeatureList makes a Feature made up of multiple keywords.
FeatureNumber makes a numerical Feature.
FeatureText makes a textual Feature that will be tokenized.
New makes a new Client for the box at the specified address.
NewChoice creates a new Choice.
NewModel makes a new Model.

# Constants

ModelModes are used in ModelOptions to specify which mode to use.
ModelModes are used in ModelOptions to specify which mode to use.

# Structs

Choice is an option with features.
Client is an HTTP client that can make requests to the box.
Feature represents a single feature, to describe an input or a choice.
Model represents a single model inside Suggestionbox.
ModelOptions describes the behaviours of a Model.
ModelStats are the statistics for a Model.
Prediction is a predicted choice.
PredictRequest contains information about the prediction that Suggestionbox will make.
PredictResponse contains prediction choices.
Reward is used to inform Suggestionbox of a successful prediction.