Crate aristech_nlp_client

Source
Expand description

§Aristech NLP-Client

This is a client library for the Aristech NLP-Server.

Modules§

nlp_service
The nlp_server module contains types and functions generated from the Aristech NLP proto file.

Structs§

Auth
The Auth struct holds the token and secret needed to authenticate with the server.
AuthInterceptor
The AuthInterceptor struct is used to intercept requests to the server and add the authentication headers.
TlsOptions
The TlsOptions struct holds the tls options needed to communicate with the server.

Functions§

get_client
Creates a new NlpClient to communicate with the server.
get_content
Gets the content for the given request.
get_intents
Gets the intents available on the server.
get_score_limits
Gets the score limits for the given input.
list_functions
Gets the functions available on the server.
list_projects
Gets the projects available on the server.
remove_content
Removes the content for the given request.
run_functions
Processes the given text with the specified function pipeline.
update_content
Updates the content for the given request.

Type Aliases§

NlpClient
The NlpClient type is a type alias for the NlpServiceClient with the AuthInterceptor.