UNPKG
genpower
Version:
latest (1.1.0)
1.1.0
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
Unified TypeScript library to generate, validate, and structure AI model outputs
genpower
/
dist
/
types
/
engine
/
google.d.ts
9 lines
(8 loc)
•
299 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
GeminiModelLabel
}
from
"../consts"
;
import
{
LLMEngine
}
from
"./base"
;
export
declare
class
GoogleGeminiEngine
implements
LLMEngine
{
private
apiKey;
private
apiCode;
constructor
(
apiKey
:
string
,
modelLabel
?:
GeminiModelLabel
);
generate
(
prompt
:
string
):
Promise
<
string
>; }