UNPKG
pulse-ai-utils
Version:
latest (3.45.20)
3.45.20
3.45.18
3.45.17
3.45.16
3.45.15
3.45.14
3.45.13
3.45.12
3.45.11
3.45.10
3.45.9
3.45.7
3.45.6
3.45.5
3.45.4
3.45.3
3.45.2
3.45.1
3.45.0
3.44.22
3.44.21
3.44.20
3.44.19
3.44.18
3.44.17
3.44.16
3.44.15
3.44.14
3.44.13
3.44.11
3.44.9
3.44.7
3.44.6
3.44.5
3.44.3
3.44.2
3.44.1
3.42.50
3.42.48
3.42.47
3.42.45
3.42.44
3.42.43
3.42.41
3.42.39
3.42.38
3.42.37
3.42.35
3.42.33
3.42.31
3.42.30
3.42.29
3.42.28
3.42.27
3.42.26
3.42.25
3.42.24
3.42.23
3.42.22
3.42.20
3.42.19
3.42.18
3.42.16
3.42.15
3.42.14
3.42.13
3.42.12
3.42.11
3.42.9
3.42.7
3.42.5
3.42.4
3.42.2
3.42.0
3.40.41
3.40.39
3.40.37
3.40.36
3.40.34
3.40.33
3.40.32
3.40.30
3.40.29
3.40.28
3.40.27
3.40.26
3.40.25
3.40.24
3.40.23
3.40.22
3.40.21
3.40.20
3.40.19
3.40.18
3.40.17
3.40.16
3.40.15
3.40.14
3.40.13
3.40.12
3.40.11
3.40.10
3.40.8
3.40.7
3.40.5
3.40.4
3.40.1
3.39.16
3.39.14
3.39.13
3.39.12
3.39.11
3.39.10
3.39.9
3.39.8
3.39.7
3.39.6
3.39.5
3.39.4
3.39.3
3.39.2
3.39.1
3.39.0
3.38.6
3.38.5
3.38.4
3.38.3
3.38.2
3.38.1
3.38.0
3.37.0
3.36.0
3.35.0
3.34.0
3.33.0
3.32.3
3.32.2
3.30.4
3.30.3
3.30.2
3.30.1
3.30.0
3.28.0
3.26.0
3.25.1
Utility functions and helpers for AI-powered applications
github.com/anandroid/pulse
anandroid/pulse
pulse-ai-utils
/
handlers
/
llm-query.d.ts
8 lines
(7 loc)
•
267 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Request
,
Response
}
from
'express'
;
import
{
LLMBase
}
from
'../helpers/llm-base'
;
export
default
class
LLMQueryHandler
{
llmHelper
:
LLMBase
;
constructor
(
apiKey
?:
string
,
llmHelper
?:
LLMBase
);
query
(
req
:
Request
,
res
?:
Response
):
Promise
<
any
>; }