Documentation
Table of Contents

Class SpecialistContextItem

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

One piece of context sent with a SpecialistRequest, so the specialist service knows where and how the intent is used. Set the parts that apply: text, JSON content, a reference, a hash and string properties are all optional. Every part takes part in the request hash.

public sealed class SpecialistContextItem
Inheritance
object
SpecialistContextItem
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

SpecialistContextItem()

Creates an empty item of kind Other; set Name at least.

Properties

Content

The item as JSON, or null.

Hash

A hash of the item's content as its source computed it, for a service that already holds the content. Null for none.

Kind

What the item describes. Default Other.

Name

A short name for the item, such as a file name or a table name. Required.

Properties

Further facts about the item as names and values, such as a language or a version.

Reference

Where the item can be found instead of, or as well as, its content: a path, an address or an id. Null for none.

Text

The item as text, or null.