v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.14
LangChain.js
langchain-community/experimental/llms/chrome_ai
AITextSession
Interface AITextSession
interface
AITextSession
{
clone
(
)
:
AITextSession
;
destroy
(
)
:
void
;
prompt
(
input
:
string
)
:
Promise
<
string
>
;
promptStreaming
(
input
:
string
)
:
ReadableStream
<
any
>
;
}
Index
Methods
clone
destroy
prompt
prompt
Streaming
Methods
clone
clone
(
)
:
AITextSession
Returns
AITextSession
destroy
destroy
(
)
:
void
Returns
void
prompt
prompt
(
input
)
:
Promise
<
string
>
Parameters
input
:
string
Returns
Promise
<
string
>
prompt
Streaming
prompt
Streaming
(
input
)
:
ReadableStream
<
any
>
Parameters
input
:
string
Returns
ReadableStream
<
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
clone
destroy
prompt
prompt
Streaming
LangChain.js - v0.2.14
Loading...