testExaJs
Script
v34
Fork
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import
Exa
from
"npm:exa-js"
;
const
exa
=
new
Exa
(
"10dd9c98-7872-4023-ae89-ad6e86e1d76a"
)
;
const
result
=
await
exa
.
getContents
(
[
"tesla.com"
]
,
{
text
:
{
maxCharacters
:
100000
,
}
,
highlights
:
true
,
}
,
)
;
console
.
log
(
result
)
;