-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added typeguard function for verticalResults
- Loading branch information
1 parent
9554b3e
commit 9874ad6
Showing
10 changed files
with
77 additions
and
24 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
docs/search-headless.generativedirectanswerstate.isloading.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-headless](./search-headless.md) > [GenerativeDirectAnswerState](./search-headless.generativedirectanswerstate.md) > [isLoading](./search-headless.generativedirectanswerstate.isloading.md) | ||
|
||
## GenerativeDirectAnswerState.isLoading property | ||
|
||
Whether the AI generated answer is currently loading or has finished loading. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
isLoading?: boolean; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-headless](./search-headless.md) > [GenerativeDirectAnswerState](./search-headless.generativedirectanswerstate.md) | ||
|
||
## GenerativeDirectAnswerState interface | ||
|
||
Maintains the data for the latest generative direct answer. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface GenerativeDirectAnswerState | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [isLoading?](./search-headless.generativedirectanswerstate.isloading.md) | boolean | <i>(Optional)</i> Whether the AI generated answer is currently loading or has finished loading. | | ||
| [response?](./search-headless.generativedirectanswerstate.response.md) | [GenerativeDirectAnswerResponse](./search-headless.generativedirectanswerresponse.md) | <i>(Optional)</i> The generative direct answer response. | | ||
|
13 changes: 13 additions & 0 deletions
13
docs/search-headless.generativedirectanswerstate.response.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [@yext/search-headless](./search-headless.md) > [GenerativeDirectAnswerState](./search-headless.generativedirectanswerstate.md) > [response](./search-headless.generativedirectanswerstate.response.md) | ||
|
||
## GenerativeDirectAnswerState.response property | ||
|
||
The generative direct answer response. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
response?: GenerativeDirectAnswerResponse; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters