Home > @yext/search-core > BaseFieldValueDirectAnswer
A direct answer where the answer came from a field from the knowledge graph.
Signature:
export interface BaseFieldValueDirectAnswer<T = unknown> extends DirectAnswer<T>
Extends: DirectAnswer<T>
Property | Type | Description |
---|---|---|
entityName | string | The name of the entity that direct answer came from. |
fieldApiName | string | The field api name of the direct answer. |
fieldName | string | The field name of the direct answer. |
type | DirectAnswerType.FieldValue | Indicates that the DirectAnswer is a FieldValueDirectAnswer. |
value | T | The result of the direct answer. |