v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.8
LangChain.js
langchain-community/experimental/chat_models/chrome_ai/chat_models
AITextSession
Interface AITextSession
interface
AITextSession
{
clone
(
)
:
AITextSession
;
destroy
(
)
:
void
;
prompt
(
input
)
:
Promise
<
string
>
;
promptStreaming
(
input
)
:
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
Theme
OS
Light
Dark
On This Page
clone
destroy
prompt
prompt
Streaming
LangChain.js - v0.2.8
langchain-anthropic
langchain-aws
langchain-azure-dynamic-sessions
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
upstash_ratelimit
chains/graph_qa/cypher
Loading...
Generated using
TypeDoc