Documentation ¶
Index ¶
- func Dial(ctx context.Context, target string, opts Options) (_ *grpc.ClientConn, err error)
- func NewClientForLanguageModeling(target string, opts Options) languagemodeling.Interface
- func NewClientForQuestionAnswering(target string, opts Options) questionanswering.Interface
- func NewClientForTextClassification(target string, opts Options) textclassification.Interface
- func NewClientForTextEncoding(target string, opts Options) textencoding.Interface
- func NewClientForTextGeneration(target string, opts Options) textgeneration.Interface
- func NewClientForTokenClassification(target string, opts Options) tokenclassification.Interface
- func NewClientForZeroShotClassification(target string, opts Options) zeroshotclassifier.Interface
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
Dial creates a client connection to the configured target, also respecting the given configuration.
This function blocks until the underlying connection is up, within a timeout of 30 seconds.
func NewClientForLanguageModeling ¶ added in v0.1.2
func NewClientForLanguageModeling(target string, opts Options) languagemodeling.Interface
NewClientForLanguageModeling creates a new client for language modeling.
func NewClientForQuestionAnswering ¶
func NewClientForQuestionAnswering(target string, opts Options) questionanswering.Interface
NewClientForQuestionAnswering creates a new client for extractive question-answering.
func NewClientForTextClassification ¶
func NewClientForTextClassification(target string, opts Options) textclassification.Interface
NewClientForTextClassification creates a new client for text classification.
func NewClientForTextEncoding ¶
func NewClientForTextEncoding(target string, opts Options) textencoding.Interface
NewClientForTextEncoding creates a new client for text classification.
func NewClientForTextGeneration ¶
func NewClientForTextGeneration(target string, opts Options) textgeneration.Interface
NewClientForTextGeneration creates a new client for text generation.
func NewClientForTokenClassification ¶
func NewClientForTokenClassification(target string, opts Options) tokenclassification.Interface
NewClientForTokenClassification creates a new client for token classification.
func NewClientForZeroShotClassification ¶
func NewClientForZeroShotClassification(target string, opts Options) zeroshotclassifier.Interface
NewClientForZeroShotClassification creates a new client for zero-shot text classification.