ChromeAISession
Defined in: wrapper/src/chrome-ai.ts:30
Methods
Section titled “Methods”clone()
Section titled “clone()”clone():
ChromeAISession
Defined in: wrapper/src/chrome-ai.ts:34
Returns
Section titled “Returns”ChromeAISession
destroy()
Section titled “destroy()”destroy():
void
Defined in: wrapper/src/chrome-ai.ts:33
Returns
Section titled “Returns”void
prompt()
Section titled “prompt()”prompt(
input):Promise<string>
Defined in: wrapper/src/chrome-ai.ts:31
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<string>
promptStreaming()
Section titled “promptStreaming()”promptStreaming(
input):ReadableStream<string>
Defined in: wrapper/src/chrome-ai.ts:32
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”ReadableStream<string>