Hiyve Components - v1.0.0
Preparing search index...
@hiyve/react-intelligence
useIntelligence
Function useIntelligence
useIntelligence
(
userId
:
string
,
)
:
{
clearError
:
()
=>
void
;
enhanceNote
:
(
text
:
string
,
options
?:
Omit
<
EnhanceOptions
,
"userId"
>
,
)
=>
Promise
<
string
|
null
>
;
error
:
Error
|
null
;
getActionItems
:
(
transcript
:
string
,
options
?:
Omit
<
ActionItemsOptions
,
"userId"
>
,
)
=>
Promise
<
CloudActionItem
[]
|
null
>
;
getSummary
:
(
transcript
:
string
,
options
?:
Omit
<
SummaryOptions
,
"userId"
>
,
)
=>
Promise
<
string
|
null
>
;
loading
:
boolean
;
query
:
(
queryText
:
string
,
options
?:
Omit
<
QueryOptions
,
"userId"
>
,
)
=>
Promise
<
AIResponse
|
null
>
;
}
Hook for AI intelligence operations
Parameters
userId
:
string
User ID for request validation and usage tracking (required)
Returns
{
clearError
:
()
=>
void
;
enhanceNote
:
(
text
:
string
,
options
?:
Omit
<
EnhanceOptions
,
"userId"
>
,
)
=>
Promise
<
string
|
null
>
;
error
:
Error
|
null
;
getActionItems
:
(
transcript
:
string
,
options
?:
Omit
<
ActionItemsOptions
,
"userId"
>
,
)
=>
Promise
<
CloudActionItem
[]
|
null
>
;
getSummary
:
(
transcript
:
string
,
options
?:
Omit
<
SummaryOptions
,
"userId"
>
,
)
=>
Promise
<
string
|
null
>
;
loading
:
boolean
;
query
:
(
queryText
:
string
,
options
?:
Omit
<
QueryOptions
,
"userId"
>
,
)
=>
Promise
<
AIResponse
|
null
>
;
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Hiyve Components - v1.0.0
Loading...
Hook for AI intelligence operations