The following article lists .NET SDK data collection clients, along with their constructors, methods, and some sample code.
RECOMMENDATION: We recommend using InteractionClient to report sentences, metadata (both subject and object), and mappings to Insight since version 1.1.5 of the .NET SDK.
InteractionClient
The example below demonstrates how to report a sentence, subject, and object metadata, and a mapping with single interaction to the website data source. Note that the client does not require you to authenticate:
You can also send multiple interactions, for example, metadata and mapping without explicit feature (predicate and object) action specified in them:
IMPORTANT: The Sentence client API is included in the latest versions of SDK for backwards compatibility only. We recommend replacing the sentence client with the new InteractionClient.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important