@conciergus/chat - v0.3.1
Preparing search index...
components
useIntelligentModelSelection
Function useIntelligentModelSelection
useIntelligentModelSelection
()
:
{
analyzeAndSelectModel
:
(
query
:
string
,
requirements
?:
{
capabilities
?:
any
[]
;
costTier
?:
"low"
|
"medium"
|
"high"
;
provider
?:
string
;
}
,
)
=>
{
recommendedModel
:
string
;
complexity
:
{
score
:
number
;
factors
:
{
length
:
number
;
reasoning
:
boolean
;
multiStep
:
boolean
;
technical
:
boolean
;
}
;
}
;
alternativeModels
:
string
[]
;
}
;
}
Hook for intelligent model selection based on query analysis
Returns
{
analyzeAndSelectModel
:
(
query
:
string
,
requirements
?:
{
capabilities
?:
any
[]
;
costTier
?:
"low"
|
"medium"
|
"high"
;
provider
?:
string
;
}
,
)
=>
{
recommendedModel
:
string
;
complexity
:
{
score
:
number
;
factors
:
{
length
:
number
;
reasoning
:
boolean
;
multiStep
:
boolean
;
technical
:
boolean
;
}
;
}
;
alternativeModels
:
string
[]
;
}
;
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@conciergus/chat - v0.3.1
Loading...
Hook for intelligent model selection based on query analysis