All Implemented Interfaces:

public class RelationsOptions
Recognizes when two entities are related and identifies the type of relation. For example, an `awardedTo` relation might connect the entities "Nobel Prize" and "Albert Einstein". For more information, see [Relation types](

Supported languages: Arabic, English, German, Japanese, Korean, Spanish. Chinese, Dutch, French, Italian, and Portuguese custom models are also supported.

  • Method Details

    • newBuilder

      public RelationsOptions.Builder newBuilder()
      New builder.
      a RelationsOptions builder
    • model

      public String model()
      Gets the model.

      Enter a [custom model]( ID to override the default model.

      the model